Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.5.2
Description
During a cross-stack upgrade, the PreChecks need to be able to run.
STR:
- Install BigInsights 4.2.5
- Upgrade Ambari to 2.5
- Register bits for HDP 2.6
- Install bits for HDP 2.6
- Attempt to run PreChecks
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/upgrade_pack=nonrolling-upgrade-to-hdp-2.6
This returns,
{ "status" : 500, "message" : "org.apache.ambari.server.controller.spi.SystemException: Repository version null was not found" }
because in UpgradeHelper.java it cannot find the upgrade pack.
The new API will requiring passing in a new argument, e.g., UpgradeChecks/target_stack=HDP-2.6
Attachments
Attachments
Issue Links
- links to