On VCF on VxRail 3.7.1 or 3.7.2 environments upgrade bundles cannot be applied even after all of them have been downloaded
search cancel

On VCF on VxRail 3.7.1 or 3.7.2 environments upgrade bundles cannot be applied even after all of them have been downloaded

book

Article ID: 324111

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Symptoms:
  • All upgrade bundles have been downloaded from online depot but show up with the status of "Future" on the LCM Upgrade GUI.
  • Trying to upload the offline bundles produces the error "Invalid Software Compatibility Metadata Set" in  /var/log/vmware/vcf/lcm/lcm.log.


Environment

VMware Cloud Foundation on VxRail 3.7.x

Resolution

To resolve this issue and allow the upgrade bundles to be applied, complete the steps below.
  1. Open an SSH to the SDDC Manager VM and log in with the vcf user.
  2. Change to root user:
su -
  1. Edit the application-prod.properties file:
vi /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties
  1. Change lcm.core.enableManifestPolling to false.
  2. Save and close the file.
  3. Restart LCM:
systemctl restart lcm
  1. Download the attached softwareCompatibilitySets.json and partnerBundleMetadata.json files.
  2. Copy these files, using a File Transfer utility, to the SDDC Manager directory /nfs/vmware/vcf/nfs-mount/bundle/depot/local/.
  3. On the SSH session, change the ownership and permissions of the files:
cd /nfs/vmware/vcf/nfs-mount/bundle/depot/local/
chmod 755 softwareCompatibilitySets.json
chmod 755 partnerBundleMetadata.json
chown vcf_lcm:vcf softwareCompatibilitySets.json
chown vcf_lcm:vcf partnerBundleMetadata.json
  1. Change to vcf user:
su vcf
  1. Run the following curl commands:
curl -X PUT http://localhost/lcm/bundle/upload/compatibilitySets -H "Content-Type: application/json"

curl -X PUT http://localhost/lcm/bundle/upload/partnerBundleMetadata -H "Content-Type: application/json" 
 
  1. Open the SDDC Manager UI, the bundles will show applicable on the SDDC manager LCM page. Apply the upgrades in the order they become available so that the environment is completely on 3.8.
  2. Open an SSH to the SDDC Manager VM and log in with the vcf user.
  3. Change to root user:
su -
  1. Edit the application-prod.properties file:
vi /opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties
  1. Change lcm.core.enableManifestPolling to true.
  2. Save and close the file.
  3. Restart LCM:
systemctl restart lcm


Attachments

softwareCompatibilitySets get_app
partnerBundleMetadata get_app