missing entry at apparmor profile for nova instances

Asked by Stefan Hoffmann on 2018-04-10

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

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu libvirt Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2018-04-19
Last query:
2018-04-19
Last reply:
2018-04-10

I suggest you report a bug

Stefan Hoffmann (mr-hopeman) said : #2

Thanks actionparsnip, that solved my question.