Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

New VM instance stuck in spawning state

I used devstack for installing openstack. My newly spawned VM on the controller node is stuck in spawning state on the horizon dashboard. After looking at the running processes I found the culprit:

root     25004  0.0  0.0 295012  1960 ?        Ssl  18:56   0:00 /usr/bin/qemu-nbd -c /dev/nbd5 /opt/stack/data/nova/instances/4aeefbdf-4688-4abd-959e-2fca7f3106f5/disk
root     25016  0.0  0.0  22176   684 pts/16   D+   18:56   0:00 /bin/mount /dev/nbd5 /tmp/openstack-vfs-localfsKn9pTC

ctrl1:/opt/stack/data/nova/instances/4aeefbdf-4688-4abd-959e-2fca7f3106f5$ ls -l
total 8668
-rw-rw---- 1 bruce libvirtd       0 Nov  8 18:56 console.log
-rw-r--r-- 1 bruce libvirtd  262656 Nov  8 18:56 disk
-rw-rw-r-- 1 bruce libvirtd 4955792 Nov  8 18:56 kernel
-rw-rw-r-- 1 bruce libvirtd 3714968 Nov  8 18:56 ramdisk

The mount process is in uninterruptible sleep state. I see this issue after a couple of days of usage and end up rebooting and re-stacking. Does anyone know what might be going on here?