[Openstack] New instances booting time
Jay Pipes
jaypipes at gmail.com
Fri Aug 14 13:55:42 UTC 2015
On 08/13/2015 11:37 PM, Ivan Derbenev wrote:
> *From:*Ivan Derbenev [mailto:ivan.derbenev at tech-corps.com]
> *Sent:* Wednesday, August 5, 2015 1:21 PM
> *To:* openstack at lists.openstack.org
> *Subject:* [Openstack] New instances booting time
>
> Hello, guys, I have a question
>
> We now have OS Kilo + KVM+ Ubuntu 14.04
>
> Nova-compute.conf:
>
> [libvirt]
>
> virt_type=kvm
>
> 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.
>
> How can we speed it up?
>
> I don’t wanna have instance from 100GB image booted for 4 hours
Don't use base images that are 100G in size. Quite simple, really.
Best,
-jay
More information about the Openstack
mailing list