← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1576621] Re: Snapshots are alway made in raw and not qcow2

 

Hello Mark,
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://docs.ceph.com/docs/master/rbd/rbd-openstack/

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.

** Changed in: glance
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1576621

Title:
  Snapshots are alway made in raw and not qcow2

Status in Glance:
  Invalid

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 manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1576621/+subscriptions


References