Seeing this bug in openstack as well using libvirt-bin 1.2.16.
Using openstack, from nova-compute.log :
ERROR oslo_messaging.rpc.dispatcher if ret == -1: raise libvirtError ('virDomainManagedSave() failed', dom=self) libvirtError: internal error: cannot update AppArmor profile 'libvirt-7f10dbb6-b650-4bc5-aaaa-b6e47bb099c1'
Using `sudo aa-audit /usr/sbin/libvirtd` we then see in /var/log/libvirt/libvirtd.log :
2015-12-21 17:21:33.253+0000: 25832: error : virCommandWait:2552 : internal error: Child process (/usr/lib/libvirt/virt-aa-helper -p 0 -r -u libvirt-7f10dbb6-b650-4bc5-aaaa-b6e47bb099c1 -F /var/lib/libvirt/qemu/save/instance-000000a0.save) unexpected exit status 1: virt-aa-helper: error: /var/lib/libvirt/qemu/org.qemu.guest_agent.0.instance-000000a0.sock virt-aa-helper: error: skipped restricted file virt-aa-helper: error: invalid VM definition 2015-12-21 17:21:33.253+0000: 25832: error : reload_profile:296 : internal error: cannot update AppArmor profile 'libvirt-7f10dbb6-b650-4bc5-aaaa-b6e47bb099c1'
usr.sbin.libvirtd already has :
# allow changing to our UUID-based named profiles change_profile -> @{LIBVIRT}-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*,
Seeing this bug in openstack as well using libvirt-bin 1.2.16.
Using openstack, from nova-compute.log :
ERROR oslo_messaging. rpc.dispatcher if ret == -1: raise libvirtError ('virDomainMana gedSave( ) failed', dom=self) 7f10dbb6- b650-4bc5- aaaa-b6e47bb099 c1'
libvirtError: internal error: cannot update AppArmor profile 'libvirt-
Using `sudo aa-audit /usr/sbin/libvirtd` we then see in /var/log/ libvirt/ libvirtd. log :
2015-12-21 17:21:33.253+0000: 25832: error : virCommandWait:2552 : internal error: Child process (/usr/lib/ libvirt/ virt-aa- helper -p 0 -r -u libvirt- 7f10dbb6- b650-4bc5- aaaa-b6e47bb099 c1 -F /var/lib/ libvirt/ qemu/save/ instance- 000000a0. save) unexpected exit status 1: virt-aa-helper: error: /var/lib/ libvirt/ qemu/org. qemu.guest_ agent.0. instance- 000000a0. sock 7f10dbb6- b650-4bc5- aaaa-b6e47bb099 c1'
virt-aa-helper: error: skipped restricted file
virt-aa-helper: error: invalid VM definition
2015-12-21 17:21:33.253+0000: 25832: error : reload_profile:296 : internal error: cannot update AppArmor profile 'libvirt-
usr.sbin.libvirtd already has :
# allow changing to our UUID-based named profiles -[0-9a- f]*-[0- 9a-f]*- [0-9a-f] *-[0-9a- f]*-[0- 9a-f]*,
change_profile -> @{LIBVIRT}