With all the recent releases for VCF i noticed that my file system was getting full and once the updates are complete i wanted to reclaim all that used space.

The first step was to identify the Bundle ID. We can find this by going to the bundle itself and checking out the details by clicking on View Details

In the Bundle Management section, a Download History tab shows details of VMware Software Update 5.1.1.0.

For example this specific Bundle ID is 86da0038-b68d-4368-8be1-576568a68c54

UI shows VMware Software Update details, including Bundle ID and version.

At this point i had to log in to the sddc manager and issue the following command:

/opt/vmware/vcf/lcm/lcm-app/bin/bundle_cleanup.py 86da0038-b68d-4368-8be1-576568a68c54

Log shows successful bundle cleanup for ID ‘86da0038-b68d-4368-8be1-576568a68c54’.

We can also specify multiple bundle IDs:

/opt/vmware/vcf/lcm/lcm-app/bin/bundle_cleanup.py 96368be7-554c-40d1-81ef-3ad0b47c16f0 7d5af5d8-0f01-4fc5-b22b-c805f5cd00fb cf4ab52f-b999-4f6a-8c29-2db829110925

The image shows a terminal output of a bundle cleanup process for VMware VCF, indicating successful completion.

I hope this helps