Closed GregoryVds closed 5 years ago
Looking on error : cannot execute binary /vmwrapper: Permission denied
- do you have SELinux enabled?
Indeed that was it, apparmor
denying perm:
$ tail -n1 /var/log/kern.log
Jun 18 16:40:43 greg kernel: [25695.612896] audit: type=1400 audit(1560868843.268:123): apparmor="DENIED" operation="exec" profile="/usr/sbin/libvirtd" name="/vmwrapper" pid=6908 comm="libvirtd" requested_mask="x" denied_mask="x" fsuid=64055 ouid=0
The VM is booting with apparmor
disabled.
Thanks for the quick reply!
It should also be working if you would apply https://github.com/Mirantis/virtlet/tree/master/deploy/apparmor
Hi,
I am trying to run
demo.sh
, but the Cirros VM is not booting. It fails onCreateContainer()
it seems.I have the following error message in
virtlet-pod-libvirt.log
:If that matter, I am able to successfully boot a VM as follow:
(Note that I get the same error with
VIRTLET_DEMO_BRANCH=master ./demo.sh
) I am on Ubuntu 18.04Any idea what might be wrong? Thanks for the help.