[openstack-dev] Websocketproxy.py Invalid Token

Murali R muralirdev at gmail.com
Fri Mar 6 21:56:31 UTC 2015


Hi Folks,

My Juno setup does not get the console for VM started and errors out with
1006 error. I struggled for a day changing many things but does not work.
What could I be doing wrong?

The controller has nova-consoleauth and nova-novncproxy services running
and compute the nova-compute.

Controller setting in nova.conf (192.168.20.129 mgmt & 10.145... is
external access):
my_ip = 192.168.20.129
novncproxy_base_url=http://10.145.90.59:6080/vnc_auto.html
vncserver_proxyclient_address = 192.168.20.133

Compute:
vnc_enabled = True
novncproxy_base_url = http://10.145.90.59:6080/vnc_auto.html
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 192.168.20.133

I think this is what the minimum specified for Juno. Two issues

1. nova get-vnc-console always returns link with 127.0.0.1 ip addr
2. The link with IP fixed says "not authorized" and debug message is as
below

2015-03-06 02:15:47.439 31595 TRACE nova.console.websocketproxy   File
"/usr/lib/python2.7/dist-packages/nova/console/websocketproxy.py", line 63,
in new_websocket_client
2015-03-06 02:15:47.439 31595 TRACE nova.console.websocketproxy     raise
Exception(_("Invalid Token"))
2015-03-06 02:15:47.439 31595 TRACE nova.console.websocketproxy Exception:
Invalid Token
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150306/f611b499/attachment.html>


More information about the OpenStack-dev mailing list