Decommission of cluster fails at removal with "Failed to move host <hostname.fqdn> to parent datacenter"
Failure at remove host from cluster workflow with error VSPHERE_MOVE_HOST_TO_PARENT_DATACENTER_FAILED
vCF 4.x
When the cluster deletion operation is triggered, it uses the removeHost workflow which sets the hosts in a Disconnected state. The vCenter does not receive any heartbeats from the host and cannot invoke any APIs on the host since they are timing out. The vCenter fails while removing cryptographics keys from the host since the host is not reachable. This leads to it failing the moveInto task with error VSPHERE_MOVE_HOST_TO_PARENT_DATACENTER_FAILED.
- Disconnect host from VC
How to Remove an ESXi Host from Your vCenter Server Instance
- Resume the Remove Host workflow from SDDC Manager task panel
- Select task and click "Retry"