You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2017/08/18 07:35:26 UTC
Review Request 61727: Unable to add new host to the upgraded PPC
cluster due
to exception:Local OS is not compatible with cluster primary OS family
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61727/
-----------------------------------------------------------
Review request for Ambari and Vitalyi Brodetskyi.
Bugs: AMBARI-21753
https://issues.apache.org/jira/browse/AMBARI-21753
Repository: ambari
Description
-------
Make sure you are connected to IBM VPN. The error is in RHEL7 PPC of IBM
Cluster details:-- <http://172.31.197.194:8081>
172.31.197.194 satya-iop-2.pub.pic2.ibm.com
172.31.197.209 satya-iop-6.pub.pic2.ibm.com
172.31.197.205 satya-iop-5.pub.pic2.ibm.com
172.31.197.200 satya-iop-8.pub.pic2.ibm.com
172.31.197.195 satya-iop-1.pub.pic2.ibm.com
**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
Re: Review Request 61727: Unable to add new host to the upgraded PPC
cluster
due to exception:Local OS is not compatible with cluster primary OS family
Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61727/#review183208
-----------------------------------------------------------
Ship it!
Ship It!
- Vitalyi Brodetskyi
On Сер. 18, 2017, 7:41 до полудня, Andrew Onischuk wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61727/
> -----------------------------------------------------------
>
> (Updated Сер. 18, 2017, 7:41 до полудня)
>
>
> Review request for Ambari and Vitalyi Brodetskyi.
>
>
> Bugs: AMBARI-21753
> https://issues.apache.org/jira/browse/AMBARI-21753
>
>
> Repository: ambari
>
>
> Description
> -------
>
> **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
>
>
Re: Review Request 61727: Unable to add new host to the upgraded PPC
cluster
due to exception:Local OS is not compatible with cluster primary OS family
Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
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