Retrieving available bundles failed. Unable to retrieve aggregated domains upgrade status: Encountered fetching http://127.0.0.1/lcm/inventory/upgrades api - Request failed with status code 500Retrieving all applicable bundles failed. Encountered fetching http://127.0.0.1/lcm/inventory/upgrades api - Request failed with status code 500
/var/log/vmware/vcf/lcm/lcm.log has events as shown below: DEBUG [vcf_lcm,6849c02663fbce4ed8c740223d304d3a,ad70] [c.v.e.s.l.s.v.i.VvsSddcProductTypeHandler,Scheduled-3] SDDC manager version considered for VVS VMW bundles availability check for domain 29f0369a-5657-4aa1-b68f-d818142a51b6: {"productType":"SDDC_MANAGER","version":{"version":"5.2.1.2-24690695"}}DEBUG [vcf_lcm,6849c02663fbce4ed8c740223d304d3a,ad70] [c.v.e.s.l.s.v.i.BomBundlesAvailabilityServiceImpl,Scheduled-3] validating vxrail bundle path [null]DEBUG [vcf_lcm,6849c02663fbce4ed8c740223d304d3a,ad70] [c.v.e.s.l.d.c.m.LcmManifestClientImpl,Scheduled-3] Found manifest with version 1 and sequence number 101
DEBUG [vcf_lcm,6849c02663fbce4ed8c740223d304d3a,ad70] [c.v.e.s.l.s.i.LcmManifestServiceImpl,Scheduled-3] Current vcfWithVxRailDomainVersions map from inventory: {5.2.1.0=[8.0.320-28921695, 8.0.310-28809519]}DEBUG [vcf_lcm,6849c02663fbce4ed8c740223d304d3a,ad70] [c.v.e.s.l.s.i.LcmManifestServiceImpl,Scheduled-3] VxRail include list for version: 5.2.1.0 : [8.0.310-28809519, 8.0.310-28809519]DEBUG [vcf_lcm,6849c02663fbce4ed8c740223d304d3a,ad70] [c.v.e.s.l.s.i.UpgradeSequencerServiceImplPreferred,Scheduled-3] Upgrade order is not defined for target release 5.2.1.0 or BOM is customized:'true'. Using the default upgrade sequenceERROR [vcf_lcm,6849c02663fbce4ed8c740223d304d3a,e8ef] [c.g.common.eventbus.EventBus.default,Scheduled-3] Exception thrown by subscriber method recieveMessage(com.vmware.evo.sddc.lcm.model.task.AbstractLcmControllableScheduledTask) on subscriber com.vmware.evo.sddc.lcm.core.scheduler.BundleDownloadScheduler@636ee65a when dispatching event: com.vmware.evo.sddc.lcm.core.scheduler.BundleDownloadScheduler@636ee65ajava.lang.NullPointerException: null at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
VCF 5.2.1
VCF 5.2.2
This issue can occur due to missing of VxRail version 8.0.320-28921695 in the depot as Flex-BOM support for this VxRail version has been removed due to a critical bug on VxRail. It can also occur if there are stale Upgrade plans left undeleted.
NOTE: Take a snapshot of the SDDC Manager appliance before making the below changes:
DELETE /v1/releases/domains/{domain_id} for each domain.systemctl restart lcm
1. ssh to sddc manager
2. su
3. psql -h localhost -U postgres lcm -c 'truncate domain'