** Changed in: libvirt (Ubuntu)
Status: Incomplete = Confirmed
** Changed in: libvirt (Ubuntu)
Importance: High = Low
** Summary changed:
- libvirt-qemu apparmor profile missing kvm-spice
+ Poor error reporting when cd file not found.
--
You received this bug notification because
I found the solution. The problem No such file or directory wasn't related to
kvm-spice.
I've checked
/etc/apparmor.d/libvirt/libvirt-4a85eac1-5631-40dc-a25e-927e2daa3a2f.files and
noticed that the patch to ISO could couse the problem. It folder name contained
chars: - = { }. After changing
qemu/$(vm).log
2015-02-01 10:03:05.429+: starting up
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
QEMU_AUDIO_DRV=none /usr/bin/kvm-spice -name WinSRV2012R2 -S -machine
pc-i440fx-trusty,accel=kvm,usb=off -cpu SandyBridge -m 4096 -realtime mlock=off
-smp
Sorry, that all looks fine, I simply see no reason for what is going on.
To get some more log info from libvirt, could you please do:
sudo stop libvirt-bin
sudo rm /var/lib/libvirt/lib*.log
echo log_level = 1 | sudo tee -a /etc/libvirt/libvirtd.log
sudo start libvirt-bin
Then reproduce this
@arwi,
does /usr/bin/kvm-spice exist on your host?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1384532
Title:
libvirt-qemu apparmor profile missing kvm-spice
To manage notifications about this
yes
# ls -l /usr/bin/kvm-spice
lrwxrwxrwx 1 root root 3 gru 16 15:27 /usr/bin/kvm-spice - kvm
# ls -l /usr/bin/kvm
-rwxr-xr-x 1 root root 52 lut 4 2014 /usr/bin/kvm
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
for further investigation
** Changed in: libvirt (Ubuntu)
Status: Expired = Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1384532
Title:
libvirt-qemu apparmor
I have the same poblem. It occures while I try to install Windows 2012
Server R2. When the ISO is loaded into IDE CDROM the vm can't start.
When I remove the ISO image from CDROM, I instantly get SeaBIOS.. no
botable device.
Here is log from /var/log/libvirt/libvirtd.log:
2015-01-24
for further investigation
** Changed in: libvirt (Ubuntu)
Status: Expired = Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1384532
Title:
libvirt-qemu apparmor profile missing
[Expired for libvirt (Ubuntu) because there has been no activity for 60
days.]
** Changed in: libvirt (Ubuntu)
Status: Incomplete = Expired
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
[Expired for libvirt (Ubuntu) because there has been no activity for 60
days.]
** Changed in: libvirt (Ubuntu)
Status: Incomplete = Expired
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
No, I believe that is spurious. According to the message in the
Description, I believe that the failure happens when the apparmor
profile fails to be generated on the compute node. I believe that if
adding kvm-spice sometimes seemed to fix it, that was an accident.
To check whether I'm right,
sigh, the kvm-spice entry in apparmor.d/libivrt is my workaround. i added it
manually and forget to mention that when attaching above.
w/o that entry, openstack will not start an instance.
with it, it is fine.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which
Thanks for the information.
Oddly, for the example in comment #4, the apparmor policy *is* in fact
in the listing of /etc/apparmor.d/libvirt.
Are you certain that instance also failed to boot?
I fear the log information will be overwhelming, but i think we'll need
full libvirt debug output.
** Changed in: libvirt (Ubuntu)
Status: Incomplete = New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1384532
Title:
libvirt-qemu apparmor profile missing kvm-spice
To manage notifications
Thanks for the information. Sorry, I was misreading the message. The
file which does not exist is not kvm-spice, but the libvirt profile.
Could you please reproduce the issue, then show both the xml file for
the failing vm and show the result of ls -l /etc/apparmor.d/libvirt/
on the compute
The ls has:
total 192
-rw-r--r-- 1 root root 265 Sep 15 18:46
libvirt-06bba064-b57e-4cf5-a1e3-c39567895aab
-rw-r--r-- 1 root root 1140 Oct 28 03:09
libvirt-06bba064-b57e-4cf5-a1e3-c39567895aab.files
-rw-r--r-- 1 root root 265 Oct 14 04:07
libvirt-0cb7d575-9a0b-4000-b6d2-3901a4d44f7c
Thanks for reporting this bug. I can't reproduce it on my laptop.
Could you please provide the full .xml for a failing VM?
Please also show the results (on the compute node) of:
ls -l /usr/bin/kvm*
** Changed in: libvirt (Ubuntu)
Importance: Undecided = High
** Changed in: libvirt (Ubuntu)
osadmin-don@nubo-7:~$ ls -l /usr/bin/kvm*
-rwxr-xr-x 1 root root 52 Jul 30 23:06 /usr/bin/kvm
lrwxrwxrwx 1 root root 3 Oct 16 09:59 /usr/bin/kvm-spice - kvm
$ sudo apt-file search kvm-spice
qemu-kvm: /usr/bin/kvm-spice
domain type='kvm' id='12'
nameinstance-0563/name
19 matches
Mail list logo