← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1523727] [NEW] Cinder cannot create volume from RAW glance image

 

Public bug reported:

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.

** Affects: glance
     Importance: Undecided
         Status: New

-- 
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 Glance:
  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/glance/+bug/1523727/+subscriptions


Follow ups