[Openstack] Compressed image support ?

Wang Li foxban at gmail.com
Mon Jul 16 05:09:43 UTC 2012


hi

	Finally, I found that the images could be stored in glance using qcow2 format with compression enabled.

	The images are using less storage space and transparent bandwidth now. 

	Images are converted from qcow2 to raw while instance is launched.

	So my problem was resolved by using this method.

	All the tests above are completed under  nova of the trunk version.

	thanks all

Regards.
Wang Li


在 2012-7-10,上午10:49, unicell 写道:

> Hi Wang Li,
> 
> I believe so far there is no compressed RAW image support. Please
> check https://bugs.launchpad.net/nova/+bug/745985 for detail.
> 
> --
> unicell
> 
> On Mon, Jul 9, 2012 at 4:04 PM, Wang Li <foxban at gmail.com> wrote:
>> hi, all
>> 
>> As to the horizon UI,   zip and tar.gz image files are supported.
>> 
>> """
>> Specify an image to upload to the Image Service.
>> 
>> Currently only images available via an HTTP URL are supported. The image
>> location must be accessible to the Image Service. Compressed image binaries
>> are supported (.zip and .tar.gz.)
>> 
>> """
>> 
>> My test environment is as follow:
>> 
>> 1. LVM as image backend of vms.
>> 2. running vms on Xen in PV mode
>> 
>> But when I upload a tar gzipped raw image file, nova just dd from it to
>> logical volume, thus, nova error logged
>> 
>> "Boot loader didn't return any data!"
>> 
>> I grepped the nova and glance source code, found nothing about of "gz" or
>> "zip" that related to image.
>> 
>> This feature is valuable to our use case, for the raw image file is 4GB, but
>> the compressed version is only 400MB.
>> 
>> Did I misunderstand the compressed image support?
>> 
>> 
>> Regards.
>> Wang Li
>> 
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>> 





More information about the Openstack mailing list