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

Pass Repository ID To Upgrade Prechecks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.3
    • 2.5.3
    • None
    • None

    Description

      When querying for upgrade pre-checks, the target stack version and name are required now. It's simple to just supply the repository ID in this case as it contains all relevant information and prevents a NamedQuery lookup.

      The new query should look like:

      GET api/v1/clusters/c1/rolling_upgrades_checkfields=*&
      UpgradeChecks/repository_version_id=2&
      UpgradeChecks/upgrade_type=ROLLING
      

      Attachments

        1. AMBARI-21552.patch
          72 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: