Uploaded image for project: 'Ambari'
  1. Ambari
  2. 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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.2
    • Component/s: None
    • Labels:
      None

      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.

        Attachments

        1. AMBARI-21753.patch
          0.8 kB
          Andrew Onischuk

          Issue Links

            Activity

              People

              • Assignee:
                aonishuk Andrew Onischuk
                Reporter:
                aonishuk Andrew Onischuk
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: