The vCenter upgrade process in VMware Cloud Foundation fails during the pre-check or execution phase. This issue is often caused by stale or orphaned ESXi host entries in the SDDC Manager database, which cause lifecycle management (LCM) operations to timeout. This article provides steps to identify and remove these stale records to allow the upgrade to proceed.
Symptoms:
VMware Cloud Foundation 5.x,
VMware Cloud Foundation 9.x
SDDC Manager
VMware ESX
Orphaned host records in the SDDC Manager platform database tables correspond to hosts that are unreachable, decommissioned, or in an ERROR state. When the LCM services attempt to orchestrate a vCenter upgrade, the presence of these stale records causes connection timeouts during certificate retrieval and status validation, effectively halting the upgrade workflow.
Verification of Host Status:
vcf, then elevate to root. psql --host=localhost -U postgres -d platform -c "\x" -c "select id, hostname, status from host where status='ERROR' OR status='DEACTIVATING';"psql --host=localhost -U postgres -d platform -c "\x" -c "select id, hostname, status from host where hostname='<ESXi Host Name>';"Log Collection Procedure:
su -/var/log/vmware/vcf/sddc-support/ directoryNext Steps: