Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-5362

Automatic bootstrap failed on CentOS 6.5 (No module named common_functions)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.5.1
    • ambari-agent
    • None

    Description

      SSH bootstrap of agents failed on CentOS 6.5.

      ==========================
      Copying OS type check script...
      ==========================
      
      Could not create directory '/root/.ssh'.
      Warning: Permanently added 'c6502.ambari.apache.org,192.168.65.102' (RSA) to the list of known hosts.
      scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
      host=c6502.ambari.apache.org, exitcode=0
      
      ==========================
      Running OS type check...
      ==========================
      Traceback (most recent call last):
        File "/tmp/os_check_type1396641340.py", line 22, in <module>
          from common_functions import OSCheck
      ImportError: No module named common_functions
      
      Connection to c6502.ambari.apache.org closed.
      SSH command execution finished
      host=c6502.ambari.apache.org, exitcode=1
      
      ERROR: Bootstrap of host c6502.ambari.apache.org fails because previous action finished with non-zero exit code (1)
      ERROR MESSAGE: tcgetattr: Invalid argument
      Connection to c6502.ambari.apache.org closed.
      
      STDOUT: Traceback (most recent call last):
        File "/tmp/os_check_type1396641340.py", line 22, in <module>
          from common_functions import OSCheck
      ImportError: No module named common_functions
      
      Connection to c6502.ambari.apache.org closed.
      

      Attachments

        1. AMBARI-5362.patch
          3 kB
          Siddharth Wagle

        Activity

          People

            aonishuk Andrew Onischuk
            swagle Siddharth Wagle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: