How can I connect to the spice console with client e.g. spicy?

asked 2013-10-22 04:01:56 -0600

updated 2013-10-24 12:12:04 -0600

How to deal with the following output rather then pointing my browser? I thought I would benefit from using spice ( copy-paste option etc.) but it makes no difference in browser

 [root@tn0 ~]# nova get-spice-console test-b063c8e8-c94f-469c-ba74-e2c3fb43d3f4 spice-html5
    | Type        | Url                                                                                   |
    | spice-html5 | |
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-11-29 06:44:43 -0600

updated 2013-12-04 03:19:36 -0600

The problem is duscussed here:

But I still have no idea how to connect with remote-viewer or spicy

Am I need of spice-http-proxy patches?


After starting spicehttpproxy I still can't understand how to send token to spicy

nova  get-spice-console  9895773f-1e06-4e3b-94e9-1999a7e64019 spice-http    
Type        | Url
spice-http  |

spicy --uri spice://

(spicy:18844): GSpice-WARNING **: unknown key in spice URI parsing: 'token'


You can connect (AND ANYONE!) without any auth like this spicy -h -p 5901 where 5901-5999 ports for vm's. If they are opened in iptables.

edit flag offensive delete link more


The point of the proxy is that port 5901-5999 should not be opened to the world in iptables.

sgordon gravatar imagesgordon ( 2017-02-16 09:04:01 -0600 )edit

I know that this revives a bit old question, but, is there any way to set up a password for spicy?

angaroshi gravatar imageangaroshi ( 2019-05-13 07:36:41 -0600 )edit

answered 2014-09-17 14:37:23 -0600

luowei gravatar image

I confirm that ANYONE can hijack a nova spice console with a spice client command like "spicec -h compute-address -p <5901-5999>

This is on a standard three node build following the latest OPENSTACK INSTALLATION GUIDE FOR UBUNTU 12.04/14.04. Then spice console was configured instead of novnc.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-10-22 04:01:56 -0600

Seen: 4,234 times

Last updated: Sep 17 '14