During an upgrade attempt using a modified VxRail 8.0.322 composite bundle (intended to remove the vxrail-port-lldp VIB), the SDDC Manager failed to recognize the bundle due to a checksum mismatch.
You may observe the upgrade attempt result with the following Error:
"#### - patch file 1MFHV_VxRail-8.0.322-Composite-Upgrade-Slim-Package-for-8.0.x.zip checksum <alphanumeric checksum value> does NOT match with the element checksum <alphanumeric checksum value>."
Note: The alphanumeric checksum value will be different for each VCF instance/environment.
This issue occurred after the bundle was modified to avoid applying the vxrail-port-lldp VIB, which may cause network connectivity issues with Cisco switches.
VCF on VxRail 5.x
The root cause was a cached checksum from the original VxRail 8.0.322 bundle persisting within the SDDC Manager’s database, conflicting with the checksum of the modified bundle. The standard upgrade process did not properly clear this cached reference.
The following steps are required to resolve the checksum mismatch and allow the SDDC Manager to accept the modified bundle:
1. Clean Up Existing Bundle Data: Execute the bundle_cleanup.py script to remove the cached checksum information for the older 8.0.322 bundle from the SDDC Manager’s database:
python /opt/vmware/vcf/lcm/lcm-app/bin/bundle_cleanup.py VXRAIL8-0-322-290209901MFHV_VxRail-8-0-322-Composite-Upgrade-Slim-Package-for-8-0-x-zip
2. Modify verify_bundle_signature.py: Modify the /etc/vmware-marvin/scripts/lcm/scripts/verify_bundle_signature.py file on each VxRail Manager to bypass checksum verification for the modified bundle. This involves:
3. Bundle Manifest Modification:
4. Update Bundle Data:
sha256sum /nfs/vmware/vcf/nfs-mount/bundle/1MFHV_VxRail-8.0.322-Composite-Upgrade-Slim-Package-for-8.0.x.zip
- cp -p /nfs/vmware/vcf/nfs-mount/bundle/vxrailPartnerBundleMetadata.json /nfs/vmware/vcf/nfs-mount/bundle/depot/local/
- chmod -R 777 /nfs/vmware/vcf/nfs-mount/bundle/depot/local/
- curl -X PUT http://localhost/lcm/bundle/upload/partnerBundleMetadata -H "Content-Type: application/json"
5. Verify Bundle Information: Confirm the updated checksum is reflected in the database:
psql -U postgres -h localhost -d lcm -c "select metadata_json from partner_bundle_metadata where bundle_id='VXRAIL8-0-322-290209901MFHV_VxRail-8-0-322-Composite-Upgrade-Slim-Package-for-8-0-x-zip';"
6. Upload Bundle to Depot:
- cp -p /nfs/vmware/vcf/nfs-mount/bundle/1MFHV_VxRail-8.0.322-Composite-Upgrade-Slim-Package-for-8.0.x.zip /nfs/vmware/vcf/nfs-mount/bundle/depot/local/bundles/
- chmod -R 777 /nfs/vmware/vcf/nfs-mount/bundle/depot/local/
- chown -R vcf_lcm:vcf /nfs/vmware/vcf/nfs-mount/bundle/depot/local/
- curl -X PUT http://localhost/lcm/bundle/upload/partnerBundle/VXRAIL8-0-322-290209901MFHV_VxRail-8-0-322-Composite-Upgrade-Slim-Package-for-8-0-x-zip -H "Content-Type:application/json"