Snapshots are alway made in raw and not qcow2
Bug #1576621 reported by
Mark Donovan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
I am using the same version of openstack in two deployments. When I take a snapshot in one environment its is saved in qcow2 but in the other it is saved as raw. The raw format saves an image with the size of the flavour. qcow2 format saves an image the size of the actual used disk space.
The version I am using of openstack is: Version: 2015.1.1
The version of Glance is: 0.17.1
I could not ascertain any difference between the glance configuration in both environments. The only difference is that the CEPH file system is used in the deployment where snapshots are saved in raw. However we are able to upload images in qcow2 nonetheless.
Thank you,
Mark Donovan
To post a comment you must log in.
Hello Mark, docs.ceph. com/docs/ master/ rbd/rbd- openstack/
glance does not convert images during the upload. It just stores bits.
If you look at the Ceph documentation looks like there is troubles with qcow2:
http://
Ceph doesn’t support QCOW2 for hosting a virtual machine disk. Thus if you want to boot virtual machines in Ceph (ephemeral backend or boot from volume), the Glance image format must be RAW.
So I guess nova(or Cinder or other component that provides bits for Glance image) always specifies RAW format always when ceph is used.
I hope this thread also help you.