[Openstack] raw or qcow2

Vishvananda Ishaya vishvananda at gmail.com
Tue Apr 24 22:51:21 UTC 2012


On Apr 17, 2012, at 2:04 AM, William Herry wrote:

> so, what changes should I make if I want use raw in openstack, I didn't find some configure option in nova.conf.sample
> 
> I also try to modify the source code in nova/virt/libvirt/utils.py, and didn't succeed
> 
> I noticed that the type of snapshot is same as the instance's image by default, does this right, and what about the type of model image that uploaded to glance, does it affect the disk type I use?
> 
> Thanks

snapshots will not work with raw images.  To make openstack use raw images, you simply have to set:

use_cow_images=false

you can upload to glance in qcow or raw, it will be decoded to raw when the image is downloaded to the compute host.

Vish





More information about the Openstack mailing list