ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Re: Review Request 36432: Confirm Hosts step fails with umask 027 and non-root ambari-server user
Date Sun, 12 Jul 2015 09:00:54 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36432/#review91405
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On July 12, 2015, 8:48 a.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/36432/
> -----------------------------------------------------------
> 
> (Updated July 12, 2015, 8:48 a.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-12390
>     https://issues.apache.org/jira/browse/AMBARI-12390
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> **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
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/python/bootstrap.py 436d631 
> 
> Diff: https://reviews.apache.org/r/36432/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message