After a successful SDDC Manager upgrade (e.g., from VCF 5.2.3 to 9.1), the Lifecycle Management (LCM) user interface may continue to display a "Failed" status for the associated package download.
Attempting to delete this bundle through the SDDC Manager UI results in a database or system error, preventing the removal of the stale entry.
VCF 5.2.x
VCF 9.x
This issue occurs when an SDDC Manager upgrade completes while an associated bundle download task remains in an orphaned or failed state.
The LCM database retains a stale record marking the product_id as failed. Because of this database status constraint, the standard UI task manager cannot purge or unlink the bundle.
To clear the cosmetic error and purge the orphaned bundle, follow these steps to manually update the LCM database and run the cleanup utility.
Warning: This command will make changes to your system. Review it carefully before running.
Log in to SDDC Manager: Access the SDDC Manager via SSH as user vcf and switch to root
su -
Locate the Bundle ID: Identify the bundle ID of the failed download in the UI. Click on the failed component and copy the bundle ID.
Execute the Cleanup Utility: Run the official SDDC Manager bundle cleanup utility to remove residual temporary files and un-index orphaned packages:
/opt/vmware/vcf/lcm/lcm-app/bin/bundle_cleanup.py --bundle_id <BUNDLE_ID>
Restart LCM Services: Apply changes and clear the cached state:
systemctl restart commonsvcs
systemctl restart lcm