yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43300
[Bug 1523727] Re: Cinder cannot create volume from RAW glance image
Moving this to Cinder for evaluation. Glance just stores the bits, I
don't expect that having anything to do about Cinder not able to create
volume from them specially if different format works.
** Project changed: glance => cinder
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1523727
Title:
Cinder cannot create volume from RAW glance image
Status in Cinder:
New
Bug description:
Make a RAW image from some files:
virt-make-fs --type=ext4 --format=raw --size=+500M /tmp/tmpb3abEh /tmp/binary-9bHVxp.raw
glance -v -d image-create --name my-binary-img-test --disk-format raw --container-format bare --file /tmp/binary-9bHVxp.raw
cinder create --display-name my-test4 --image-id <glance-uuid> 7
This used to work fine on Kilo: 2015.1.0. On Kilo 2015.1.1 the volume
gets stuck in "Downloading"
cinder list --all-tenants
+--------------------------------------+----------------------------------+-------------+--------------+------+-------------+----------+-------------+
| ID | Tenant ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+----------------------------------+-------------+--------------+------+-------------+----------+-------------+
| 3b3828ed-6e70-4e6e-bdc1-db7a1ca591a9 | 9514f3eeb98643609f3fd16a59a78e1f | downloading | my-binary-img-test | 7 | None | false | |
+--------------------------------------+----------------------------------+-------------+--------------+------+-------------+----------+-------------+
This is affecting several of our testbeds. A workaround is to use a QCOW2 image instead of RAW. This is not a solution as some setups have CEPH backed storage which don't play well with QCOW2 formats.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1523727/+subscriptions
References