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

Upgrade: Package Install stuck in "Installing" state forever

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2.2, 2.4.1
    • 2.5.0
    • ambari-server
    • None

    Description

      Install Packages part of the upgrade got stuck in the "Installing" state forever.

      Steps to reproduce:

      1. Install Ambari 2.4.1 with HDP 2.4.0.0 on at least 3 hosts
      2. Register a repo for HDP 2.4+ or 2.5
      3. Modify the ambari properties "agent.package.parallel.commands.limit=1" and "agent.auto.cache.update=false"
      4. Modify /var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py such as the def install_packages method always returns with 1 on at least 2 agents. Also delete the /var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.pyo file on these agents.
      5. Restart the agents to pick up the modified install_packages.py
      6. Restart ambari server
      7. Install bits for HDP 2.5

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stoader Sebastian Toader
            stoader Sebastian Toader
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment