Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ubuntu 12.04.4, is qemu-kvm-spice required when using spice?

I am using Havana on Ubuntu12.04 and using spice instead of novnc as per [https://ask.openstack.org/en/question/26123/horizon-sends-wrong-rest-request-when-spice-is-enabled/].

Controller:

 apt-get install nova-spiceproxy spice-html5 spice-vdagent

Compute:

apt-get install spice-vdagent

SPICE appears to work (except for QXL not being used for some reason but not in the scope of this question).

When doing

apt-get install qemu-kvm-spice

The installed qemu-kvm module is removed and replaced by qemu-kvm-spice.

The problem is that changing the module to qemu-kvm-spice works for some VMs(default cirros test image for example) but not with ubuntu desktop images (initramfs fails to load hard drive).

At this point, it is unclear to me is whether the qemu-kvm-spice module needs to be used on the compute nodes when using the spice console? There are posts on devstack + ubuntu suggesting to install it. But then why the VM error when launching?

Thanks for help

ubuntu 12.04.4, is qemu-kvm-spice required when using spice?

I am using Havana on Ubuntu12.04 and using spice instead of novnc as per [https://ask.openstack.org/en/question/26123/horizon-sends-wrong-rest-request-when-spice-is-enabled/].

Controller:

 apt-get install nova-spiceproxy spice-html5 spice-vdagent

Compute:

apt-get install spice-vdagent

SPICE appears to work (except for QXL not being used for some reason but not in the scope of this question).

When doing

apt-get install qemu-kvm-spice

The installed qemu-kvm module is removed and replaced by qemu-kvm-spice.

The problem is that changing the module to qemu-kvm-spice works for some VMs(default cirros test image for example) but not with ubuntu desktop images (initramfs fails to load hard drive).

At this point, it is unclear to me is whether the qemu-kvm-spice module needs to be used on the compute nodes when using the spice console? There are posts on devstack + ubuntu suggesting to install it. But then why the VM error when launching?

Thanks for help

Adding the dumpxml files link: http://pastebin.com/MTHDY0XC It seems that in my 12.04 environment it is using the following emulator: <devices> <emulator>/usr/bin/kvm-spice</emulator>

Which might explain why it works when spice is enabled. But without requiring the qemu-kvm-spice package.

root@kds-openstack-05:/home/ericsson# dpkg -l | grep spice
ii  libspice-server1                 0.12.4-0nocelt1ubuntu0.1~cloud0             Implements the server side of the SPICE protocol
ii  spice-vdagent                    0.8.1-1                                     Spice agent for Linux