[
https://issues.apache.org/jira/browse/AMBARI-21434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16080289#comment-16080289
]
Andrii Babiichuk commented on AMBARI-21434:
-------------------------------------------
+1 for the patch
> UI - pass in param UpgradeChecks/target_stack to rolling_upgrade_checks
> endpoint
> --------------------------------------------------------------------------------
>
> Key: AMBARI-21434
> URL: https://issues.apache.org/jira/browse/AMBARI-21434
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.5.2
> Reporter: Andrii Tkach
> Assignee: Andrii Tkach
> Priority: Blocker
> Fix For: 2.5.2
>
> Attachments: AMBARI-21434.patch
>
>
> See AMBARI-21411
> The backend now needs an extra parameter when invoking the RU/EU PreChecks.
> E.g.,
> {noformat}
> curl -u admin:admin -H "X-Requested-By: ambari" -i -X GET
> 'http://localhost:8080/api/v1/clusters/c1/rolling_upgrades_check?fields=*&UpgradeChecks/repository_version=2.6.1.0-129&UpgradeChecks/upgrade_type=NON_ROLLING&UpgradeChecks/target_stack=HDP-2.6'
> {noformat}
> This new param is now required
> {noformat}
> UpgradeChecks/target_stack=<value>
> {noformat}
> in order to correctly run the PreChecks.
> This needs to go into the feature branch, which will later be merged into
> 2.5-maint
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)