[Openstack] New instances booting time

Ivan Derbenev ivan.derbenev at tech-corps.com
Fri Aug 14 20:28:47 UTC 2015


Well, I have 4gb qcow2 image 
But it contains a 100gb filesystem
And the rest 96 gbs are still copied

Regards, 
IT engineer
Farheap, Russia
Ivan Derbenev

-----Original Message-----
From: Jay Pipes [mailto:jaypipes at gmail.com] 
Sent: Friday, August 14, 2015 4:56 PM
To: openstack at lists.openstack.org
Subject: Re: [Openstack] New instances booting time

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-a662327b60
> 8c_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

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack




More information about the Openstack mailing list