Decommission of cluster fails at host removal with "Failed to move host <hostname.fqdn> to parent datacenter"
search cancel

Decommission of cluster fails at host removal with "Failed to move host <hostname.fqdn> to parent datacenter"

book

Article ID: 399647

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

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

Environment

vCF 4.x

Cause

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.

Resolution

- 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"