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

PATCH and MAINT Repositories Should Indicate that they can be Reverted

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • None
    • None

    Description

      In the current PU UI, the revert button is shown for any PATCH type repository. The backend should compute whether a version can be reverted.

      The backed should return a value, such as ClusterStackVersions/supports_revert which clients, such as the web client, can use.

      Example REST Changes
      {
        "ClusterStackVersions": {
          "cluster_name": "c1",
          "id": 51,
          "repository_version": 51,
          "revert_upgrade_id": 1,
          "stack": "HDP",
          "supports_revert": true,
          "version": "2.6"
        }
      }
      

      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