[ 
https://issues.apache.org/jira/browse/AMBARI-12390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623742#comment-14623742
 ] 

Hudson commented on AMBARI-12390:
---------------------------------

SUCCESS: Integrated in Ambari-branch-2.1 #215 (See 
[https://builds.apache.org/job/Ambari-branch-2.1/215/])
AMBARI-12390. Confirm Hosts step fails with umask 027 and non-root 
ambari-server user (aonishuk) (aonishuk: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f28c2493e4a853cc9cadc5bd620b4225fe76a7fa)
* ambari-server/src/main/python/bootstrap.py


> 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.0
>
>
> **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)

Reply via email to