← Back to team overview

openstack team mailing list archive

Re: raw or qcow2

 

What changes would be needed to make qcow2 files work as snapshots?
Some type of image "dependency" management in glance (and failure cases) and the corresponding "dependency" fetching in nova (and failure cases)?
Might be something pretty useful to have, instead of forcing raw for snapshots?

On 4/24/12 3:51 PM, "Vishvananda Ishaya" <vishvananda@xxxxxxxxx> wrote:

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


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Follow ups

References