Resolving "Failed" SDDC Manager Bundle Deletion Errors Following Upgrade
search cancel

Resolving "Failed" SDDC Manager Bundle Deletion Errors Following Upgrade

book

Article ID: 450178

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

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.


Environment

VCF 5.2.x
VCF 9.x

Cause

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.

Resolution

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.

  1. Log in to SDDC Manager: Access the SDDC Manager via SSH as user vcf and switch to root

    su -
    
  2. 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.

  3. 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>
    
  4. Restart LCM Services: Apply changes and clear the cached state:

    systemctl restart commonsvcs
    systemctl restart lcm

Additional Information

Verification

  1. Log in to the SDDC Manager UI.
  2. Navigate to Inventory > Lifecycle Management > Bundles.
  3. Verify that the failed bundle is no longer listed and the cosmetic error is cleared.