HCX vMotion migration Fails due to duplicate IP
search cancel

HCX vMotion migration Fails due to duplicate IP

book

Article ID: 380455

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • HCX Replication Assisted vMotion (RAV) or vMotion are failing with the following error(/common/logs/admin/app.log):
    Migration to host <#.#.#.#> failed with error Connection closed by remote host, possibly due to timeout (#######). <timestamps> vMotion
    migration [##############################################) failed to receive 68/68 bytes from the remote host <#.#.#.#>: 
    Connection closed by remote host, possibly due to timeout vMotion migration [#############################] failed to send init message to the remote host <#.#.#.#>
  • From the vCenter log bundle (/commands/journalctl_-b--0.txt), a warning indicates a duplicate IP address, which is the same IP displayed in the HCX Manager UI error.
    <timestamps> vpxd[###]: Event [#] [1-1] [<timestamps>] [vim.event.EventEx] [info] [] [####] [###] [A duplicate IP address was detected for #.#.#.# on the interface vmk1. The current owner is ##:##:##:##:##:##.]
  • The vMotion VMkernel adapter of the source ESXi host has the same IP address as the network profile assigned to the Mobility Host (HCX IX) appliance.

Cause

HCX vMotion task is failing due to a duplicate IP assigned to both the ESXi VMkernel interface (vMotion) and the HCX Mobility Agent Host (HCX IX)

Resolution

  1. Reassigning a different IP address to the VMkernel interface on the ESXi host, ensuring it does not use the same IP as the HCX Mobility Host.

    OR

  2. Reassign a new IP to the IX/Mobility Host vSphere Agent:
    a) Disable the migrations services from the Service Mesh.

    Note:
    Do not remove the Network Extension option only.
    This action will remove the Mobility Host, allowing you to remove the duplicate IP from the network profile.

    b) Next, update the network profile for vMotion and remove the duplicate IP.
    c) Enable all the services again.

Additional Information