Problem creating VM through virt-manager

Marty Sweet msweet.dev at gmail.com
Sat Feb 22 18:58:39 UTC 2014


Hi Bruno,

Does setting AppArmour into complain mode fix this? You may need to
install the apparmour utils if prompted.
$ sudo aa-complain /usr/sbin/libvirtd

If so, please check out launchpad to see/file a bug.
I found this briefly:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/665531

It would also be interesting to see the last few lines of
/var/log/kern.log after you have put it into complain mode and
(hopefully) it works.
$ tail -n20 /var/log/kern.log

Let us know how you get on,
Marty Sweet


On Sat, Feb 22, 2014 at 1:31 PM, Bruno Martins <bmomartins at sapo.pt> wrote:
> Hello list,
>
> I am getting this error while trying to create a virtual machine through
> the virt-manager GUI:
>
> Unable to complete install: 'internal error: cannot load AppArmor
> profile 'libvirt-9eabcd7f-92c5-33f5-583e-e113414888b3''
>
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 96, in
> cb_wrapper
>     callback(asyncjob, *args, **kwargs)
>   File "/usr/share/virt-manager/virtManager/create.py", line 1983, in
> do_install
>     guest.start_install(False, meter=meter)
>   File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1246,
> in start_install
>     noboot)
>   File "/usr/lib/python2.7/dist-packages/virtinst/Guest.py", line 1314,
> in _create_guest
>     dom = self.conn.createLinux(start_xml or final_xml, 0)
>   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3199, in
> createLinux
>     if ret is None:raise libvirtError('virDomainCreateLinux() failed',
> conn=self)
> libvirtError: internal error: cannot load AppArmor profile
> 'libvirt-9eabcd7f-92c5-33f5-583e-e113414888b3'
>
> Is there any thing I can do to work around this?
>
> My system:
>
> Description:    Ubuntu Trusty Tahr (development branch)
> Release:        14.04
> Codename:       trusty
>
> Linux elitebook 3.13.0-12-generic #32-Ubuntu SMP Fri Feb 21 17:45:10 UTC
> 2014 x86_64 x86_64 x86_64 GNU/Linux
>
> Thank you all,
>
> Bruno Martins
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



-- 
Marty




More information about the ubuntu-users mailing list