-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61727/
-----------------------------------------------------------
(Updated Aug. 18, 2017, 7:41 a.m.)
Review request for Ambari and Vitalyi Brodetskyi.
Bugs: AMBARI-21753
https://issues.apache.org/jira/browse/AMBARI-21753
Repository: ambari
Description (updated)
-------
**STR**
1. Install IOP 4.2.5
2. Upgrade ambari 2.4.2 to 2.5.2
3. Upgrade IOP 4.2.5 to HDP 2.6.2
ambari repo build - <http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos
7-ppc/2.x/BUILDS/2.5.2.0-259/ambaribn.repo>
HDP stack - <http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7-ppc/2.x/B
UILDS/2.6.2.0-180/HDP-2.6.2.0-180.xml>
4. Try adding a new host to the existing cluster.
Error-
==========================
Creating target directory...
==========================
Command start time 2017-08-17 13:37:43
chmod: cannot access '/var/lib/ambari-agent/data': No such file or directory
Warning: Permanently added 'satya-iop-3.pub.pic2.ibm.com' (ECDSA) to the
list of known hosts.
Connection to satya-iop-3.pub.pic2.ibm.com closed.
SSH command execution finished
host=satya-iop-3.pub.pic2.ibm.com, exitcode=0
Command end time 2017-08-17 13:37:43
==========================
Copying ambari sudo script...
==========================
Command start time 2017-08-17 13:37:43
scp /var/lib/ambari-server/ambari-sudo.sh
host=satya-iop-3.pub.pic2.ibm.com, exitcode=0
Command end time 2017-08-17 13:37:43
==========================
Copying common functions script...
==========================
Command start time 2017-08-17 13:37:43
scp /usr/lib/python2.6/site-packages/ambari_commons
host=satya-iop-3.pub.pic2.ibm.com, exitcode=0
Command end time 2017-08-17 13:37:44
==========================
Copying create-python-wrap script...
==========================
Command start time 2017-08-17 13:37:44
scp /var/lib/ambari-server/create-python-wrap.sh
host=satya-iop-3.pub.pic2.ibm.com, exitcode=0
Command end time 2017-08-17 13:37:44
==========================
Copying OS type check script...
==========================
Command start time 2017-08-17 13:37:44
scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=satya-iop-3.pub.pic2.ibm.com, exitcode=0
Command end time 2017-08-17 13:37:44
==========================
Running create-python-wrap script...
==========================
Command start time 2017-08-17 13:37:44
Connection to satya-iop-3.pub.pic2.ibm.com closed.
SSH command execution finished
host=satya-iop-3.pub.pic2.ibm.com, exitcode=0
Command end time 2017-08-17 13:37:44
==========================
Running OS type check...
==========================
Command start time 2017-08-17 13:37:44
Cluster primary/cluster OS family is redhat7 and local/current OS family is
redhat-ppc7
Traceback (most recent call last):
File "/var/lib/ambari-agent/tmp/os_check_type1502977064.py", line 44, in
<module>
main()
File "/var/lib/ambari-agent/tmp/os_check_type1502977064.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.
Connection to satya-iop-3.pub.pic2.ibm.com closed.
SSH command execution finished
host=satya-iop-3.pub.pic2.ibm.com, exitcode=1
Command end time 2017-08-17 13:37:44
ERROR: Bootstrap of host satya-iop-3.pub.pic2.ibm.com fails because
previous action finished with non-zero exit code (1)
ERROR MESSAGE: Connection to satya-iop-3.pub.pic2.ibm.com closed.
STDOUT: Cluster primary/cluster OS family is redhat7 and local/current OS
family is redhat-ppc7
Traceback (most recent call last):
File "/var/lib/ambari-agent/tmp/os_check_type1502977064.py", line 44, in
<module>
main()
File "/var/lib/ambari-agent/tmp/os_check_type1502977064.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.
Connection to satya-iop-3.pub.pic2.ibm.com closed.
Diffs
-----
ambari-server/src/main/python/ambari_server/serverConfiguration.py f6f3f43
Diff: https://reviews.apache.org/r/61727/diff/1/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk