Cannot invoke "com.vmware.evo.sddc.lcm.model.bundle.Bundle.getBundleElements()" because "bundle" is null after deleting vxRail Bundle
search cancel

Cannot invoke "com.vmware.evo.sddc.lcm.model.bundle.Bundle.getBundleElements()" because "bundle" is null after deleting vxRail Bundle

book

Article ID: 400219

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

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

Environment

VCF 5.2.x

Cause

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

Resolution

Update the TargetUpgradeVersion for the Domains -

1. Login to the SDDC manager UI.

2. Navigate to the API explorer
Developer Center > API Explorer > TargetUpgradeVersion

3. Record the domain IDs
GET /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 release
DELETE /v1/releases/domains/idfromstep3

5. Repeat this process for all of the domains