[Bug 1762769] Re: missing entry at apparmor profile for nova instances

ChristianEhrhardt 1762769 at bugs.launchpad.net
Tue Apr 10 16:27:12 UTC 2018


Hi,
can you share your guest XML (via virsh dumpxml <guestname>) and your apparmor file (cat /etc/apparmor.d/libvirt/libvirt-f146b809-e393-48c9-b325-5c2ae6c20e39.files or whatever file is appropriate then).
The id in the name is the UUID from "virsh dominfo <guestname>"

With those two I can try to recreate and see what happens for me in that
case.

Libvirt 3.6 but on Ubuntu 16.04 means you are using Ubuntu Cloud Archive
Pike I assume?

** Also affects: cloud-archive
   Importance: Undecided
       Status: New

** Changed in: libvirt (Ubuntu)
       Status: New => Incomplete

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

Title:
  missing entry at apparmor profile for nova instances

Status in Ubuntu Cloud Archive:
  New
Status in libvirt package in Ubuntu:
  Incomplete

Bug description:
  My nova instances can't start, because no access to
  /var/lib/nova/instances/b952cef8-7a7a-
  4d45-a7a9-e4b15b2aae5c/console.log

  The apparmor profile is created at /etc/apparmor.d/libvirt/libvirt-
  f146b809-e393-48c9-b325-5c2ae6c20e39.files, but at this profile an
  enty for console.log is missing

  The apparmor profile says: "# DO NOT EDIT THIS FILE DIRECTLY. IT IS
  MANAGED BY LIBVIRT." I have no idea, how to configure libvirt, to
  expand the profile.

  I'm working on
  Ubuntu 16.04,
  libvirtd (libvirt) 3.6.0
  nova 9.1.0
  apparmor 2.10.95

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1762769/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list