After removing old vxRail bundles from SDDC Manager prior to upgrading vxRail to a new version we get the following errors in the SDDC Manager UI:
Retrieving available bundles failed. Unable to retrieve aggregated domains upgrade status: Encountered fetching http://127.0.0.1/lcm/inventory/upgrades api - Cannot invoke "com.vmware.evo.sddc.lcm.model.bundle.Bundle.getBundleElements()" because "bundle" is null
Retrieving all applicable bundles failed. Encountered fetching http://127.0.0.1/lcm/inventory/upgrades api - Cannot invoke "com.vmware.evo.sddc.lcm.model.bundle.Bundle.getBundleElements()" because "bundle" is null
VCF 5.2.x
For the Domains in the environment the TargetUpgradeVersion was set to 8.0.322 for vxRail but this is the bundle that the customer removed.
After removing it, bundle management on SDDC Manager could not load any further bundles
Update the TargetUpgradeVersion for the Domains -
1. Login to the SDDC manager UI.
2. Navigate to the API explorerDeveloper Center > API Explorer > TargetUpgradeVersion
3. Record the domain IDsGET /v1/releases/domains
"domainId": "9b4f221f-0cf8-450f-8e59-a1dc0e3d7276","patches": [ ][ "INFORMATION EXPECTED TO BE LISTED HERE - THIS IS WHAT NEEDS TO BE REMOVED"]
4. Delete the target releaseDELETE /v1/releases/domains/idfromstep3
5. Repeat this process for all of the domains