Ask Your Question

VM is stuck in bootup

asked 2017-07-18 09:13:38 -0600

Beny gravatar image

updated 2017-07-18 09:19:09 -0600

I have moved a VM from Xen hypervisor to Openstack which runs on KVM hypervisor. I have downloaded the xen VM snapshot in XVA format and converted the checksum files into RAW (.img) format. Uploaded the image into glance image repository and launched a new VM instance. Currently the instance is stuck in the page and it hangs there in openstack vnc console.

[*** ] A start job is running for dev-mapp..root.device (40min 18s / no limit)

image description

The image is RHEL 7 Operating system and it had only one disk 100G.

Please help!!

edit retag flag offensive close merge delete


Googling for "A start job is running for dev-mapper" yields a few 100 results; many seem to point to LUKS. You need to find the one that best fits your situation.

Bernd Bausch gravatar imageBernd Bausch ( 2017-07-18 19:11:22 -0600 )edit

Other suggestions:

Launch a VM from that image without OpenStack. Interrupt Grub and boot into single-user mode, or use system startup debugging (personally I don't know how to debug these; I would use Google to find startup troubleshooting procedures).

Bernd Bausch gravatar imageBernd Bausch ( 2017-07-18 19:14:06 -0600 )edit

Thanks Bernd for you suggestions. I already tried to run it in the single user mode, nothing was helping using the virt-viewer.

Beny gravatar imageBeny ( 2017-07-20 02:30:01 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-07-19 14:38:48 -0600

eblock gravatar image

Hi, to migrate your Xen instances to KVM you have to add some virtio kernel modules to the VMs image. Within the VM you can find the modules by running find /lib/modules/ -name *virtio*, add them all or just a few to the initrd (if dracut is installed): dracut --add-drivers "virtio virtio_scsi.ko <AND_SO_ON>" --force. This did the trick for us. You would have to upload the instances again, of course. Hope this helps!

edit flag offensive delete link more


@eblock, you saved my day. It worked and thanks a lot!!

Beny gravatar imageBeny ( 2017-07-20 09:31:20 -0600 )edit

Great, I'm glad I could help :-)

eblock gravatar imageeblock ( 2017-07-21 10:54:55 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2017-07-18 09:13:38 -0600

Seen: 1,255 times

Last updated: Jul 19 '17