Description of problem: A qcow2 image is dumped as a raw volume when the voume is created. The required size is increased and the time consumed by the downloading is very long. Version-Release number of selected component (if applicable): How reproducible: cinder create --image-id 3d597ebb-ce76-4323-a71d-f45a3b08ca22 7 Steps to Reproduce: 1. Create a qcow2 image 2. Create a volume from it 3. Actual results: qemu-img convert is issued: 12889 ? S 0:00 sudo cinder-rootwrap /etc/cinder/rootwrap.conf qemu-img convert -O raw /var/lib/cinder/conversion/tmp5wf91A /dev/mapper/cinder--volumes-volume--6d60b551--c3f4--415f--abb2--b9187231cd9f 12890 ? S 0:00 /usr/bin/python /usr/bin/cinder-rootwrap /etc/cinder/rootwrap.conf qemu-img convert -O raw /var/lib/cinder/conversion/tmp5wf91A /dev/mapper/cinder--volumes-volume--6d60b551--c3f4--415f--abb2--b9187231cd9f 12894 ? Sl 0:02 /usr/bin/qemu-img convert -O raw /var/lib/cinder/conversion/tmp5wf91A /dev/mapper/cinder--volumes-volume--6d60b551--c3f4--415f--abb2--b9187231cd9f Expected results: The image should be dumped as qcow2 on the volume? # glance image-list +--------------------------------------+---------+-------------+------------------+-----------+--------+ | ID | Name | Disk Format | Container Format | Size | Status | +--------------------------------------+---------+-------------+------------------+-----------+--------+ | 3d597ebb-ce76-4323-a71d-f45a3b08ca22 | rhel_65 | qcow2 | bare | 307962880 | active | +--------------------------------------+---------+-------------+------------------+-----------+--------+ Additional info: +------------------+--------------------------------------+ | Property | Value | +------------------+--------------------------------------+ | checksum | 89bc2c9690cb7bd46a9bbaffacf1f84f | | container_format | bare | | created_at | 2014-01-07T14:17:52 | | deleted | False | | deleted_at | None | | disk_format | qcow2 | | id | 3d597ebb-ce76-4323-a71d-f45a3b08ca22 | | is_public | False | | min_disk | 0 | | min_ram | 0 | | name | rhel_65 | | owner | e8fe83985de4444c8240693aebb824c0 | | protected | False | | size | 307962880 | | status | active | | updated_at | 2014-01-07T14:17:57 | +------------------+--------------------------------------+
Feature requests should be filed with the upstream project (https://bugs.launchpad.net/cinder). I suspect part of the reasoning here is that qcow2 images are in general Linux-specific, and there's no guarantee that a client is running Linux. Raw images, on the other hand, are widely supported.