[
https://issues.apache.org/jira/browse/AMBARI-21103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16032038#comment-16032038
]
Hudson commented on AMBARI-21103:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7555 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/7555/])
AMBARI-21103. Creating a Downgrade From the Web Client Is Passing an (hiveww:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a436eb2f6f5b7c36d370bcc24de6edafd35ab72a])
* (edit) ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js
* (edit) ambari-web/app/utils/ajax/ajax.js
* (edit)
ambari-web/test/controllers/main/admin/stack_and_upgrade_controller_test.js
> 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)