You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Antonenko Alexander (JIRA)" <ji...@apache.org> on 2017/05/23 14:05:04 UTC

[jira] [Created] (AMBARI-21103) Creating a Downgrade From the Web Client Is Passing an Unsupported Property

Antonenko Alexander created AMBARI-21103:
--------------------------------------------

             Summary: Creating a Downgrade From the Web Client Is Passing an Unsupported Property
                 Key: AMBARI-21103
                 URL: https://issues.apache.org/jira/browse/AMBARI-21103
             Project: Ambari
          Issue Type: Bug
          Components: ambari-web
    Affects Versions: 3.0.0
            Reporter: Antonenko Alexander
            Assignee: Antonenko Alexander
             Fix For: 3.0.0


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

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

To initiate a downgrade, the following information can be passed:
{code}
{
  "Upgrade": {
    "skip_failures": "false",
    "skip_service_check_failures": "false",
    "skip_prerequisite_checks": "true",
    "upgrade_type": "NON_ROLLING",
    "direction": "DOWNGRADE"
  }
}
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)