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

Refactor host_version Tracking for MPacks

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • None

    Description

      As part of the ongoing effort to remove repository version, the ability to track installation of management packs must change as well. We previously were tracking the installation of a repository on every host, marking it as OUT_OF_SYNC, CURRENT, etc, depending on the state.

      With management pack meta-RPMs, things get quite a bit easier. We no longer have to worry about specific versions being reported back per install nor do we need to worry about per-component installation states. Instead, there is only the need to track which mpacks have been installed on a given host.

      This also allows us to simplify the states that we track. The proposal is to track the following states:

      • NOT_REQUIRED
      • NOT_INSTALLED
      • INSTALLING
      • INSTAL_FAILED
      • INSTALLED

      The NOT_REQUIRED state might actually not be needed. It's going to depend on how what queries might be needed to retrieve information about service groups (and their associated mpacks).

      Attachments

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              jonathanhurley Jonathan Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m