vCenter Upgrade from SDDC manager fails with error "Failed to upload the VSAN HCL DB. VSAN HCL DB timestamp is not updated in vCenter even after successful API"
book
Article ID: 381033
calendar_today
Updated On:
Products
VMware SDDC Manager / VCF Installer
Issue/Introduction
Symptoms:
Running vCenter prechecks from the SDDC manager UI prior to upgrade does not report any vSAN HCL out of date issues or has already been cleared using KB article 316041
Attempt to upgrade fails and reports the following error on the lcm logs:
/var/log/vmware/vcf/lcm/lcm-debug.log ERROR [vcf_lcm,0000000000000000,0000,upgradeId=abcdxxxxxx-abcd-abcd-abcd-abcdxxxxxxxx,resourceType=VCENTER, resourceId=abcdxxxxxx-abcd-abcd-abcd-abcdxxxxxxxx,d,bundleElementId=abcdxxxxxx-abcd-abcd-abcd-abcdxxxxxxxx] [c.v.e.s.l.p.i.vcenter.VCenterCommon,Upgrade-2] Fatal failure while performing VSAN HCL update com.vmware.evo.sddc.lcm.model.error.LcmException: Failed to upload the VSAN HCL DB. VSAN HCL DB timestamp is not updated in vCenter even after successful API.
Environment
VMware Cloud Foundation 5.x
Resolution
Important Note: This procedure should not be used directly if the upgrade pre-check test fails with the error: "vSAN HCL DB on SDDC Manager is out of date".
In that situation refer first to article 316041 to make sure the SDDC manager is up to date and pre-check tests are clear.
SSH to the SDDC Manager using vcf and su to root
Run the following query to the database and retrieve the data_timestamp values: