qemu-img: symbol lookup error: qemu-img: undefined symbol: rbd_aio_discard
Bug #1440948 reported by
Ryan Beisner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cinder (Juju Charms Collection) |
Fix Released
|
High
|
Ryan Beisner | ||
qemu-kvm (Ubuntu) |
Won't Fix
|
High
|
Unassigned |
Bug Description
On Precise or Trusty:
$ qemu-img --help
qemu-img: symbol lookup error: qemu-img: undefined symbol: rbd_aio_discard
$ qemu-img
qemu-img: symbol lookup error: qemu-img: undefined symbol: rbd_aio_discard
$ dpkg-query --show qemu-utils
qemu-utils 2.0.0+dfsg-
Workaround:
$ sudo apt-get install librbd1
Then qemu-img works.
cinder (next and stable) charm amulet tests fail with: vol create failed - from glance img
juju-test.
next: revno 82
stable: revno 73
Related branches
lp://qastaging/~1chb1n/charms/trusty/cinder/backport-vol-from-img-lp1440948
- OpenStack Charmers: Pending requested
-
Diff: 11 lines (+1/-0)1 file modifiedhooks/cinder_utils.py (+1/-0)
lp://qastaging/~1chb1n/charms/trusty/cinder/amulet-fix-vol-from-img-lp1440948
- James Page: Approve
-
Diff: 681 lines (+375/-95)11 files modifiedhooks/charmhelpers/contrib/openstack/amulet/deployment.py (+25/-2)
hooks/charmhelpers/contrib/openstack/context.py (+149/-5)
hooks/charmhelpers/contrib/openstack/templates/git.upstart (+13/-0)
hooks/charmhelpers/contrib/openstack/templates/section-zeromq (+14/-0)
hooks/charmhelpers/contrib/openstack/templates/zeromq (+0/-14)
hooks/charmhelpers/contrib/openstack/utils.py (+132/-69)
hooks/charmhelpers/core/hookenv.py (+14/-1)
hooks/charmhelpers/core/unitdata.py (+1/-1)
hooks/cinder_utils.py (+1/-0)
tests/basic_deployment.py (+1/-1)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+25/-2)
lp://qastaging/~1chb1n/charms/trusty/cinder/stable-backport-lp1440948
- Corey Bryant (community): Approve
-
Diff: 54 lines (+6/-5)2 files modifiedtests/basic_deployment.py (+3/-4)
tests/charmhelpers/contrib/amulet/utils.py (+3/-1)
summary: |
- cinder next charm amulet test fails with: vol create failed - from - glance img + cinder (next and stable) charm amulet tests fail with: vol create + failed - from glance img |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in qemu-kvm (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in cinder (Juju Charms Collection): | |
status: | New → Fix Released |
milestone: | none → 15.04 |
importance: | Undecided → High |
Changed in cinder (Juju Charms Collection): | |
assignee: | nobody → Ryan Beisner (1chb1n) |
To post a comment you must log in.
Liam mentioned he'd take a look as it sounded familiar.
The log mentions "qemu-img is not installed and image is of type qcow2.
Only RAW images can be used if qemu-img is not installed"
Here are some more details from /var/log/ cinder/ cinder- volume. log:
2015-04-01 21:08:56.872 18941 ERROR oslo.messaging. _drivers. common 8033-4136- 9908-ec68c8227f 9f 21c75ead5c314b9 d9f4074b1d420bc b5 aaabca34c28b6e3 07 - - -] Returning exception Image e94b-4b7d- 855f-8292517b2d 7a is unacceptable: qemu-img is not _drivers. common 8033-4136- 9908-ec68c8227f 9f 21c75ead5c314b9 d9f4074b1d420bc b5 aaabca34c28b6e3 07 - - -] ['Traceback (most recent call python2. 7/dist- packages/ oslo/messaging/ rpc/dispatcher. py", line and_reply\ n incoming. message) )\n', ' File python2. 7/dist- packages/ oslo/messaging/ rpc/dispatcher. py", line dispatch( endpoint, method, ctxt, python2. 7/dist- packages/ oslo/messaging/ rpc/dispatcher. py", line python2. 7/dist- packages/ cinder/ volume/ manager. py", line 363, in python2. 7/dist- packages/ cinder/ volume/ manager. py", line 356, in run()\n' , ' File python2. 7/dist- packages/ taskflow/ utils/lock_ utils.py" , line 53, python2. 7/dist- packages/ taskflow/ engines/ action_ engine/ engine. py", python2. 7/dist- packages/ taskflow/ engines/ action_ engine/ engine. py", misc.Failure( ))\n', ' File python2. 7/dist- packages/ taskflow/ engines/ action_ engine/ engine. py", reraise_ if_any( failures. values( ))\n', python2. 7/dist- packages/ taskflow/ utils/misc. py", line 0].reraise( )\n', ' File python2. 7/dist- packages/ taskflow/ utils/misc. py", line 565, in *self._ exc_info) \n', ' File python2. 7/dist- packages/ taskflow/ engines/ action_ engine/ executor. py", **arguments) \n', ' python2. 7/dist- packages/ cinder/ volume/ flows/manager/ create_ volume. py", python2. 7/dist- packages/ cinder/ volume/ flows/manager/ create_ volume. py", from_image\ n image_id, image_location, python2. 7/dist- packages/ cinder/ volume/ flows/manager/ create_ volume. py", to_volume\ n raise ImageUnacceptab le(ex)\ n', 'ImageUnacceptable: Image e94b-4b7d- 855f-8292517b2d 7a is unacceptable: qemu-img is not
[req-b7aff4bf-
20f3cd68c4db4f9
e403df40-
installed and image is of type qcow2. Only RAW images can be used if
qemu-img is not installed. to caller
2015-04-01 21:08:56.872 18941 ERROR oslo.messaging.
[req-b7aff4bf-
20f3cd68c4db4f9
last):\n', ' File
"/usr/lib/
133, in _dispatch_
"/usr/lib/
176, in _dispatch\n return self._do_
args)\n', ' File
"/usr/lib/
122, in _do_dispatch\n result = getattr(endpoint, method)(ctxt,
**new_args)\n', ' File
"/usr/lib/
create_volume\n _run_flow()\n', ' File
"/usr/lib/
_run_flow\n flow_engine.
"/usr/lib/
in wrapper\n return f(*args, **kwargs)\n', ' File
"/usr/lib/
line 111, in run\n self._run()\n', ' File
"/usr/lib/
line 121, in _run\n self._revert(
"/usr/lib/
line 78, in _revert\n misc.Failure.
' File "/usr/lib/
558, in reraise_if_any\n failures[
"/usr/lib/
reraise\n six.reraise(
"/usr/lib/
line 36, in _execute_task\n result = task.execute(
File
"/usr/lib/
line 594, in execute\n **volume_spec)\n', ' File
"/usr/lib/
line 556, in _create_
image_service)\n', ' File
"/usr/lib/
line 463, in _copy_image_
exception.
e403df40-
installed and image is of type qcow2. Only RAW images can be used if
qemu-img is not installed.\n'...