** Description changed:

- Performing a nova interface-attach on a running instance fails; looks
- like apparmor is block access to /dev/vhost-net:
+ =====================================
+ SRU Justification:
+ Impact: nova attach-interface fails
+ Test Case: nova attach-interface
+ Regression potential: this only allows virt-aa-helper to detect whether 
vhost-net needs to be accessible to qemu.  It should not regress anything which 
was previously working.
+ =====================================
+ Performing a nova interface-attach on a running instance fails; looks like 
apparmor is block access to /dev/vhost-net:
  
  May 23 10:30:43 caipora kernel: [70013.846910] device tapce18fa24-d3 entered 
promiscuous mode
  May 23 10:30:43 caipora kernel: [70013.867013] qbrce18fa24-d3: port 
2(tapce18fa24-d3) entered forwarding state
  May 23 10:30:43 caipora kernel: [70013.867019] qbrce18fa24-d3: port 
2(tapce18fa24-d3) entered forwarding state
  May 23 10:30:43 caipora kernel: [70013.884964] type=1400 
audit(1400841043.894:48): apparmor="DENIED" operation="file_receive" 
profile="libvirt-bc92e7cf-e67e-4fe3-b1bd-b95b1f1438eb" name="/dev/vhost-net" 
pid=54982 comm="qemu-system-x86" requested_mask="rw" denied_mask="rw" fsuid=109 
ouid=0
  May 23 10:30:43 caipora kernel: [70013.889005] qbrce18fa24-d3: port 
2(tapce18fa24-d3) entered disabled state
  May 23 10:30:43 caipora kernel: [70013.889640] device tapce18fa24-d3 left 
promiscuous mode
  May 23 10:30:43 caipora kernel: [70013.889661] qbrce18fa24-d3: port 
2(tapce18fa24-d3) entered disabled state
  May 23 10:30:43 caipora kernel: [70013.951703] qbrce18fa24-d3: port 
1(qvbce18fa24-d3) entered disabled state
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: libvirt-bin 1.2.2-0ubuntu13.1
  ProcVersionSignature: User Name 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  Date: Fri May 23 10:31:05 2014
  ProcEnviron:
-  TERM=screen-bce
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=screen-bce
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: libvirt
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.default.libvirt.bin: [modified]
  modified.conffile..etc.libvirt.libvirtd.conf: [modified]
  modified.conffile..etc.libvirt.qemu.conf: [inaccessible: [Errno 13] 
Permission denied: '/etc/libvirt/qemu.conf']
  mtime.conffile..etc.default.libvirt.bin: 2014-05-22T15:07:14.068622
  mtime.conffile..etc.libvirt.libvirtd.conf: 2014-05-22T15:07:13.472920

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1322568

Title:
  nova interface-attach fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1322568/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to