[Openstack] Fwd: Websocketproxy.py Invalid Token
Murali R
muralirdev at gmail.com
Sat Mar 7 00:53:37 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.
Can someone let me know how I can debug this?
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
I think if the get-vnc-console returns correct IP address instead of like
http://127.0.0.1:6080/vnc_auto.html?token=8115244e-0e3a-4051-9fb5-4fef210ebfa9
maybe that's why the don't match? I could never figure why the IP is not
getting inserted right. I have tried specifying the novncproxy host
separately etc.If I can get some pointers to look at/debug I will greatly
appreciate.
Thanks
Murali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150306/79711431/attachment.html>
More information about the Openstack
mailing list