When navigating to Bundle Management in the SDDC Manager UI, the following error message is displayed:
LcmException: LCM crashed during bundle downloadThe LCM service may remain in a 'Running' status, but users are unable to view or manage specific upgrade bundles, which can block the VMware Cloud Foundation (VCF) upgrade flow.
VMware Cloud Foundation (VCF) 5.x
This issue occurs when bundle entries in the SDDC database are in an inconsistent state (e.g., FAILED, PENDING, or DOWNLOAD_PENDING) due to interrupted downloads, network timeouts, or service restarts during a download task. These entries prevent the LCM service from successfully parsing the bundle graph.
To resolve this issue, you must identify the problematic bundles in the database and remove them using the Bundle Cleanup Utility.
SSH to the SDDC Manager appliance as the vcf user and switch to root. Run the following command to query the LCM database for all bundles that are not in a 'SUCCESS' state:
Alternatively, you can grep the LCM debug logs to find bundle IDs that caused recent parsing failures:
Before proceeding, ensure you have a fresh snapshot of the SDDC Manager VM.
For each bundle_id identified in Step 1, run the cleanup script:
To clean up multiple bundles simultaneously, you can pass multiple IDs separated by spaces.
python /opt/vmware/vcf/lcm/lcm-app/bin/bundle_cleanup.py "<ID_1>" "<ID_2>"Restart the service to refresh the database state and the UI:
Verify that the LcmException error has cleared from the SDDC Manager UI.