In VMware Cloud Foundation (VCF) environments, an ESXi host may enter a state where it cannot be removed from the SDDC Manager inventory using the GUI. This condition prevents the decommissioning of hosts and may result in persistent error messages within the SDDC Manager dashboard.
Errors observed:
IPs cannot be resolved to hostnames - This occurs when IPs are reused for new hosts, while the old host is still in the "Uncommissioned" inventory.Failed to validate host spec - Insufficient free IPs and failed to allocate IPs from networks with error.Remove Host from the SDDC Manager UI following a failed 'Add Host' workflow.Activating" status on the SDDC Manager UIThe attempted functionality HOST_DECOMMISSION is not supported in the current system state. Function requires a context id, but was unable to calculate one.Fetch Remove ESX Host(s) Data from the SDDC Manager Inventory cause being: Cannot determine IP address for FQDNThis issue is typically caused by a mismatch between the physical state of the host and the records maintained in the SDDC Manager PostgreSQL database. This often occurs under the following conditions:
The ESXi host has experienced an unrecoverable hardware failure.
The host is in a persistent error state that prevents the SDDC Manager from communicating with the host agents.
Orphaned references exist in the database that block the standard decommission workflow.
Make sure the ESXi host(s) cannot be removed through normal processes: Remove a Host from a vSphere Cluster in a Workload Domain
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:
vcf user.su -cd /opt/vmware/sddc-support./sos --sddc-manager-logs --zip/var/log/vmware/vcf/sddc-support/ directoryNext Steps: