When I'm trying to create new VM through virt-manager with OVMF firmware instead of BIOS and error appears:
Failed to complete an installation: «internal error: cannot load AppArmor profile «libvirt-0dc7297d-a474-47ed-88b0-026f1d6ae2a4»»
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/create.py", line 1873, in do_install
guest.start_install(meter=meter)
File "/usr/share/virt-manager/virtinst/guest.py", line 414, in start_install
noboot)
File "/usr/share/virt-manager/virtinst/guest.py", line 478, in _create_guest
dom = self.conn.createLinux(start_xml or final_xml, 0)
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3497, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error: cannot load AppArmor profile «libvirt-0dc7297d-a474-47ed-88b0-026f1d6ae2a4»
There is an appropriate lines at the end of /etc/libvirt/qemu.conf:
When I'm trying to create new VM through virt-manager with OVMF firmware instead of BIOS and error appears:
Failed to complete an installation: «internal error: cannot load AppArmor profile «libvirt- 0dc7297d- a474-47ed- 88b0-026f1d6ae2 a4»»
Traceback (most recent call last): virt-manager/ virtManager/ asyncjob. py", line 89, in cb_wrapper asyncjob, *args, **kwargs) virt-manager/ virtManager/ create. py", line 1873, in do_install start_install( meter=meter) virt-manager/ virtinst/ guest.py" , line 414, in start_install virt-manager/ virtinst/ guest.py" , line 478, in _create_guest createLinux( start_xml or final_xml, 0) python2. 7/dist- packages/ libvirt. py", line 3497, in createLinux 'virDomainCreat eLinux( ) failed', conn=self) 0dc7297d- a474-47ed- 88b0-026f1d6ae2 a4»
File "/usr/share/
callback(
File "/usr/share/
guest.
File "/usr/share/
noboot)
File "/usr/share/
dom = self.conn.
File "/usr/lib/
if ret is None:raise libvirtError(
libvirtError: internal error: cannot load AppArmor profile «libvirt-
There is an appropriate lines at the end of /etc/libvirt/ qemu.conf:
nvram = [ "/usr/share/ OVMF/OVMF_ CODE-pure- efi.fd: /usr/share/ OVMF/OVMF_ VARS-pure- efi.fd" ,
"/usr/ share/OVMF/ OVMF_CODE- with-csm. fd:/usr/ share/OVMF/ OVMF_VARS- with-csm. fd" ]
Surely those files are present in /usr/share/OVMF/.
Kbuntu 15.10 Wily
Linux 4.2RC6 x86_64
virt-manager 1.2.1
libvirt 1.2.16
qemu 2.3