You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2015/12/14 14:48:46 UTC

[jira] [Assigned] (AMBARI-14364) Express Upgrade: Knox gateway restart failed during EU from 2.2.9 to 2.3.2 with customized service user accounts

     [ https://issues.apache.org/jira/browse/AMBARI-14364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Lysnichenko reassigned AMBARI-14364:
-------------------------------------------

    Assignee: Dmitry Lysnichenko

> 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: trunk, 2.2.0
>            Reporter: Dmytro Grinenko
>            Assignee: Dmitry Lysnichenko
>            Priority: Blocker
>             Fix For: trunk, 2.2.0
>
>         Attachments: AMBARI-14364.patch
>
>
> *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)