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

Previous Upgrade In Progress Pre-Req Check Incorrectly Detects ABORTED Upgrade

    XMLWordPrintableJSON

Details

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

    Description

      Due to the fix made for
      AMBARI-19053, the prereq check for previously created needs to be corrected for determining the downgrade that matched the failed upgrade.

      The original logic for this check was overly complex (and kind of wrong). It ignored the state of the downgrade if one existed. In reality, we should care about the "last" downgrade and what its state is. Additionally, checking for `FinalizeUpgradeAction` as part of the commands in an upgrade is problematic for upgrades which may not have this command on different stacks.

      Attachments

        1. AMBARI-19347.patch
          21 kB
          Jonathan Hurley

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: