<HTML>
<HEAD>
<TITLE>Re: [Openstack] raw or qcow2</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>What changes would be needed to make qcow2 files work as snapshots?<BR>
Some type of image “dependency” management in glance (and failure cases) and the corresponding “dependency” fetching in nova (and failure cases)?<BR>
Might be something pretty useful to have, instead of forcing raw for snapshots?<BR>
<BR>
On 4/24/12 3:51 PM, "Vishvananda Ishaya" <<a href="vishvananda@gmail.com">vishvananda@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>On Apr 17, 2012, at 2:04 AM, William Herry wrote:<BR>
<BR>
> so, what changes should I make if I want use raw in openstack, I didn't find some configure option in nova.conf.sample<BR>
><BR>
> I also try to modify the source code in nova/virt/libvirt/utils.py, and didn't succeed<BR>
><BR>
> 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?<BR>
><BR>
> Thanks<BR>
<BR>
snapshots will not work with raw images.  To make openstack use raw images, you simply have to set:<BR>
<BR>
use_cow_images=false<BR>
<BR>
you can upload to glance in qcow or raw, it will be decoded to raw when the image is downloaded to the compute host.<BR>
<BR>
Vish<BR>
<BR>
<BR>
_______________________________________________<BR>
Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
Post to     : <a href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><BR>
Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>