[
https://issues.apache.org/jira/browse/AMBARI-12241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14610976#comment-14610976
]
Hudson commented on AMBARI-12241:
---------------------------------
FAILURE: Integrated in Ambari-branch-2.1 #161 (See
[https://builds.apache.org/job/Ambari-branch-2.1/161/])
AMBARI-12241. with non-root agent RU Knox Gateway restart fails (aonishuk)
(aonishuk:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b71c0a9d97fd70004e253721d717c3faf371890b)
*
ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/knox_gateway.py
* ambari-server/src/test/python/stacks/2.2/KNOX/test_knox_gateway.py
> with non-root agent RU Knox Gateway restart fails
> -------------------------------------------------
>
> Key: AMBARI-12241
> URL: https://issues.apache.org/jira/browse/AMBARI-12241
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.1.0
>
>
> 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 217, in execute
> method(env)
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 442, in restart
> self.pre_rolling_restart(env)
> File
> "/var/lib/ambari-agent/cache/common-services/KNOX/0.5.0.2.2/package/scripts/knox_gateway.py",
> line 133, in pre_rolling_restart
> Execute("cp %s %s" % (conf_tar_source_path, conf_tar_dest_path))
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line
> 157, in __init__
> self.env.run()
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
> line 152, in run
> self.run_action(resource, action)
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
> line 118, in run_action
> provider_action()
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
> line 254, 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 'cp
> /tmp/knox-upgrade-backup/knox-conf-backup.tar
> /etc/knox/conf/knox-conf-backup.tar' returned 1. cp: cannot open
> `/tmp/knox-upgrade-backup/knox-conf-backup.tar' for reading: Permission denied
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)