----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/55859/#review162720 -----------------------------------------------------------
ambari-server/conf/unix/create-python-wrap.sh (line 1) <https://reviews.apache.org/r/55859/#comment234044> No shebang line? Ommitted on purpose? ambari-server/conf/unix/create-python-wrap.sh (line 23) <https://reviews.apache.org/r/55859/#comment234045> Wy the comma? ambari-server/conf/unix/create-python-wrap.sh (line 26) <https://reviews.apache.org/r/55859/#comment234046> Should there be a try ... catch in to make it more solid? - Sid Wagle On Jan. 23, 2017, 10:16 p.m., Vitalyi Brodetskyi wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/55859/ > ----------------------------------------------------------- > > (Updated Jan. 23, 2017, 10:16 p.m.) > > > Review request for Ambari, Andrew Onischuk, Sumit Mohanty, and Sid Wagle. > > > Bugs: AMBARI-19684 > https://issues.apache.org/jira/browse/AMBARI-19684 > > > Repository: ambari > > > Description > ------- > > Agent registration/Confirm hosts step on Ubuntu16 fails with the below error > {code} > ERROR: Bootstrap of host ctr-e115-1484872830066-0022-01-000005.hwx.site fails > because previous action finished with non-zero exit code (1) > ERROR MESSAGE: Connection to ctr-e115-1484872830066-0022-01-000005.hwx.site > closed. > > STDOUT: Cluster primary/cluster OS family is ubuntu16 and local/current OS > family is debianstretch/sid > Traceback (most recent call last): > File "/var/lib/ambari-agent/tmp/os_check_type1484891600.py", line 44, in > <module> > main() > File "/var/lib/ambari-agent/tmp/os_check_type1484891600.py", line 40, in > main > raise Exception("Local OS is not compatible with cluster primary OS > family. Please perform manual bootstrap on this host.") > Exception: Local OS is not compatible with cluster primary OS family. Please > perform manual bootstrap on this host. > {code} > > > Diffs > ----- > > ambari-server/conf/unix/create-python-wrap.sh PRE-CREATION > ambari-server/src/main/assemblies/server.xml 5055d46 > ambari-server/src/main/python/bootstrap.py e576fc8 > ambari-server/src/main/python/os_check_type.py f890504 > ambari-server/src/test/python/TestBootstrap.py 8356f91 > > Diff: https://reviews.apache.org/r/55859/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Vitalyi Brodetskyi > >
