ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Grinenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-14364) Express Upgrade: Knox gateway restart failed during EU from 2.2.9 to 2.3.2 with customized service user accounts
Date Mon, 14 Dec 2015 11:06:46 GMT
Dmytro Grinenko created AMBARI-14364:
----------------------------------------

             Summary: Express Upgrade: Knox gateway restart failed during EU from 2.2.9 to
2.3.2 with customized service user accounts
                 Key: AMBARI-14364
                 URL: https://issues.apache.org/jira/browse/AMBARI-14364
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.2.0
            Reporter: Dmytro Grinenko
            Priority: Blocker
             Fix For: 2.2.0


*Steps:*
Setup HDP 2.2.9 cluster with Ambari; the cluster has HA enabled and setup with customized
service users for all services
Did EU from HDP 2.2.9 to 2.3.2.0

Result:
Observed during EU that Knox gateway restart failed with error:

{code}
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/KNOX/0.5.0.2.2/package/scripts/knox_gateway.py",
line 268, in <module>
    KnoxGateway().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 218, in execute
    method(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 496, in restart
    self.stop(env, upgrade_type=upgrade_type)
  File "/var/lib/ambari-agent/cache/common-services/KNOX/0.5.0.2.2/package/scripts/knox_gateway.py",
line 169, in stop
    user=params.knox_user,
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121,
in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line
238, in action_run
    tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
    tries=tries, try_sleep=try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in
_call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in
_call
    raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of '/usr/hdp/current/knox-server/bin/gateway.sh
stop' returned 1. Stopping Gateway with PID 32473 /usr/hdp/current/knox-server/bin/gateway.sh:
line 149: /usr/hdp/current/knox-server/logs/gateway.out: Permission denied
failed.
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message