<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi Folks,<div><br></div><div>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?</div><div><br></div><div>The controller has nova-consoleauth and nova-novncproxy services running and compute the nova-compute.</div><div><br></div><div>Controller setting in nova.conf (192.168.20.129 mgmt & 10.145... is external access):</div><div><div>my_ip = 192.168.20.129</div><div>novncproxy_base_url=<a href="http://10.145.90.59:6080/vnc_auto.html" target="_blank">http://10.145.90.59:6080/vnc_auto.html</a><br></div><div>vncserver_proxyclient_address = 192.168.20.133<br></div></div><div><br></div><div>Compute:</div><div><div>vnc_enabled = True</div><div>novncproxy_base_url = <a href="http://10.145.90.59:6080/vnc_auto.html" target="_blank">http://10.145.90.59:6080/vnc_auto.html</a></div><div>vncserver_listen = 0.0.0.0</div><div>vncserver_proxyclient_address = 192.168.20.133</div></div><div><br></div><div>I think this is what the minimum specified for Juno. Two issues</div><div><br></div><div>1. nova get-vnc-console always returns link with 127.0.0.1 ip addr</div><div>2. The link with IP fixed says "not authorized" and debug message is as below</div><div><br></div><div><div>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</div><div>2015-03-06 02:15:47.439 31595 TRACE nova.console.websocketproxy     raise Exception(_("Invalid Token"))</div><div>2015-03-06 02:15:47.439 31595 TRACE nova.console.websocketproxy Exception: Invalid Token</div></div><div><br></div></div>
</div><br><div>I think if the get-vnc-console returns correct IP address instead of like </div><div><a href="http://127.0.0.1:6080/vnc_auto.html?token=8115244e-0e3a-4051-9fb5-4fef210ebfa9">http://127.0.0.1:6080/vnc_auto.html?token=8115244e-0e3a-4051-9fb5-4fef210ebfa9</a><br></div><div>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.</div><div><br></div><div>Thanks</div><div>Murali</div></div>