Tuesday, September 23, 2014

Cloning VM failed in vCenter 5.x at 27% (unable to connect host)


Seen this issue couple of times, specially while you have multiple vmkernel port with same subnet. All ping test works fine with vCenter to esxi and even esxi to esxi. Still while start then clone or deploy VM from template one host to another stuck on 27% and then finally failed with error unable to connect host.

To verify the cause of the issue:
  1. Log in as root to the ESX host using an SSH client.
  2. In the /etc/vmware/vpxa/vpxa.cfg file, locate the Host IP address. In ESXi 5.x, the vpxa.cfg configuration file is located at /etc/vmware/vpxa/ . The entry looks similar to:
    <vpxa>
    <hostIp>X.X.X.X</hostIp>
    </vpxa>
Check on both the hosts in vpxa.cfg host IP listed must be same vmk ip as per your planned management network.

Then restart vpxa agent service or disconnect and reconnect host. then try to do the clone. This works for me.

For more details KB: 1010837:-

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1010837

1 comment:

MrLivingston said...

Thank you, this problem was about to drive me insane! This helped! I don't know how the IP was changed, but the KB article you referenced showed me how to resolve the issue.