<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I'm getting forward here.<br>
    <br>
    I installed nova-consoleauth<br>
    apt-get install nova-consoleauth<br>
    <br>
    and I get these settings in nova.conf:<br>
    <br>
    --vnc_enabled=true<br>
    --vncproxy_url=<a class="moz-txt-link-freetext" href="http://172.22.22.1:6080">http://172.22.22.1:6080</a><br>
    --vnc_console_proxy_url=<a class="moz-txt-link-freetext" href="http://172.22.22.1:6080">http://172.22.22.1:6080</a><br>
    --vncserver_listen=10.18.9.1<br>
    --novncproxy_base_url=<a class="moz-txt-link-freetext" href="http://172.22.22.1:6080/vnc_auto.html">http://172.22.22.1:6080/vnc_auto.html</a><br>
    --xvpvncproxy_base_url=<a class="moz-txt-link-freetext" href="http://172.22.22.1:6081/console">http://172.22.22.1:6081/console</a><br>
    --xvpvncproxy_host=172.22.22.1<br>
    --xvpvncproxy_port=6081<br>
    <br>
    172.22.22.1 being the 'public' NIC, and 10.18.9.1 being the private
    one (for VM deployements)<br>
    <br>
    <br>
    Now, the command <br>
    nova get-vnc-console servername xvpvnc<br>
    gives me the url.<br>
    <br>
    The error in the dashboard has changed. It now says it cannot
    establish connection to 172.22.22.1:6080 (which is the noVNC port
    whereas I'm using xvpvnc). So I guess I need to tell the dashboard
    to try on 6081. Which setting is that?<br>
    <br>
    <br>
    <pre class="moz-signature" cols="72">Michaël Van de Borne
R&D Engineer, SOA team, CETIC
Phone: +32 (0)71 49 07 45 Mobile: +32 (0)472 69 57 16, Skype: mikemowgli
<a class="moz-txt-link-abbreviated" href="http://www.cetic.be">www.cetic.be</a>, rue des Frères Wright, 29/3, B-6041 Charleroi
</pre>
    <br>
    Le 30/03/12 16:36, Michaël Van de Borne a écrit :
    <blockquote cite="mid:4F75C4DE.9020009@cetic.be" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      I've got the same problem.<br>
      <br>
      When I try to connect to the instance using VNC through the
      dashboard, I've got this error. I then went in
      /var/log/nova/nova-xvpvncproxy.log and it contains nothing related
      to any attempt to get connected to any instance. It seems this
      nova-xvpvncproxy process doesn't notice anything.<br>
      <br>
      <br>
      When I try to connect using VNC through virt-manager, it works.<br>
      <br>
      <br>
      Le 30/03/12 15:50, Guilherme Birk a écrit :
      <blockquote cite="mid:COL103-W21B014B47300757014F0BFA6490@phx.gbl"
        type="cite">
        <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
        <div dir="ltr"> Thanks for the reply.<br>
          <br>
          I've added the flags that you mentioned on my nova.conf file.
          I'm using a all in one installation, the flags are configured
          this way.<br>
          --vncserver_listen=127.0.0.1<br>
          --vncserver_proxyclient_address=127.0.0.1<br>
          --novncproxy_base_url=<a moz-do-not-send="true"
            class="moz-txt-link-freetext"
            href="http://192.168.100.142:6080/vnc_auto.html">http://192.168.100.142:6080/vnc_auto.html</a><br>
          <br>
          The public IP of the machine with the OpenStack installation
          is 192.168.100.142.<br>
          I've tried to access via browser the address <a
            moz-do-not-send="true" class="moz-txt-link-freetext"
            href="http://192.168.100.142:6080/vnc_auto.html">http://192.168.100.142:6080/vnc_auto.html</a>
          from another machine, but I got nothing.<br>
          <br>
          I can ping and ssh my instances from the OpenStack machine but
          can't use VNC tab at dashboard page from another machine. The
          details and other pages from dashboard are fine.<br>
          Should I associate a public address for my instances? I'm
          using just the private address at them (10.0.0.2, 10.0.0.3,
          ...).<br>
          <br>
          I've restarted all the services and created new instances
          after changing the nova.conf, but nothing has changed.<br>
          <br>
          The error is a 404 not found. (<strong>Error: </strong>Unable
          to get VNC console for instance
          "7376e17b-e329-4b8b-b5fc-076e8a80c058".)<br>
          The log from dashboards page looks like this:<br>
              - Page Not Found (404)<br>
              - Requested method: GET<br>
              - Requested URL: <b><a moz-do-not-send="true"
              class="moz-txt-link-freetext"
href="http://192.168.100.142/nova/instances_and_volumes/instances/7376e17b-e329-4b8b-b5fc-076e8a80c058/None">http://192.168.100.142/nova/instances_and_volumes/instances/7376e17b-e329-4b8b-b5fc-076e8a80c058/None</a></b><br>
          <br>
          This is the nova-api.log relative to the VNC atempt: <a
            moz-do-not-send="true" href="http://pastebin.com/wSuyctrg">http://pastebin.com/wSuyctrg</a><br>
          <br>
          Thanks for your time.<br>
          Guilherme Birk.<br>
          <br>
          <div>
            <hr id="stopSpelling">Date: Thu, 29 Mar 2012 13:06:37 -0700<br>
            Subject: Re: [Openstack] Dashboard VNC Console failed to
            connect to server<br>
            From: <a moz-do-not-send="true"
              class="moz-txt-link-abbreviated"
              href="mailto:sleepsonthefloor@gmail.com">sleepsonthefloor@gmail.com</a><br>
            To: <a moz-do-not-send="true"
              class="moz-txt-link-abbreviated"
              href="mailto:guibirk@hotmail.com">guibirk@hotmail.com</a><br>
            CC: <a moz-do-not-send="true"
              class="moz-txt-link-abbreviated"
              href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
            <br>
            How are you generating this link: <span
              class="ecxApple-style-span"
style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(34,34,34)"><a
                moz-do-not-send="true"
href="http://192.168.100.142/nova/instances_and_volumes/instances/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/None"
                style="color:rgb(17,85,204)" target="_blank">http://192.168.100.142/nova/instances_and_volumes/instances/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/None</a> ?</span>
            <div> <font class="ecxApple-style-span" color="#222222"
                face="arial, sans-serif"><span
                  class="ecxApple-style-span"
                  style="border-collapse:collapse"><br>
                </span></font></div>
            <div><font class="ecxApple-style-span" color="#222222"
                face="arial, sans-serif"><span
                  class="ecxApple-style-span"
                  style="border-collapse:collapse">It looks like if
                  horizon is behaving nicely the link would look like </span></font><span
                class="ecxApple-style-span"
style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(34,34,34)"><a
                  moz-do-not-send="true"
href="http://192.168.100.142/nova/instances_and_volumes/instances/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/None"
                  style="color:rgb(17,85,204)" target="_blank">http://192.168.100.142/nova/instances_and_volumes/instances/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/vnc</a></span></div>
            <div><br>
            </div>
            <div>Also, could you pastie your nova-api.log somewhere?</div>
            <div><br>
            </div>
            <div>A</div>
            <div><br>
            </div>
            <div>
              <div class="ecxgmail_quote">On Thu, Mar 29, 2012 at 11:52
                AM, Guilherme Birk <span dir="ltr"><<a
                    moz-do-not-send="true"
                    href="mailto:guibirk@hotmail.com">guibirk@hotmail.com</a>></span>
                wrote:<br>
                <blockquote class="ecxgmail_quote"
                  style="border-left:1px #ccc solid;padding-left:1ex">
                  <div>
                    <div dir="ltr"> I'm having problems with it too. I'm
                      trying to connect on my instances in the VNC tab
                      at the dashboard, but I'm getting a 404 not found
                      in the URL <a moz-do-not-send="true"
href="http://192.168.100.142/nova/instances_and_volumes/instances/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/None"
                        target="_blank">http://192.168.100.142/nova/instances_and_volumes/instances/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/None</a><br>
                      <br>
                      Here is my nova-api.log. Looks like nova is having
                      problems with the POST at <a
                        moz-do-not-send="true"
href="http://localhost:8774/v1.1/db742491018d467690ba7d3a7bb383a5/servers/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/action"
                        target="_blank">http://localhost:8774/v1.1/db742491018d467690ba7d3a7bb383a5/servers/5307a5c5-249b-4eda-b6e4-5b17d349e8ee/action</a>.<br>
                      <br>
                      Any suggestions ?<br>
                      <div>
                        <div class="ecxhm ecxHOEnZb">
                          <hr>From: <a moz-do-not-send="true"
                            href="mailto:lucianthomaz@hotmail.com">lucianthomaz@hotmail.com</a><br>
                          To: <a moz-do-not-send="true"
                            href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
                          Date: Thu, 29 Mar 2012 18:07:59 +0000<br>
                          Subject: [Openstack] Dashboard VNC Console
                          failed to connect to server</div>
                        <div>
                          <div class="h5"><br>
                            <br>
                            <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
                                    moz-do-not-send="true"
                                    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?<br>
                                </font><br>
                                <br>
                                <div><font color="#333399" face="Tahoma"><strong>Lucian

                                      Thomaz </strong></font></div>
                                <br>
                              </div>
                            </div>
                            <br>
                          </div>
                        </div>
                        <div class="ecxim">_______________________________________________
Mailing

                          list: <a moz-do-not-send="true"
                            href="https://launchpad.net/%7Eopenstack"
                            target="_blank">https://launchpad.net/~openstack</a>
                          Post to : <a moz-do-not-send="true"
                            href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
                          Unsubscribe : <a moz-do-not-send="true"
                            href="https://launchpad.net/%7Eopenstack"
                            target="_blank">https://launchpad.net/~openstack</a>
                          More help : <a moz-do-not-send="true"
                            href="https://help.launchpad.net/ListHelp"
                            target="_blank">https://help.launchpad.net/ListHelp</a></div>
                      </div>
                    </div>
                  </div>
                  <br>
                  _______________________________________________<br>
                  Mailing list: <a moz-do-not-send="true"
                    href="https://launchpad.net/%7Eopenstack"
                    target="_blank">https://launchpad.net/~openstack</a><br>
                  Post to     : <a moz-do-not-send="true"
                    href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
                  Unsubscribe : <a moz-do-not-send="true"
                    href="https://launchpad.net/%7Eopenstack"
                    target="_blank">https://launchpad.net/~openstack</a><br>
                  More help   : <a moz-do-not-send="true"
                    href="https://help.launchpad.net/ListHelp"
                    target="_blank">https://help.launchpad.net/ListHelp</a><br>
                  <br>
                </blockquote>
              </div>
              <br>
            </div>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Mailing list: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a>
Post to     : <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a>
More help   : <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help   : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
    </blockquote>
  </body>
</html>