You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrii Tkach (JIRA)" <ji...@apache.org> on 2017/07/10 12:47:00 UTC

[jira] [Created] (AMBARI-21434) UI - pass in param UpgradeChecks/target_stack to rolling_upgrade_checks endpoint

Andrii Tkach created AMBARI-21434:
-------------------------------------

             Summary: 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


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)