-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36432/
-----------------------------------------------------------
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