XenAPINFS: custom image types are not supported

Bug #1130706 reported by Mate Lakat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Mate Lakat

Bug Description

# Create a volume from a qcow image

## Step 1. Upload a `qcow2` image to glance

    glance image-create --name qcow_cirros \
    --copy-from=https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img \
    --container-format=bare --disk-format=qcow2

Store the created image id in `IID`:

    IID=$(glance image-list | grep qcow_cirros | sed -e 's/[ |]*//' -e 's/ .*//')

## Step 2. Create a volume based on the image

I will create a 1G image for now:

    cinder create --display_name="volume_from_qcow" --image-id=$IID 1

At this point no exceptions could be seen, volume status is just stuck, and saying "Downloading"

Mate Lakat (mate-lakat)
Changed in cinder:
assignee: nobody → Mate Lakat (mate-lakat)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/22454

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/22454
Committed: http://github.com/openstack/cinder/commit/f2ce6984b7b9a66a88b1b7e0ff319de24f2c78be
Submitter: Jenkins
Branch: master

commit f2ce6984b7b9a66a88b1b7e0ff319de24f2c78be
Author: Mate Lakat <email address hidden>
Date: Wed Feb 13 10:48:34 2013 +0000

    XenAPINFS: Create volume from image (generic)

    Fixes bug 1130706

    Related to blueprint xenapinfs-glance-integration

    This patch enables users to use any images recognised by qemu-img to
    create volumes on XenAPINFS.

    Change-Id: I9dd8ec237309da82ec7f73db1acb48e5b7411c9e

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: grizzly-3 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.