[one-users] Shared-NFS - vm creation hangs when NFS connection is lost

Rangababu Chakravarthula rbabu at hexagrid.com
Tue May 3 12:41:34 PDT 2011


Using opennebula 1.4 with Shared-NFS on KVM hypervisor . VM_DIR is shared
between all the hosts to allow live migration.  If for any reason NFS
connection is lost and user tries to create a new VM the following
opennebula commands hangs and sits there for over. The VM state is in
*boot*for ever.

*sh -c ssh hostone 'mkdir -p /mnt/vmdir/4727/images && cat >
/mnt/vmdir/4727/images/deployment.0 && virsh --connect qemu:///system create
/mnt/vmdir/4727/images/deployment.0' ; echo ExitCode: $? 1>&2
*
Because of that all other VM monitoring commands to that host queue up

*sh -c ssh -n hostone virsh --readonly --connect qemu:///system dominfo
one-4716 ; echo ExitCode: $? 1>&2*

Even libvirt virsh list command hangs.

I think Opennebula should check the storage connectivity before proceeding
with VM creation.

Ranga
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110503/78a1ba45/attachment-0002.htm>


More information about the Users mailing list