LXC volume attach does not work

Bug #1261551 reported by Ripal Nathuji
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

According to the older bug 1009701 (https://bugs.launchpad.net/nova/+bug/1009701), LXC volume attach should begin working with newer versions of libvirt (1.0.1 or 1.0.2). Based on testing with libvirt version 1.1.x, however, I get the following error:

     libvirtError: Unable to create device /proc/4895/root/dev/sdb: Permission denied

Tags: lxc
Revision history for this message
Sam Morrison (sorrison) wrote :

I'm also getting this error:

virsh version
Compiled against library: libvirt 1.1.1
Using library: libvirt 1.1.1
Using API: QEMU 1.1.1
Running hypervisor: QEMU 1.5.0

Anyone know how to fix?

Revision history for this message
Sam Morrison (sorrison) wrote :

For us this was caused by apparmor, disabling it fixed in on newly created instances

Revision history for this message
Sean Dague (sdague) wrote :

Apparmor issue

Changed in nova:
status: New → Invalid
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.