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

Creating a Downgrade From the Web Client Is Passing an Unsupported Property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • ambari-web
    • None

    Description

      When creating a downgrade, the web client is still passing IDs which are no longer supported:

      Bad request received: The properties [Upgrade/from_version] specified in the request or predicate are not supported for the resource type Upgrade.
      

      To initiate a downgrade, the following information can be passed:

      {
        "Upgrade": {
          "skip_failures": "false",
          "skip_service_check_failures": "false",
          "skip_prerequisite_checks": "true",
          "upgrade_type": "NON_ROLLING",
          "direction": "DOWNGRADE"
        }
      }
      

      Notice that there's no need no specify a version; the downgrade by nature must work off of the last failed upgrade.

      Attachments

        1. AMBARI-21103.patch
          2 kB
          Antonenko Alexander

        Activity

          People

            aantonenko Antonenko Alexander
            aantonenko Antonenko Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: