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

Upgrades Placed Into ABORTED Status Show As COMPLETED

    XMLWordPrintableJSON

Details

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

    Description

      When placing a stack upgrade request into the ABORTED state, Ambari calculates the stages and overall request as COMPLETED even though the tasks are actually ABORTED.

      This prevents that request from being placed back into the PENDING state.

      • Now this upgrade can be aborted:
        PUT api/v1/clusters/<cluster>/upgrades/21
        {
          "Upgrade": {
            "request_status": "ABORTED"
          }
        }
        
      • At this point, experimental mode can be enabled to work with Ambari. When finalize is ready, the same upgrade/request can be placed back into a PENDING status:
        PUT api/v1/clusters/<cluster>/upgrades/21
        {
          "Upgrade": {
            "request_status": "PENDING"
          }
        }
        

      Attachments

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