Ask Your Question
3

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

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

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

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 | http://192.168.250.20:6082/spice_auto.html?token=72f33b00-2b9c-4de9-a885-bc15c3c78924 |
    +-------------+---------------------------------------------------------------------------------------+
edit retag flag offensive close delete

1 answer

Sort by ยป oldest newest most voted
0

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

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

The problem is duscussed here: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=913607

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

Am I need of spice-http-proxy patches? https://blueprints.launchpad.net/nova/+spec/spice-http-proxy


Update:


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  | http://192.168.0.10:6083/?token=3c303f00-10cf-42f3-93a3-491588ee2fe0

spicy --uri spice://192.168.0.1:6083/?token=3c303f00-10cf-42f3-93a3-491588ee2fe0

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

Update:

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

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

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

Seen: 342 times

Last updated: Dec 04 '13