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

Upgrades Placed Into ABORTED Status Show As COMPLETED

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment