[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2015-02-05 Thread Serge Hallyn
** 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 you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1384532

Title:
  Poor error reporting when cd file not found.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2015-02-01 Thread Artyum
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 the folder name to Windows Server 2012 R2, 
the vm started.

-- 
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 bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2015-02-01 Thread Artyum
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 4,sockets=4,cores=1,threads=1 -uuid 4a85eac1-5631-40dc-a25e-927e2daa3a2f 
-no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/WinSRV2012R2.monitor,server,nowait
 -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew 
-global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -global 
PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot strict=on -device 
ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x4.0x7 -device 
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x4 
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x4.0x1 
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x4.0x2 
-drive file=/var/lib/libvirt/images/winsrc2012r2.qcow2,if=none,id=driv
 e-ide0-0-0,format=qcow2 -device 
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2 -drive 
file=/home/vm/Pobrane/Windows Server 2012 
R2/en_windows_server_2012_r2_with_update_x64_dvd_4065220.iso,if=none,id=drive-ide0-0-1,readonly=on,format=raw
 -device ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1,bootindex=1 
-netdev tap,fd=26,id=hostnet0 -device 
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:19:f5:3c,bus=pci.0,addr=0x3 
-chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 
-vnc 127.0.0.1:3 -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device 
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
libvirt:  error : unable to set AppArmor profile 
'libvirt-4a85eac1-5631-40dc-a25e-927e2daa3a2f' for '/usr/bin/kvm-spice': No 
such file or directory
2015-02-01 10:03:05.453+: shutting down

libvirtd.log
2015-02-01 10:03:05.453+: 7035: error : virCommandHandshakeWait:2516 : 
Child quit during startup handshake: Input/output error
2015-02-01 10:03:05.453+: 7035: error : qemuProcessReadChildErrors:1623 : 
internal error: Process exited prior to exec: libvirt:  error : unable to set 
AppArmor profile 'libvirt-4a85eac1-5631-40dc-a25e-927e2daa3a2f' for 
'/usr/bin/kvm-spice': No such file or directory

-- 
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 bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2015-01-31 Thread Serge Hallyn
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 issue and attach the resulting
/var/log/libvirt/libvirtd.log and /var/log/libvirt/qemu/$(vm).log ?

-- 
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 bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2015-01-29 Thread Serge Hallyn
@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 bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2015-01-29 Thread Artyum
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.
https://bugs.launchpad.net/bugs/1384532

Title:
  libvirt-qemu apparmor profile missing kvm-spice

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2015-01-24 Thread Artyum
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 profile missing kvm-spice

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2015-01-24 Thread Artyum
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 18:31:36.241+: 30485: error : virCommandHandshakeWait:2516 : 
Child quit during startup handshake: Input/output error
2015-01-24 18:31:36.241+: 30485: error : qemuProcessReadChildErrors:1623 : 
internal error: Process exited prior to exec: libvirt:  error : unable to set 
AppArmor profile 'libvirt-4a85eac1-5631-40dc-a25e-927e2daa3a2f' for 
'/usr/bin/kvm-spice': No such file or directory

VM was created with virt-manager.

domain type='kvm'
  nameWinSRV2012R2/name
  uuid4a85eac1-5631-40dc-a25e-927e2daa3a2f/uuid
  memory unit='KiB'4194304/memory
  currentMemory unit='KiB'4194304/currentMemory
  vcpu placement='static'4/vcpu
  os
type arch='x86_64' machine='pc-i440fx-trusty'hvm/type
  /os
  features
acpi/
apic/
pae/
  /features
  cpu mode='custom' match='exact'
model fallback='allow'SandyBridge/model
  /cpu
  clock offset='utc'
timer name='rtc' tickpolicy='catchup'/
timer name='pit' tickpolicy='delay'/
timer name='hpet' present='no'/
  /clock
  on_poweroffdestroy/on_poweroff
  on_rebootrestart/on_reboot
  on_crashrestart/on_crash
  pm
suspend-to-mem enabled='no'/
suspend-to-disk enabled='no'/
  /pm
  devices
emulator/usr/bin/kvm-spice/emulator
disk type='file' device='disk'
  driver name='qemu' type='qcow2'/
  source file='/var/lib/libvirt/images/winsrc2012r2.qcow2'/
  target dev='hda' bus='ide'/
  boot order='2'/
  address type='drive' controller='0' bus='0' target='0' unit='0'/
/disk
disk type='block' device='cdrom'
  driver name='qemu' type='raw'/
  target dev='hdb' bus='ide'/
  readonly/
  boot order='1'/
  address type='drive' controller='0' bus='0' target='0' unit='1'/
/disk
controller type='usb' index='0' model='ich9-ehci1'
  address type='pci' domain='0x' bus='0x00' slot='0x04' 
function='0x7'/
/controller
controller type='usb' index='0' model='ich9-uhci1'
  master startport='0'/
  address type='pci' domain='0x' bus='0x00' slot='0x04' function='0x0' 
multifunction='on'/
/controller
controller type='usb' index='0' model='ich9-uhci2'
  master startport='2'/
  address type='pci' domain='0x' bus='0x00' slot='0x04' 
function='0x1'/
/controller
controller type='usb' index='0' model='ich9-uhci3'
  master startport='4'/
  address type='pci' domain='0x' bus='0x00' slot='0x04' 
function='0x2'/
/controller
controller type='pci' index='0' model='pci-root'/
controller type='ide' index='0'
  address type='pci' domain='0x' bus='0x00' slot='0x01' 
function='0x1'/
/controller
interface type='bridge'
  mac address='52:54:00:19:f5:3c'/
  source bridge='br0'/
  model type='rtl8139'/
  address type='pci' domain='0x' bus='0x00' slot='0x03' 
function='0x0'/
/interface
serial type='pty'
  target port='0'/
/serial
console type='pty'
  target type='serial' port='0'/
/console
input type='mouse' bus='ps2'/
input type='keyboard' bus='ps2'/
graphics type='vnc' port='-1' autoport='yes'/
video
  model type='cirrus' vram='9216' heads='1'/
  address type='pci' domain='0x' bus='0x00' slot='0x02' 
function='0x0'/
/video
memballoon model='virtio'
  address type='pci' domain='0x' bus='0x00' slot='0x05' 
function='0x0'/
/memballoon
  /devices
/domain

-- 
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 bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2015-01-24 Thread Artyum
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 kvm-spice

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2015-01-04 Thread Launchpad Bug Tracker
[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.
https://bugs.launchpad.net/bugs/1384532

Title:
  libvirt-qemu apparmor profile missing kvm-spice

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2015-01-04 Thread Launchpad Bug Tracker
[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.
https://bugs.launchpad.net/bugs/1384532

Title:
  libvirt-qemu apparmor profile missing kvm-spice

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2014-11-05 Thread Serge Hallyn
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, can you take a vm which does work, remove
the kvm-spice line, and check that it now indeed fails to start?

-- 
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 bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2014-11-04 Thread Don Bowman
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 is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1384532

Title:
  libvirt-qemu apparmor profile missing kvm-spice

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2014-11-03 Thread Serge Hallyn
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.  Please edit /etc/libvirt/libvirtd.conf on a
compute node where such a VM is defined (that won't start up), and add
the line

log_level = 1

then sudo stop libvirt-bin; sudo start libvirt-bin

and start the vm, then attach the file /var/log/libvirt/libvirtd.log.


** Changed in: libvirt (Ubuntu)
   Status: New = 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 kvm-spice

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2014-10-29 Thread Serge Hallyn
** 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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2014-10-29 Thread Serge Hallyn
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 node?

-- 
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 bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2014-10-29 Thread Don Bowman
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
-rw-r--r-- 1 root root 1077 Oct 28 03:09 
libvirt-0cb7d575-9a0b-4000-b6d2-3901a4d44f7c.files
-rw-r--r-- 1 root root  265 Oct 23 13:40 
libvirt-0cd2e54a-1c6e-419b-974b-06ec713f3794
-rw-r--r-- 1 root root 1077 Oct 28 03:08 
libvirt-0cd2e54a-1c6e-419b-974b-06ec713f3794.files
-rw-r--r-- 1 root root  265 Oct 23 13:40 
libvirt-0dc31de4-0271-48e0-9c34-b5ec4869015a
-rw-r--r-- 1 root root 1098 Oct 28 03:08 
libvirt-0dc31de4-0271-48e0-9c34-b5ec4869015a.files
-rw-r--r-- 1 root root  265 Oct 14 04:07 
libvirt-136a90ad-7e8a-4060-9b8a-602aed4b5fb8
-rw-r--r-- 1 root root 1161 Oct 28 03:09 
libvirt-136a90ad-7e8a-4060-9b8a-602aed4b5fb8.files
-rw-r--r-- 1 root root  265 Sep 15 18:59 
libvirt-5170f30d-8835-4e28-aa24-3230476fb1ad
-rw-r--r-- 1 root root 1077 Oct 29 21:44 
libvirt-5170f30d-8835-4e28-aa24-3230476fb1ad.files
-rw-r--r-- 1 root root  265 Sep 15 18:46 
libvirt-5750b2a4-6679-4965-85c8-bb8273e029b0
-rw-r--r-- 1 root root 1077 Oct 28 03:09 
libvirt-5750b2a4-6679-4965-85c8-bb8273e029b0.files
-rw-r--r-- 1 root root  265 Oct 23 13:40 
libvirt-598b9e83-ce0a-47a8-8555-b62a252ee3bb
-rw-r--r-- 1 root root 1098 Oct 28 03:08 
libvirt-598b9e83-ce0a-47a8-8555-b62a252ee3bb.files
-rw-r--r-- 1 root root  265 Sep 15 18:46 
libvirt-67541f7c-fe64-4125-876f-3e06667df53b
-rw-r--r-- 1 root root 1098 Oct 28 03:08 
libvirt-67541f7c-fe64-4125-876f-3e06667df53b.files
-rw-r--r-- 1 root root  265 Oct 29 20:44 
libvirt-6a16064d-cf87-40c8-8ae0-703c51cf184f
-rw-r--r-- 1 root root 1098 Oct 29 20:44 
libvirt-6a16064d-cf87-40c8-8ae0-703c51cf184f.files
-rw-r--r-- 1 root root  265 Oct 14 04:06 
libvirt-84a2b12b-3f3b-494c-abd2-aa42236ef844
-rw-r--r-- 1 root root 1140 Oct 28 03:09 
libvirt-84a2b12b-3f3b-494c-abd2-aa42236ef844.files
-rw-r--r-- 1 root root  265 Oct 29 16:14 
libvirt-89d5121b-5c5f-4548-83b3-a187d751a5bc
-rw-r--r-- 1 root root 1140 Oct 29 16:14 
libvirt-89d5121b-5c5f-4548-83b3-a187d751a5bc.files
-rw-r--r-- 1 root root  265 Oct 28 20:32 
libvirt-8a699639-3311-4567-bf21-ce381a4e8783
-rw-r--r-- 1 root root 1098 Oct 28 20:32 
libvirt-8a699639-3311-4567-bf21-ce381a4e8783.files
-rw-r--r-- 1 root root  265 Oct 23 13:40 
libvirt-8bda3eb5-420c-4822-84a5-fa2fe6e92e71
-rw-r--r-- 1 root root 1161 Oct 28 03:08 
libvirt-8bda3eb5-420c-4822-84a5-fa2fe6e92e71.files
-rw-r--r-- 1 root root  265 Oct 29 09:59 
libvirt-8f0e3112-db6a-4ad9-8598-01cc24f1a4cf
-rw-r--r-- 1 root root 1161 Oct 29 09:59 
libvirt-8f0e3112-db6a-4ad9-8598-01cc24f1a4cf.files
-rw-r--r-- 1 root root  265 Sep 15 18:46 
libvirt-a9ac1393-0462-43af-a7db-1a48bdc521f7
-rw-r--r-- 1 root root 1098 Oct 28 03:08 
libvirt-a9ac1393-0462-43af-a7db-1a48bdc521f7.files
-rw-r--r-- 1 root root  265 Oct 14 04:06 
libvirt-bae8f71e-b10d-4598-a33b-1e9443e0876d
-rw-r--r-- 1 root root 1077 Oct 28 03:09 
libvirt-bae8f71e-b10d-4598-a33b-1e9443e0876d.files
-rw-r--r-- 1 root root  265 Oct 23 13:41 
libvirt-bfce9b50-f66a-47c6-affc-ca860463bd45
-rw-r--r-- 1 root root 1098 Oct 28 03:08 
libvirt-bfce9b50-f66a-47c6-affc-ca860463bd45.files
-rw-r--r-- 1 root root  265 Sep 15 18:46 
libvirt-c5494a5c-65de-49f4-a5ea-d9b06cf7fd56
-rw-r--r-- 1 root root 1161 Oct 28 03:08 
libvirt-c5494a5c-65de-49f4-a5ea-d9b06cf7fd56.files
-rw-r--r-- 1 root root  265 Oct 28 22:10 
libvirt-ce40d7be-cbf2-4451-afb4-3d9e59962bdd
-rw-r--r-- 1 root root 1077 Oct 28 22:10 
libvirt-ce40d7be-cbf2-4451-afb4-3d9e59962bdd.files
-rw-r--r-- 1 root root  265 Oct 24 01:54 
libvirt-dbcf50ae-6b24-4527-bb65-009281870f3b
-rw-r--r-- 1 root root  875 Oct 28 03:08 
libvirt-dbcf50ae-6b24-4527-bb65-009281870f3b.files
-rw-r--r-- 1 root root  265 Oct 28 22:10 
libvirt-df619766-fc3c-44bc-ab4a-0f995912fb52
-rw-r--r-- 1 root root 1098 Oct 28 22:10 
libvirt-df619766-fc3c-44bc-ab4a-0f995912fb52.files
-rw-r--r-- 1 root root  265 Sep 15 18:46 
libvirt-f747aea0-b37d-472f-bd68-01d8955061f0
-rw-r--r-- 1 root root 1098 Oct 28 03:08 
libvirt-f747aea0-b37d-472f-bd68-01d8955061f0.files
-rw-r--r-- 1 root root  632 Oct  9 16:22 TEMPLATE.lxc
-rw-r--r-- 1 root root  164 Oct  9 16:22 TEMPLATE.qemu

and a representative instance is:
domain type='kvm' id='6'
  nameinstance-106d/name
  uuid0cd2e54a-1c6e-419b-974b-06ec713f3794/uuid
  metadata
nova:instance xmlns:nova=http://openstack.org/xmlns/libvirt/nova/1.0;
  nova:package version=2014.2/
  nova:nameBo_new-win7/nova:name
  nova:creationTime2014-10-28 03:08:29/nova:creationTime
  nova:flavor name=m1.5G
nova:memory1024/nova:memory
nova:disk5/nova:disk
nova:swap0/nova:swap
nova:ephemeral0/nova:ephemeral
nova:vcpus1/nova:vcpus
  /nova:flavor
  nova:owner
nova:user uuid=dcec599e9fc9467fad91ce953ec7f1bddon/nova:user
nova:project uuid=4c4f696dbb054c24b30b32562ba624f2don/nova:project

[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2014-10-23 Thread Serge Hallyn
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)
   Status: New = 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 kvm-spice

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1384532] Re: libvirt-qemu apparmor profile missing kvm-spice

2014-10-23 Thread Don Bowman
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
  uuid5750b2a4-6679-4965-85c8-bb8273e029b0/uuid
  metadata
nova:instance xmlns:nova=http://openstack.org/xmlns/libvirt/nova/1.0;
  nova:package version=2014.2/
  nova:nameexp-win7/nova:name
  nova:creationTime2014-10-21 08:40:50/nova:creationTime
  nova:flavor name=m1.5G
nova:memory1024/nova:memory
nova:disk5/nova:disk
nova:swap0/nova:swap
nova:ephemeral0/nova:ephemeral
nova:vcpus1/nova:vcpus
  /nova:flavor
  nova:owner
nova:user uuid=56801ce4202d46b88a0bd25d5d376965admin/nova:user
nova:project 
uuid=f6984377a66d418880696d901fd9f41cadmin/nova:project
  /nova:owner
  nova:root type=image uuid=e02bc933-f240-482e-9df4-2a3da4e96e47/
/nova:instance
  /metadata
  memory unit='KiB'1048576/memory
  currentMemory unit='KiB'1048576/currentMemory
  vcpu placement='static' cpuset='1,3,5,7,9,11,13,15,17,19,21,23'1/vcpu
  resource
partition/machine/partition
  /resource
sysinfo type='smbios'
  system
entry name='manufacturer'OpenStack Foundation/entry
entry name='product'OpenStack Nova/entry
entry name='version'2014.2/entry
entry name='serial'57ddf2ff-3374-c04c-002e-b22b53ee7e7f/entry
entry name='uuid'5750b2a4-6679-4965-85c8-bb8273e029b0/entry
  /system
/sysinfo
  os
type arch='x86_64' machine='pc-i440fx-utopic'hvm/type
boot dev='hd'/
smbios mode='sysinfo'/
  /os
  features
acpi/
apic/
  /features
  cpu mode='host-model'
model fallback='allow'/
topology sockets='1' cores='1' threads='1'/
  /cpu
  clock offset='utc'
timer name='pit' tickpolicy='delay'/
timer name='rtc' tickpolicy='catchup'/
timer name='hpet' present='no'/
  /clock
  on_poweroffdestroy/on_poweroff
  on_rebootrestart/on_reboot
  on_crashdestroy/on_crash
  devices
emulator/usr/bin/kvm-spice/emulator
disk type='file' device='disk'
  driver name='qemu' type='qcow2' cache='none'/
  source 
file='/var/lib/nova/instances/5750b2a4-6679-4965-85c8-bb8273e029b0/disk'/
  backingStore type='file' index='1'
format type='raw'/
source 
file='/var/lib/nova/instances/_base/25c59c84252c22479aefb0bad5a5fecdc4fcde40'/
backingStore/
  /backingStore
  target dev='vda' bus='virtio'/
  alias name='virtio-disk0'/
  address type='pci' domain='0x' bus='0x00' slot='0x04' 
function='0x0'/
/disk
disk type='file' device='cdrom'
  driver name='qemu' type='raw' cache='none'/
  source 
file='/var/lib/nova/instances/5750b2a4-6679-4965-85c8-bb8273e029b0/disk.config'/
  backingStore/
  target dev='hdd' bus='ide'/
  readonly/
  alias name='ide0-1-1'/
  address type='drive' controller='0' bus='1' target='0' unit='1'/
/disk
controller type='usb' index='0'
  alias name='usb0'/
  address type='pci' domain='0x' bus='0x00' slot='0x01' 
function='0x2'/
/controller
controller type='pci' index='0' model='pci-root'
  alias name='pci.0'/
/controller
controller type='ide' index='0'
  alias name='ide0'/
  address type='pci' domain='0x' bus='0x00' slot='0x01' 
function='0x1'/
/controller
interface type='bridge'
  mac address='fa:16:3e:56:45:bd'/
  source bridge='qbrae3d1183-49'/
  target dev='tapae3d1183-49'/
  model type='virtio'/
  alias name='net0'/
  address type='pci' domain='0x' bus='0x00' slot='0x03' 
function='0x0'/
/interface
serial type='file'
  source 
path='/var/lib/nova/instances/5750b2a4-6679-4965-85c8-bb8273e029b0/console.log'/
  target port='0'/
  alias name='serial0'/
/serial
serial type='pty'
  source path='/dev/pts/9'/
  target port='1'/
  alias name='serial1'/
/serial
console type='file'
  source 
path='/var/lib/nova/instances/5750b2a4-6679-4965-85c8-bb8273e029b0/console.log'/
  target type='serial' port='0'/
  alias name='serial0'/
/console
input type='tablet' bus='usb'
  alias name='input0'/
/input
input type='mouse' bus='ps2'/
input type='keyboard' bus='ps2'/
graphics type='vnc' port='5905' autoport='yes' listen='0.0.0.0' 
keymap='en-us'
  listen type='address' address='0.0.0.0'/
/graphics
video
  model type='cirrus' vram='9216' heads='1'/
  alias name='video0'/
  address type='pci' domain='0x' bus='0x00' slot='0x02' 
function='0x0'/
/video
memballoon model='virtio'
  alias name='balloon0'/
  address type='pci' domain='0x' bus='0x00' slot='0x05' 
function='0x0'/
  stats period='10'/
/memballoon
  /devices
  seclabel type='dynamic' model='apparmor' relabel='yes'