[openstack-dev] Error when starting a new VM when using SPICE

Endre Karlson endre.karlson at gmail.com
Tue Apr 2 20:05:11 UTC 2013

Hi, I am using DevStack with SPICE enabled for console access on Ubuntu
12.04 in a VM.

./screen-n-sch.2013-04-02-142920.log:2013-04-02 14:38:39    ERROR
[nova.scheduler.filter_scheduler] Error from last host: controller-01 (node
controller-01): [u'Traceback (most recent call last):\n', u'  File
"/opt/stack/nova/nova/compute/manager.py", line 834, in _run_instance\n
 set_access_ip=set_access_ip)\n', u'  File
"/opt/stack/nova/nova/compute/manager.py", line 1093, in _spawn\n
 LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'
 File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n
 self.gen.next()\n', u'  File "/opt/stack/nova/nova/compute/manager.py",
line 1089, in _spawn\n    block_device_info)\n', u'  File
"/opt/stack/nova/nova/virt/libvirt/driver.py", line 1520, in spawn\n
 block_device_info)\n', u'  File
"/opt/stack/nova/nova/virt/libvirt/driver.py", line 2435, in
_create_domain_and_network\n    domain = self._create_domain(xml,
instance=instance)\n', u'  File
"/opt/stack/nova/nova/virt/libvirt/driver.py", line 2396, in
_create_domain\n    domain.createWithFlags(launch_flags)\n', u'  File
"/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 187, in
doit\n    result = proxy_call(self._autowrap, f, *args, **kwargs)\n', u'
 File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 147,
in proxy_call\n    rv = execute(f,*args,**kwargs)\n', u'  File
"/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 76, in
tworker\n    rv = meth(*args,**kwargs)\n', u'  File
"/usr/lib/python2.7/dist-packages/libvirt.py", line 581, in
createWithFlags\n    if ret == -1: raise libvirtError
(\'virDomainCreateWithFlags() failed\', dom=self)\n', u'libvirtError:
internal error Process exited while reading console log output:
qemu-system-x86_64: -spice port=5900,addr=,disable-ticketing:
there is no option group "spice"\nspice is not supported by this qemu

The above is the error. I saw a e-mail earlier saying I need a spice qemu
package which I have installed:
root at controller-01:/opt/stack/logs/screen# dpkg -l | grep spice
ii  libspice-server1                  0.10.0-1
      Implements the server side of the SPICE protocol
ii  qemu-kvm-spice                    1.0.50-2012.03-0ubuntu2.1
     Full virtualization on amd64 hardware

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130402/e5da4ee9/attachment.html>

More information about the OpenStack-dev mailing list