touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #95489
[Bug 1483071] [NEW] Error creating new VM with OVMF
Public bug reported:
When I'm trying to create new VM through virt-manager with OVMF firmware
instead of BIOS an 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:
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
** Affects: apparmor (Ubuntu)
Importance: Undecided
Status: New
** Affects: virt-manager (Ubuntu)
Importance: Undecided
Status: New
** Also affects: apparmor (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
When I'm trying to create new VM through virt-manager with OVMF firmware
- instead of BIOS and error appears:
+ instead of BIOS an 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)
+ 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:
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" ]
+ "/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
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1483071
Title:
Error creating new VM with OVMF
Status in apparmor package in Ubuntu:
New
Status in virt-manager package in Ubuntu:
New
Bug description:
When I'm trying to create new VM through virt-manager with OVMF
firmware instead of BIOS an 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:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1483071/+subscriptions
Follow ups