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

Usability: bootstrapping hosts shows "Preparing" without any information and seems stuck

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • ambari-server
    • None

    Description

      This is a regression introduced in 2.0.0.
      When doing SSH bootstrap of hosts via Install Wizard, the hosts are shown as "Preparing". When you click on the host, no information shows up. It gets stuck in this state until "Registering".
      In 1.7.0, "Preparing" state was very brief and immediately switched to "Installing".
      This is a BE issue.
      API returns "RUNNING" without any information when installing Ambari Agent on the hosts.

      This issue caused by absent of propagation fail of runing bootstrap.py (server side) to HostStatus which are pooled by UI.
      So If bootstrap.py has syntax errors or fails while imports python modules it cant create *.log and *.done files, so java code can wait infinitely until *.done file will be created.
      So solution of this issue is to propagate fatal errors of bootstrap.py to hostStatus info. In this case, setup of agents will fail and root cause of issue will be sent to UI

      Attachments

        1. AMBARI-10294_additional.patch
          6 kB
          Dmitry Lysnichenko
        2. AMBARI-10294.2.patch
          4 kB
          Dmitry Lysnichenko
        3. AMBARI-10294.patch
          4 kB
          Dmitry Lysnichenko

        Activity

          People

            dmitriusan Dmitry Lysnichenko
            dmitriusan Dmitry Lysnichenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: