qemu not built with rbd support in liberty cloudarchive

Bug #1497906 reported by Sam Yaple
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Triaged
High
Unassigned

Bug Description

Below is paste output that shows the Liberty cloud-archive repo does not have qemu compiled with rbd support (rbd should show up in the 'Supported formats' list). As you might expect, this breaks using nova backed by ceph.

root@fcb6c9c0b3b0:/# apt-cache policy qemu
qemu:
  Installed: 1:2.3+dfsg-5ubuntu4~cloud0
  Candidate: 1:2.3+dfsg-5ubuntu4~cloud0
  Version table:
 *** 1:2.3+dfsg-5ubuntu4~cloud0 0
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu/ trusty-updates/liberty/main amd64 Packages
        100 /var/lib/dpkg/status
     2.0.0+dfsg-2ubuntu1.18 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
     2.0.0+dfsg-2ubuntu1.17 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-security/universe amd64 Packages
     2.0.0~rc1+dfsg-0ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
root@fcb6c9c0b3b0:/# qemu-system-x86_64 -drive format=?
Supported formats: host_floppy null-aio host_device null-co cloop parallels nbd vhdx qcow dmg qcow2 blkdebug sheepdog quorum vvfat qed file blkverify vdi vpc raw bochs host_cdrom vmdk
root@fcb6c9c0b3b0:/# qemu-img -h
qemu-img version 2.3.0 (Debian 1:2.3+dfsg-5ubuntu4~cloud0), Copyright (c) 2004-2008 Fabrice Bellard
...snip...
Supported formats: blkverify qcow cloop raw dmg host_cdrom host_floppy null-aio sheepdog host_device null-co parallels vhdx vdi file vmdk vvfat vpc bochs qcow2 quorum qed blkdebug nbd

Revision history for this message
Ryan Harper (raharper) wrote :

rbd support is broken out into a separate package: qemu-block-extra

You can install qemu-block extra to restore rbd support to qemu and qemu-img.

There is a fix to restore a dependency between qemu-system and qemu-block-extra since qemu was previously built with rbd support included. Also there is an additional libvirt update to fix up apparmor profile related to qemu needing to map in the block libraries at run time:

https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1495895

Changed in cloud-archive:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Sam Yaple (s8m) wrote :

Awesome! Thanks for the update. I figured it was something like that, I just pinned the kilo qemu packages to work around.

Will update to add the qemu-block-extra packages instead.

You are welcome to keep this open for your tracking purposes, but I you have given be the answer and this bug can be closed if you wish with reference to 1495895 instead.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

I'm going to mark this as a dup of 1495895, for which fixes are now available in the liberty cloud-archive.

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.