ESXi upgrade from SDDC UI cannot proceed with error 'Upgrade is requested for cluster <clusterID> which is in failed state'
searchcancel
ESXi upgrade from SDDC UI cannot proceed with error 'Upgrade is requested for cluster <clusterID> which is in failed state'
book
Article ID: 384056
calendar_today
Updated On: 06-04-2025
Products
VMware SDDC ManagerVMware Cloud Foundation
Issue/Introduction
The upgrade of the hosts cannot proceed as SDDC sees the cluster as being in a failed state
Environment
VCF 5.x
Cause
This issue can be caused by prior upgrade failures on hosts in the referenced cluster.
The error in the UI can be misleading because often the cluster itself is in an 'ACTIVE' state but a host or hosts in that cluster are in an error state.
Resolution
In the SDDC UI navigate to Workload Domain --> Hosts and identify which host or hosts are in an ERROR state.
Sample:
In vCenter confirm if these hosts are having issues. If so resolve any issues identified.
Once all hosts are confirmed as stable then wait for 10 to 15 minutes and Host status should flip back to ACTIVE in SDDC.
If Host Status is still in ERROR state then follow the below steps to update the status of the host(s) in SDDC database
Take snapshot of SDDC Manager VM
Get details of the host in ERROR state from SDDC database
psql -h localhost -U postgres -d platform -c "select id,hostname,status from host where status!='ACTIVE'"
Sample output
id | hostname | status
--------------------------------------+-----------------------+--------
dea0####-####-####-####-########1f3f | esxi01.example.com | ERROR
(1 row)
Update the host status to ACTIVE
psql -h localhost -U postgres -d platform -c "update host set status='ACTIVE' where id='<id from step # b>'
Sample
psql -h localhost -U postgres -d platform -c "update host set status='ACTIVE' where id='dea0####-####-####-####-########1f3f'"