Missing dependency on qemu-utils in cinder-volume

Bug #1381395 reported by James Page on 2014-10-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cinder (Ubuntu)
High
James Page

Bug Description

cinder-volume has a dependency on qemu-img as provided in qemu-utils:

# cinder/image/image_utils.py
qemu-img: EnvFilter, env, root, LC_ALL=C, qemu-img
qemu-img_convert: CommandFilter, qemu-img, root

This is used for converting disk formats in underlying volumes as required; without it cinder-volume throws errors about being unable to convert disk types.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: cinder-volume 1:2014.2~rc2-0ubuntu1
ProcVersionSignature: User Name 3.16.0-20.27-generic 3.16.3
Uname: Linux 3.16.0-20-generic x86_64
ApportVersion: 2.14.7-0ubuntu6
Architecture: amd64
Date: Wed Oct 15 08:12:49 2014
Ec2AMI: ami-000000af
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: aki-00000002
Ec2Ramdisk: ari-00000002
PackageArchitecture: all
SourcePackage: cinder
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.cinder.rootwrap.d.volume.filters: [deleted]
upstart.cinder-volume.override: env CEPH_ARGS="--id cinder"

James Page (james-page) wrote :
James Page (james-page) wrote :
Download full text (4.5 KiB)

2014-10-15 09:08:54.744 1536 ERROR oslo.messaging.rpc.dispatcher [req-627c178a-a5cc-4ee4-affa-fcbeacd0459f 34e77133adb14238affa5e9fd48e4c76 5070625bb9254100b8068c3247716bfb - - -] Exception during message handling: Image 0bc82dd3-e699-440e-9227-0c8531256501 is unacceptable: qemu-img is not installed and image is of type qcow2. Only RAW images can be used if qemu-img is not installed.
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher incoming.message))
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher result = getattr(endpoint, method)(ctxt, **new_args)
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher return f(*args, **kwargs)
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 380, in create_volume
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher _run_flow()
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 373, in _run_flow
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher flow_engine.run()
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/engine.py", line 89, in run
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher for _state in self.run_iter():
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/taskflow/engines/action_engine/engine.py", line 137, in run_iter
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher misc.Failure.reraise_if_any(failures.values())
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/taskflow/utils/misc.py", line 797, in reraise_if_any
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher failures[0].reraise()
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/taskflow/utils/misc.py", line 804, in reraise
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher six.reraise(*self._exc_info)
2014-10-15 09:08:54.744 1536 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2....

Read more...

Changed in cinder (Ubuntu):
importance: Undecided → High
status: New → In Progress
assignee: nobody → James Page (james-page)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cinder - 1:2014.2~rc2-0ubuntu2

---------------
cinder (1:2014.2~rc2-0ubuntu2) utopic; urgency=medium

  * d/control: Add missing Depends on qemu-utils to cinder-volume
    (LP: #1381395).
  * d/cinder_sudoers: Add missing trailing *, resolving issues running
    commands using rootwrap (LP: #1380425).
 -- James Page <email address hidden> Wed, 15 Oct 2014 10:15:38 +0100

Changed in cinder (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers