snapshot defaults to qcow2 [closed]
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
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, 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 thesnapshot_image_format
to raw for this work in the way we need it@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.