snapshot defaults to qcow2 [closed]

asked 2015-04-20 11:52:24 -0600

Hi,

I have Juno setup in HA, and able to create snapshots without a problem. Originally I had qcow2 images, so the problem didn't occur to me. I have since then converted the images into raw format, and re-uploaded to glance.

Now after creating an instance from the revised image, and then creating a snapshot by using nova image-create the resulting image is still qcow2

The comment in /etc/nova/nova.conf above the line snapshot_image_format, suggests that the snapshot image would be the same format as the source image. But in this situation doesn't seem to be true.

On another hand the resulting disk in /var/lib/instances/ is a qcow2 image.

Could someone enlighten me on this, to see if this is correct or not

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by mary_grace
close date 2017-12-15 20:08:15.985223

Comments

By default Glance creates qcow2 images even for me, so I use to convert to raw or vmdk using a small script by referring to this link

SGPJ gravatar imageSGPJ ( 2015-04-21 03:00:20 -0600 )edit

SGPJ, I am already using qemu-img to convert the qcow2 images to raw before uploading to glance. But from what I can see, we have to manually set the snapshot_image_format to raw for this work in the way we need it

arif-ali gravatar imagearif-ali ( 2015-04-22 05:47:46 -0600 )edit

@arif-ali - This question refers to a version which has been EOL'ed. Given this, plus the fact that this question was asked 2+ years ago, I'm closing it out. If the issue is still existing with a more recent version, please open a new question with updated details.

mary_grace gravatar imagemary_grace ( 2017-12-15 20:07:40 -0600 )edit