qemu-system-x86_64/kvm-spice failed to boot a vm with appmor enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
High
|
Chuck Short |
Bug Description
[ENV]
Ubuntu 15.04
Linux 3.19.0-30-generic
libvirtd (libvirt) 1.2.12
QEMU emulator version 2.2.0 (Debian 1:2.2+dfsg-
qemu-kvm 1:2.2+dfsg-
qemu-system-x86 1:2.2+dfsg-
libvirt-bin 1.2.12-0ubuntu14.3
nova installed from git source stable/liberty
The cloud-archives coming from official vivid.
[Note]
It is not just me who is using 15.04 have this issue, anyone who is trying to use Ubuntu to deploy OVS-DPDK enabled vms are blocking here, ubuntu trusty is also a known issue version as well.
It looks like an apparmor related issue.
[OVS-DISCUSS]
http://
This bug is seperate from bug https:/
I have been trying to redeploy the environment, for this time, the error is not about kvm-spice, it is qemu-system-x86_64 got the same problem. Due to /usr/bin/
2015-11-05 15:36:15.491 DEBUG nova.compute.utils [req-b292f304-
from (pid=12236) notify_
2015-11-05 15:36:15.492 DEBUG nova.compute.
Let me know what's the next step for further analysis.
tags: | added: dpdk |
description: | updated |
Changed in libvirt (Ubuntu): | |
status: | New → Triaged |
I believe the 'no such file or directory' is what qemu is reporting about some device which openstack is trying to hand it.
Can you confirm that
/dev/hugepages/ libvirt/ qemu
exists (ls -l /dev/hugepages/ libvirt) ?
Try the following on your compute node to get strace output:
mv /usr/bin/ qemu-system- x86_64 /usr/bin/ qemu-system- x86_64. real qemu-system- x86_64 << EOF qemu-system- x86_64 $* qemu-system- x86_64
cat > /usr/bin/
#!/bin/sh
exec strace -f /usr/bin/
EOF
chmod ugo+x /usr/bin/
Hopefully the strace output will show up in the instance- 0000001e. log file and tell us which file did not exist.
(After the experiment, please do
mv /usr/bin/ qemu-system- x86_64 /usr/bin/ qemu-system- x86_64. wrap qemu-system- x86_64. real /usr/bin/ qemu-system- x86_64
mv /usr/bin/
to re-set the system to its original state)