HCX vMotion is failing
search cancel

HCX vMotion is failing

book

Article ID: 371348

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • Diagnostic report when run from Service Mesh --> Run Diagnostic will show port 8000 TCP_CONNECT failure.

  • vMotion migration fails with below error

vMotion failed. System Error. Source side error is: Source side relocate failed for the virtual machine. Migration to host failed with error Timeout (195887137). msg.checkpoint.precopyfailure:Migration to host failed with error Timeout (195887137). vob.vmotion.net.send.start.failed:vMotion migration [180539780:3187926962485084139] failed to send init message to the remote host vob.vmotion.net.sbwait.timeout:vMotion migration timed out waiting 20001 ms to transmit data. Target side error is: A general system error occurred: vMotion failed: unknown error msg.checkpoint.migration.nodata: The vMotion failed because the destination host did not receive data from the source host on the vMotion network. Please check your vMotion network settings and physical network configuration and ensure they are correct. 

  • When Mobility Agent Host datastore is accessed via vCenter, the datastore is not browsable

It throws up an error stating: Operation failed! File [ma-ds-xxxxxxxx-xxxxxxx-xxxx-xxxxxx] was not found.

Environment

VMware HCX 4.x version

Cause

TCP Port 8000 is either blocked or not reachable from the ESXi hosts vMotion VMkernel interface to the IX appliance. 

Note: Even if the port is not blocked, an incorrect prefix configured on one of the IP addresses could still cause the traffic to use a different VMK or VMNIC adapter, potentially resulting in the same issue/failure/error. If the wrong prefix was configured on the HCX vMotion network profile, please note that reconfiguring the service mesh is required after correcting it.

Resolution

Ensure that TCP port 8000 on IX appliance is not blocked and inaccessible. Post whitelisting the TCP 8000 port, the Datastore Browse and vMotion migration should work.

Note: Though the mobility agent datastore is browsable, one should not store any files or folders to it. This datastore is exclusively used by the IX appliance for holding the place-holder VMs at the time of migrations

Additional Information