nova with lvm volume backend boots vms for a long time

asked 2015-08-13 22:43:41 -0500

elenhil gravatar image

Hello, guys, I have a question We now have OS Kilo + KVM+ Ubuntu 14.04


images_type = lvm
images_volume_group =openstack-controller01-ky01-vg
volume_clear = none

the problem is when nova boots a new instance it’s SUPER slow
exactly this step:

Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf qemu-img convert -O raw /var/lib/nova/instances/_base/999f7fff2521e4a7243c9e1d21599fd64a19b42e /dev/openstack-controller01-ky01-vg/5f831046-435c-4636-8b71-a662327b608c_disk

Well, I understand what this step is doing – it’s copying raw image to lvm.
but this process takes significant amount of time when working with images > 20-30 gb

How can we speed it up?
I don’t wanna have instance from 100GB image booted for 4 hours

edit retag flag offensive close merge delete