VM provisioning hanging on KVM hypervisor

Technote (troubleshooting)


Problem(Abstract)

Virtual machine provisioning hanging on KVM hypervisor

Symptom

Instantiate a cluster using KVM hypervisor, the virtual machine provisioning hangs. GUI show the VM is in off status.


Cause

The vm stuck in provisioning is caused by the vmoagent on the kvm hypervisor where vm is installed lost connection with PCMAE master.

Diagnosing the problem

In VMOManager.log on PCMAE master under $EGO_TOP/virtualization/log/, you will see error messages like:

Jun 03 19:15:48 2013 ERROR [VMO Manager Thread Pool - Thread-68] VMOManager - Operation has timed out. Host cloud012.cloud.intern is not responding. For further details, see the vmoagent log on the host where vmoagent is running.

check the vmoagent log on kvm host under $EGO_TOP/virtualization/log/, you will see error messages like:
Thu May 23 13:28:16 2013 ERROR [7193] [2] serv_connect: connect() failed
Thu May 23 13:28:16 2013 ERROR [7193] [2] serv_connect: errno is 111


Resolving the problem

The workaround is to restart libvirtd and vmoagent on the problematic KVM host:

# service libvirtd stop
# service libvirtd start

# ps -ef | grep vmoagent
kill the vmoagent processes returned
# kill -9 <pid1> <pid2>

vmoagent will automatically restart. Check the vmoagent log, see if the error is gone.

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Platform Cluster Manager

Software version:

3.2, 4.1.0

Operating system(s):

Linux

Software edition:

Advanced

Reference #:

T1019605

Modified date:

2013-06-21

Translate my page

Machine Translation

Content navigation