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

The image shows bundle details for VMware vCenter Server 7.0.0.10600-16620007, released on 08/06/2020, with an 8 GB size.

For example this specific Bundle ID is ee194251-9fe4-4729-9c29-ca5172acffc6

Bundle Management UI shows details of VMware vCenter Server 7.0.0c install bundle, including version, severity, and Bundle ID ee194251-9fe4-4729-9c29-ca5172acffc6.

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 ee194251-9fe4-4729-9c29-ca5172acffc6

Log shows cleanup of VCF bundle with ID ‘06970cd8-def6-4337-a99c-a3917f5db976’, checking upload/download IDs.

We can also specify multiple bundle IDs:

/opt/vmware/vcf/lcm/lcm-app/bin/bundle_cleanup.py 168ee409-d2b7-40e5-9d77-1dc3cec75e07 1f44ba0a-bf48-493e-a92b-bd791a201c12

I hope this helps