During an VMware HCX Bulk Migration, the 3rd party application may report a "failure" status during the switchover phase. Despite the reported failure, the Virtual Machines (VMs) successfully register and power on at the destination site. Crucially, the source VMs may also be found in a powered-on state, leading to a "split-brain" condition or VM duplication across vCenters.
Observed Symptoms:
VMware HCX
Third-party automation (e.g., Ansible, Terraform) managing VM power states.
In verified cases, a service account (such as an Ansible template) was configured with a "fail-safe" reboot or power-on logic. If the HCX switchover process exceeds a specific internal timer in the automation tool (e.g., a 90-minute wait period), the automation tool prematurely issues a PowerOn command to the source VM.
The State of a VM and/or cuase of a VM event can be viewed in the vCenter by highlighting the VM -> Choosing the Monitor tab -> and reviewing the Tasks and Events section in the vSphere client
To resolve this issue, the external automation must be aligned with the HCX migration/switchover windows: