Install bundles for future VCF versions are available for download
search cancel

Install bundles for future VCF versions are available for download

book

Article ID: 324792

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Symptoms:
  • Even after downloading VRSLCM install bundle, VRSLCM deployment is not shown as available and the UI message is prompting for downloading the install bundle.
  • After downloading the install bundles for WSA, VRA, VROPS or VRLI on SDDC Manager, the binary sync functionality in vRealize Suite Lifecycle Manager does not recognize and does not transfer the images.
  • Some bundles are downloaded, but the errors regarding the missing images are confusing.


Environment

VMware Cloud Foundation 4.x

Cause

SDDC manager and vRealize Suite Lifecycle Manager can work with specific corresponding versions of the products. At the same time, SDDC manager does not provide any restrictions and allows any install bundles to be available for download. If multiple install bundles are downloaded, the latest version of the product is used. If SDDC manager is incompatible with this new version, the discovery of the image fails.

Resolution

This is a known issue affecting VMware Cloud Foundation 4.x versions. 
VMware engineering is aware of this issue and is working to fix it in a future release.

Workaround:
To work around this issue:
  1. Ensure that all downloaded bundles correspond to the current VCF version.
  2. Clean up the bundle if there are "future" install bundles. 
    1. Find the Bundle ID you want to delete from the API.
    2. Delete the Bundle using the script on the SDDC Manager Appliance


a) Finding the Bundle ID you want to delete from the API:

On your SDDC Manager:

  1. Click Development Center > API Explorer.
  2. Expand APIs for managing bundles > GET command.
image.png
  1. Ignore the empty fields and click EXECUTE. 
  2. Click DOWNLOAD or COPY JSON to copy the response output. 
  3. Open the file to find your Bundle ID within the output. Look for the top-level ID of the JSON block, and ensure that this bundle's downloadStatus is SUCCESFUL.
Deleting the Bundle using the script on the SDDC Manager Appliance:
  1. SSH to your SDDC Manager and elevate to root.

# su
{Enter the password to elevate to root}
# /opt/vmware/vcf/lcm/lcm-app/bin/bundle_cleanup.py {Bundle_id}

Example:

# /opt/vmware/vcf/lcm/lcm-app/bin/bundle_cleanup.py f004390e-26be-4690-9d7b-d447860e3169

When the script has run completely, you see below output in  the /var/log/vmware/vcf/lcm/bundle_cleanup.log file:
 

2021-03-08 12:18:31,809 [INFO] root: Performing cleanup for bundle with IDs : [' f004390e-26be-4690-9d7b-d447860e3169']
2021-03-08 12:18:31,809 [INFO] root: Execute cmd: psql --host=localhost -U postg res -d lcm -tc "select count(*) from upgrade where upgrade_status in ('INPROGRES S','CANCELLING');"
2021-03-08 12:18:31,848 [INFO] root: b' 0\n'
.....
.....
.....
2021-03-08 12:18:32,990 [INFO] root: Bundle with ID : f004390e-26be-4690-9d7b-d4 47860e3169 not found in partner_bundle_metadata table
2021-03-08 12:18:32,991 [INFO] root: Starting LCM service.
2021-03-08 12:18:32,991 [INFO] root: Execute cmd: systemctl start lcm
2021-03-08 12:18:33,135 [INFO] root: RC: 0
2021-03-08 12:18:33,136 [INFO] root: Out:
  1. Go back into your SDDC Manager UI, and click the Bundle Management page to ensure the bundle has been deleted.

Note: It will take a few minutes for the Bundle services to restart, and you may see the message “Depot still initializing”.