[
https://issues.apache.org/jira/browse/AMBARI-21103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antonenko Alexander resolved AMBARI-21103.
------------------------------------------
Resolution: Fixed
committed to branch-feature-AMBARI-12556
> 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
>
> Attachments: AMBARI-21103.patch
>
>
> 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)