Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-21434

UI - pass in param UpgradeChecks/target_stack to rolling_upgrade_checks endpoint

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.2
    • 2.5.2
    • ambari-web
    • None

    Description

      See AMBARI-21411
      The backend now needs an extra parameter when invoking the RU/EU PreChecks.
      E.g.,

      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'
      

      This new param is now required

      UpgradeChecks/target_stack=<value>
      

      in order to correctly run the PreChecks.

      This needs to go into the feature branch, which will later be merged into 2.5-maint

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            atkach Andrii Tkach
            atkach Andrii Tkach
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment