<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
I installed the nova-consoleauth service and that resolved the problem
of 404 not found. Now I'm getting a cannot connect to the server
127.0.0.1:6080. The IP 127.0.0.1 is strange, because on my nova.conf
file I have the following flags:<br>--vncserver_listen=192.168.100.142<br>--vncserver_proxyclient_address=192.168.100.142<br>--vncproxy_url=http://192.168.100.142:6080<br>--vnc_console_proxy_url=http://192.168.100.142:6080<br><br>My problem could be because of the localhost IP? I've already tried the port 6081, but with no success.<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: lucianthomaz@hotmail.com<br>To: sleepsonthefloor@gmail.com<br>Date: Fri, 30 Mar 2012 16:30:05 +0000<br>CC: openstack@lists.launchpad.net<br>Subject: Re: [Openstack] Dashboard VNC Console failed to connect to server<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<div dir="ltr">
<span id="ecxrmic1" class="ecxc_ic_i"><span class="link ecxc_icinmenu2"><span dir="ltr" id="ecxInlineMenuTemplateicTmInlineMenuTemplate0_name" title="sleepsonthefloor@gmail.com"><span dir="ltr"></span></span></span></span><span id="ecxrmic1" class="ecxc_ic_i"><span class="link ecxc_icinmenu2"><span dir="ltr" id="ecxInlineMenuTemplateicTmInlineMenuTemplate0_name" title="sleepsonthefloor@gmail.com"><span dir="ltr">Anthony, I tried to add this flags there and do some more things but I didn't have sucess yet.<br><br>I made a question in launchpad with all my network configurations and my log. Can you see that please?<br><br>Thank you.<br><br>https://answers.launchpad.net/nova/+question/192153<br id="ecxFontBreak"></span></span></span></span><br><br><div><font color="#333399" face="Tahoma" size="2"><strong>Lucian Thomaz</strong></font><br></div><br><br><div><div id="ecxSkyDrivePlaceholder"></div><hr id="ecxstopSpelling">Date: Thu, 29 Mar 2012 12:28:24 -0700<br>Subject: Re: [Openstack] Dashboard VNC Console failed to connect to server<br>From: sleepsonthefloor@gmail.com<br>To: lucianthomaz@hotmail.com<br>CC: openstack@lists.launchpad.net<br><br><div>Here are several flags that you must set on your compute host for a multi host deploy:</div><div><br></div><div><span class="ecxApple-style-span" style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;color:rgb(51, 51, 51);line-height:22px"><ul style="margin-right:0px;margin-bottom:15px;margin-left:0px;padding:0px 0px 0px 30px;border-width:0px;font:inherit">
<li style="margin-right:0px;margin-bottom:15px;margin-left:0px;padding:0px;border-width:0px;font:inherit">
<a href="https://github.com/openstack/nova#id3" style="margin-right:0px;margin-bottom:0px;margin-left:0px;padding:0px;border-width:0px;font:inherit;color:rgb(65, 131, 196);text-decoration:none" target="_blank">:option:`--vncserver_listen`</a> - defaults to 127.0.0.1 This is the address that vncservers will bind, and should be overridden in production deployments as a private address. Applies to libvirt only. For multi-host libvirt deployments this should be set to a host management ip on the same network as the proxies.</li>
<li style="margin-right:0px;margin-bottom:15px;margin-left:0px;padding:0px;border-width:0px;font:inherit">
<a href="https://github.com/openstack/nova#id5" style="margin-right:0px;margin-bottom:0px;margin-left:0px;padding:0px;border-width:0px;font:inherit;color:rgb(65, 131, 196);text-decoration:none" target="_blank">:option:`--vncserver_proxyclient_address`</a> - defaults to 127.0.0.1 This is the address of the compute host that nova will instruct proxies to use when connecting to instance vncservers. For all-in-one xen server domU deployments this can be set to 169.254.0.1. For multi-host xen server domU deployments this can be set to a dom0 management ip on the same network as the proxies. For multi-host libvirt deployments this can be set to a host management ip on the same network as the proxies.</li>
<li style="margin-right:0px;margin-bottom:15px;margin-left:0px;padding:0px;border-width:0px;font:inherit">
<a href="https://github.com/openstack/nova#id7" style="margin-right:0px;margin-bottom:0px;margin-left:0px;padding:0px;border-width:0px;font:inherit;color:rgb(65, 131, 196);text-decoration:none" target="_blank">:option:`--novncproxy_base_url=[base url for client connections]`</a> - this is the public base url to which clients will connect. "?token=abc" will be added to this url for the purposes of auth. When using the system as described in this document, an appropriate value is "<a style="margin-right:0px;margin-bottom:0px;margin-left:0px;padding:0px;border-width:0px;font:inherit;color:rgb(65, 131, 196);text-decoration:none" target="_blank">http://$SERVICE_HOST:6080/vnc_auto.html</a>" where SERVICE_HOST is a public hostname.</li>
</ul></span></div><div>Suppose you have 2 servers, APISERVER and COMPUTESERVER:</div><div><br></div><div>APISERVER:</div><div>public hostname = <a href="http://my.server.com" target="_blank">my.server.com</a></div><div>management ip = 192.168.1.1</div>
<div>public ip = 172.24.4.1</div><div><br></div><div>COMPUTESERVER:</div><div>management ip = 192.168.1.2</div><div><br></div><div>Your nova.conf con COMPUTESERVER would need the following flags:</div><div><br></div><div>
<span class="ecxApple-style-span" style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;color:rgb(51, 51, 51);line-height:22px">novncproxy_base_url=</span><span class="ecxApple-style-span" style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;color:rgb(51, 51, 51);line-height:22px"><a href="http://my.server.com:6080/vnc_auto.html" target="_blank">http://my.server.com:6080/vnc_auto.html</a> or </span><span class="ecxApple-style-span" style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;color:rgb(51, 51, 51);line-height:22px">novncproxy_base_url=</span><span class="ecxApple-style-span" style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;color:rgb(51, 51, 51);line-height:22px">http://</span>172.24.4.1<span class="ecxApple-style-span" style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;color:rgb(51, 51, 51);line-height:22px">:6080/vnc_auto.html</span></div>
<div><span class="ecxApple-style-span" style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;color:rgb(51, 51, 51);line-height:22px">vncserver_proxyclient_address=192.168.1.2</span></div><div><span class="ecxApple-style-span" style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;color:rgb(51, 51, 51);line-height:22px">vncserver_listen=192.168.1.2</span></div>
<div><br></div><div>Note that <span class="ecxApple-style-span" style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;color:rgb(51, 51, 51);line-height:22px">novncproxy_base_url references a public ip or hostname (so clients can connect), while the other flags use private ips.</span></div>
<div><br></div><div>For more info:</div><a href="https://github.com/openstack/nova/blob/master/doc/source/runnova/vncconsole.rst" target="_blank">https://github.com/openstack/nova/blob/master/doc/source/runnova/vncconsole.rst</a><div><br>
</div><div><br><div class="ecxgmail_quote">On Thu, Mar 29, 2012 at 11:07 AM, Lucian Thomaz <span dir="ltr"><<a href="mailto:lucianthomaz@hotmail.com">lucianthomaz@hotmail.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="padding-left:1ex">
<div><div dir="ltr">
<font color="#366092" face="Tahoma">Hey guys,</font><div><font color="#366092" face="Tahoma"><br></font></div><div><font color="#366092" face="Tahoma">I'm using Dashboard with a nova-compute installed in another machine, but when I try access VNC Console I get the error "failed to connect to server".</font></div>
<div><font color="#366092" face="Tahoma"><br></font></div><div><font color="#366092" face="Tahoma">Here is the log -> <a href="http://pastebin.com/5DZMfiNE" target="_blank">http://pastebin.com/5DZMfiNE</a></font></div>
<div><font color="#366092" face="Tahoma"><br></font></div><div><font color="#366092" face="Tahoma">Anyone already saw this trouble?<span class="ecxHOEnZb"><font color="#888888"><br></font></span></font><span class="ecxHOEnZb"><font color="#888888"><br>
<br><div><font color="#333399" face="Tahoma"><strong>Lucian Thomaz </strong></font></div><br></font></span></div> </div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div></div> </div>
<br>_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp</div> </div></body>
</html>