<div dir="ltr">No problem Jonathan. Abel, could you try this:<div><br></div><div style>nova get-vnc-console instance-id novnc</div><div style><br></div><div style>Does it work? </div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">2013/9/13 Abel Lopez <span dir="ltr"><<a href="mailto:alopgeek@gmail.com" target="_blank">alopgeek@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Thanks both for the tips. I've tried both of your suggestions, and I continue to get the 1006 error.<div>I do notice a brief mention in the VNC status bar about a handshake, I wonder if SSL is required.</div>
<div><div class="h5"><div><br><div><div>On Sep 13, 2013, at 1:11 PM, Jonathan Proulx <<a href="mailto:jon@jonproulx.com" target="_blank">jon@jonproulx.com</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">
<div><div><div><div><div><div>Hi Abel,<br></div><div><br>You may be missing "vnc_enabled=True" on compute nodes.<br></div><div><br><br></div>Here's what I have usng same packages as you have:<br>
<br></div>Controller:<br><br># grep vnc /etc/nova/nova.conf<br>
novncproxy_port=6080<br>novncproxy_host=0.0.0.0<br><br></div>Compute Node:<br># grep vnc /etc/nova/nova.conf<br>vnc_enabled=True<br>vncserver_proxyclient_address=${node_ip}<br>novncproxy_base_url=<a>http://${controller_ip}:6080/vnc_auto.html</a><br>
vncserver_listen=0.0.0.0<br><br></div>I believe Setting
'vncserver_listen=0.0.0.0' is required on the compute hosts if you want
migration to work, though I also think your configured IPs should work
in the non-migratory case.<br><br></div>-Jon<br><br></div>(PS apologies to Juan for accidentally sending this to him personally...)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 13, 2013 at 3:37 PM, Abel Lopez <span dir="ltr"><<a href="mailto:alopgeek@gmail.com" target="_blank">alopgeek@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello ops,<br>
I'm following the docs for setting novnc_proxy, and starting to get frustrated with the constant "Server disconnected (code: 1006)" message.<br>
<br>
I've setup nova.conf on my controller as:<br>
novncproxy_base_url=<a>http://${public_ip}:6080/vnc_auto.html</a><br>
novncproxy_host=${public_ip}<br>
novncproxy_port=6080<br>
<br>
my compute nodes have<br>
novncproxy_base_url=<a>http://${public_ip_of_the_controller}:6080/vnc_auto.html</a><br>
vncserver_listen=${internal ip of this compute node}<br>
vncserver_proxyclient_address=${internal ip of this compute node}<br>
<br>
If I tail the nova-consoleauth.log while attempting to get a console, I see the correct internal IP for the compute node, and port for the VM.<br>
doing tcpdump on that port on the compute node shows nothing.<br>
<br>
if I telnet to the internal IP and vnc port, I get<br>
Escape character is '^]'.<br>
RFB 003.008<br>
^]close<br>
<br>
and finally I see packets on the tcpdump.<br>
<br>
This is using ubuntu 12.04/grizzly<br>
<br>
nova-novncproxy 1:2013.1.2-0ubuntu1~cloud0<br>
novnc 2012.2~20120906+dfsg-0ubuntu4~cloud0<br>
python-novnc 2012.2~20120906+dfsg-0ubuntu4~cloud0<br>
<br>
Any help or tips would be most appreciated.<br>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</blockquote></div><br></div>
</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Pavlik Salles Juan José</div>
</div>