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

Backend - Run EU/RU PreChecks during a cross-stack upgrade

    XMLWordPrintableJSON

Details

    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

        1. AMBARI-21411.patch
          26 kB
          Alejandro Fernandez

        Issue Links

          Activity

            People

              afernandez Alejandro Fernandez
              afernandez Alejandro Fernandez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: