[cinder]cinder create volume from iso image failed

Bug #1413088 reported by haoshuwei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
Undecided
Lan Qi song

Bug Description

cinder create --display-name volume01 4 --image-id e0ee5ca7-ab57-40f4-832f-b06086aa9cb0

2015-01-19 09:45:16.706 16492 WARNING cinder.volume.manager [req-651370b0-81c6-4d90-9255-a2b4fee4dc1f 4d74b0343ace492186d23d779ca1cd83 91c2af93506e443fb40452d8ba39fe43 - - -] Task 'cinder.volume.flows.manager.create_volume.CreateVolumeFromSpecTask;volume:create' (607571f3-0890-4989-a779-7c0c2da9431b) transitioned into state 'FAILURE'
2015-01-19 09:45:16.706 16492 TRACE cinder.volume.manager Traceback (most recent call last):
2015-01-19 09:45:16.706 16492 TRACE cinder.volume.manager File "/usr/lib/python2.6/site-packages/taskflow/engines/action_engine/executor.py", line 35, in _execute_task
2015-01-19 09:45:16.706 16492 TRACE cinder.volume.manager result = task.execute(**arguments)
2015-01-19 09:45:16.706 16492 TRACE cinder.volume.manager File "/usr/lib/python2.6/site-packages/cinder/volume/flows/manager/create_volume.py", line 638, in execute
2015-01-19 09:45:16.706 16492 TRACE cinder.volume.manager **volume_spec)
2015-01-19 09:45:16.706 16492 TRACE cinder.volume.manager File "/usr/lib/python2.6/site-packages/cinder/volume/flows/manager/create_volume.py", line 590, in _create_from_image
2015-01-19 09:45:16.706 16492 TRACE cinder.volume.manager image_id, image_location, image_service)
2015-01-19 09:45:16.706 16492 TRACE cinder.volume.manager File "/usr/lib/python2.6/site-packages/cinder/volume/flows/manager/create_volume.py", line 497, in _copy_image_to_volume
2015-01-19 09:45:16.706 16492 TRACE cinder.volume.manager raise exception.ImageUnacceptable(ex)
2015-01-19 09:45:16.706 16492 TRACE cinder.volume.manager ImageUnacceptable: Image e0ee5ca7-ab57-40f4-832f-b06086aa9cb0 is unacceptable: qemu-img is not installed and image is of type iso. Only RAW images can be used if qemu-img is not installed.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cookbook-openstack-block-storage (master)

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

Changed in openstack-chef:
assignee: nobody → Lan Qi song (lqslan)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-block-storage (master)

Reviewed: https://review.openstack.org/148857
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-block-storage/commit/?id=6ef42752966f2a6b42f180bb99eda46a1265ba10
Submitter: Jenkins
Branch: master

commit 6ef42752966f2a6b42f180bb99eda46a1265ba10
Author: lqslan <email address hidden>
Date: Wed Jan 21 17:23:21 2015 +0800

    Install qemu-img package for cinder-volume node

    Currently the qemu-img package is not installed by default
    for a cinder-volume node. This causes cinder to fail when
    trying to create images using the qemu-img command.

    This patch will change the 'cinder_volume_packages' attribute
    to also install the qemu-img package for cinder-volume nodes.

    Change-Id: Idb923f3edfa39720178e498433d94e4e37a76f7d
    Closes-bug: #1413088

Changed in openstack-chef:
status: In Progress → Fix Released
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.