[
https://issues.apache.org/jira/browse/AMBARI-12390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Nettleton updated AMBARI-12390:
--------------------------------------
Fix Version/s: (was: 2.1.0)
2.1.1
> Confirm Hosts step fails with umask 027 and non-root ambari-server user
> -----------------------------------------------------------------------
>
> Key: AMBARI-12390
> URL: https://issues.apache.org/jira/browse/AMBARI-12390
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.1.1
>
>
> **STR**
> * Reproduced on Suse 11sp3 with umask 027
> * Install ambari-server
> * Setup ambari-server as non-root user
> * Install agents running as root (agent should be present on ambari-server
> node)
> * Install HDP
> * Add host
> **Actual result**
> Confirm of hosts fails
>
>
>
> ==========================
> Creating target directory...
> ==========================
>
> Command start time 2015-07-10 13:30:36
>
> Connection to ip-172-31-18-146.ec2.internal closed.
> SSH command execution finished
> host=ip-172-31-18-146.ec2.internal, exitcode=0
> Command end time 2015-07-10 13:30:37
>
> ==========================
> Copying common functions script...
> ==========================
>
> Command start time 2015-07-10 13:30:37
>
> /usr/lib/python2.6/site-packages/ambari_commons/urllib_handlers.pyc:
> Permission denied
> /usr/lib/python2.6/site-packages/ambari_commons/shell.pyc: Permission
> denied
> /usr/lib/python2.6/site-packages/ambari_commons/yaml_utils.pyc:
> Permission denied
> scp /usr/lib/python2.6/site-packages/ambari_commons
> host=ip-172-31-18-146.ec2.internal, exitcode=1
> Command end time 2015-07-10 13:30:37
>
> ERROR: Bootstrap of host ip-172-31-18-146.ec2.internal fails because
> previous action finished with non-zero exit code (1)
> ERROR MESSAGE:
> /usr/lib/python2.6/site-packages/ambari_commons/urllib_handlers.pyc:
> Permission denied
> /usr/lib/python2.6/site-packages/ambari_commons/shell.pyc: Permission
> denied
> /usr/lib/python2.6/site-packages/ambari_commons/yaml_utils.pyc:
> Permission denied
>
> STDOUT:
> /usr/lib/python2.6/site-packages/ambari_commons/urllib_handlers.pyc:
> Permission denied
> /usr/lib/python2.6/site-packages/ambari_commons/shell.pyc: Permission
> denied
> /usr/lib/python2.6/site-packages/ambari_commons/yaml_utils.pyc:
> Permission denied
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)