ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21753) Unable to add new host to the upgraded PPC cluster due to exception:Local OS is not compatible with cluster primary OS family
Date Fri, 18 Aug 2017 07:42:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-21753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Onischuk updated AMBARI-21753:
-------------------------------------
    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.com' (ECDSA) to the list of known hosts.
    Connection to satya-iop-3.pub.pic2.com closed.
    SSH command execution finished
    host=satya-iop-3.pub.pic2.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.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.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.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.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.com closed.
    SSH command execution finished
    host=satya-iop-3.pub.pic2.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.com closed.
    SSH command execution finished
    host=satya-iop-3.pub.pic2.com, exitcode=1
    Command end time 2017-08-17 13:37:44
    
    ERROR: Bootstrap of host satya-iop-3.pub.pic2.com fails because previous action finished
with non-zero exit code (1)
    ERROR MESSAGE: Connection to satya-iop-3.pub.pic2.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.com closed.
    



  was:
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.
    




> Unable to add new host to the upgraded PPC cluster due to exception:Local OS is not compatible
with cluster primary OS family
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-21753
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21753
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.5.2
>
>         Attachments: AMBARI-21753.patch
>
>
> **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.com' (ECDSA) to the list of known
hosts.
>     Connection to satya-iop-3.pub.pic2.com closed.
>     SSH command execution finished
>     host=satya-iop-3.pub.pic2.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.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.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.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.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.com closed.
>     SSH command execution finished
>     host=satya-iop-3.pub.pic2.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.com closed.
>     SSH command execution finished
>     host=satya-iop-3.pub.pic2.com, exitcode=1
>     Command end time 2017-08-17 13:37:44
>     
>     ERROR: Bootstrap of host satya-iop-3.pub.pic2.com fails because previous action finished
with non-zero exit code (1)
>     ERROR MESSAGE: Connection to satya-iop-3.pub.pic2.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.com closed.
>     



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message