<br><br><div class="gmail_quote">On Fri, Mar 30, 2012 at 9:12 AM, Michaël Van de Borne <span dir="ltr"><<a href="mailto:michael.vandeborne@cetic.be">michael.vandeborne@cetic.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Thank you.<br>
    <br>
    I installed the package.<br> </div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">Now I've got this error when I paste the vnc url (which I got with
    nova get-vnc-console) in firefox:<br>
    <pre>Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 347, in handle_one_response
    for data in result:
TypeError: 'NoneType' object is not iterable

and the nova-xvpvncproxy.log looks like this:</pre></div></blockquote><div><br></div><div>nova-xvpvncproxy is designed to work with a java client.  You want to use nova-novncproxy, which is provided as part of the noVNC code from <span class="Apple-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://github.com/cloudbuilders/noVNC.git" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-size:14px;font:inherit;color:rgb(65,131,196);text-decoration:none">http://github.com/cloudbuilders/noVNC.git</a>.</span></div>
<div><span class="Apple-style-span" style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;color:rgb(51,51,51);line-height:22px"><br></span></div><div><span class="Apple-style-span" style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;color:rgb(51,51,51);line-height:22px">More info here: <a href="https://github.com/openstack/nova/blob/master/doc/source/runnova/vncconsole.rst">https://github.com/openstack/nova/blob/master/doc/source/runnova/vncconsole.rst</a></span></div>
<div><span class="Apple-style-span" style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;color:rgb(51,51,51);line-height:22px"><br></span></div><div><span class="Apple-style-span" style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;color:rgb(51,51,51);line-height:22px">I'll be updating that doc today to incorporate some of the feedback from this thread.</span></div>
<div><span class="Apple-style-span" style="font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;color:rgb(51,51,51);line-height:22px"><br></span></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><pre>2012-03-30 18:06:48 AUDIT nova.vnc.xvp_proxy [-] Request: GET /console?token=e77c1d12-c375-4b42-a165-f3d937bf2c41 HTTP/1.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Connection: keep-alive
Content-Type: text/plain
Cookie: csrftoken=4a9047c0e8eccd8a86da788412550c46; sessionid=fad912a6dbe83526e861546b3cf7ee68
Host: <a href="http://172.22.22.1:6081" target="_blank">172.22.22.1:6081</a>
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0
2012-03-30 18:06:48 DEBUG nova.rpc.amqp [req-22f145a1-7834-4483-a1bf-f94ae9e53c1d None None] Making asynchronous call on consoleauth ... from (pid=16674) multicall /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py:321
2012-03-30 18:06:48 DEBUG nova.rpc.amqp [req-22f145a1-7834-4483-a1bf-f94ae9e53c1d None None] MSG_ID is c90d93874b33438ca4e8ffca54ee48d8 from (pid=16674) multicall /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py:324
2012-03-30 18:06:48 DEBUG nova.rpc.amqp [req-22f145a1-7834-4483-a1bf-f94ae9e53c1d None None] Pool creating new connection from (pid=16674) create /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py:59
2012-03-30 18:06:48 INFO nova.rpc.common [req-22f145a1-7834-4483-a1bf-f94ae9e53c1d None None] Connected to AMQP server on <a href="http://172.22.22.1:5672" target="_blank">172.22.22.1:5672</a>
2012-03-30 18:06:48 AUDIT nova.vnc.xvp_proxy [req-22f145a1-7834-4483-a1bf-f94ae9e53c1d None None] Unexpected error: [Errno 111] ECONNREFUSED

any help appreciated,

thank you


</pre><div class="im">
    <br>
    <br>
    <pre cols="72">Michaël Van de Borne
R&D Engineer, SOA team, CETIC
Phone: <a href="tel:%2B32%20%280%2971%2049%2007%2045" value="+3271490745" target="_blank">+32 (0)71 49 07 45</a> Mobile: <a href="tel:%2B32%20%280%29472%2069%2057%2016" value="+32472695716" target="_blank">+32 (0)472 69 57 16</a>, Skype: mikemowgli
<a href="http://www.cetic.be" target="_blank">www.cetic.be</a>, rue des Frères Wright, 29/3, B-6041 Charleroi
</pre>
    <br></div>
    Le 30/03/12 17:51, Guilherme Birk a écrit :
    <div><div class="h5"><blockquote type="cite">
      
      <div dir="ltr">
        Michael, try to install nova-consoleauth, like Anthony said. The
        old error was fixed when I installed it, now I'm having another
        issue, but now I think it's related to my network.<br>
        <br>
        <div>
          <hr>Date: Fri, 30 Mar 2012 16:36:14 +0200<br>
          From: <a href="mailto:michael.vandeborne@cetic.be" target="_blank">michael.vandeborne@cetic.be</a><br>
          To: <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
          Subject: Re: [Openstack] Dashboard VNC Console failed to
          connect to server<br>
          <br>
          
          
          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>
            
            <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 href="http://192.168.100.142:6080/vnc_auto.html" target="_blank">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 href="http://192.168.100.142:6080/vnc_auto.html" target="_blank">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 href="http://192.168.100.142/nova/instances_and_volumes/instances/7376e17b-e329-4b8b-b5fc-076e8a80c058/None" target="_blank">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 href="http://pastebin.com/wSuyctrg" target="_blank">http://pastebin.com/wSuyctrg</a><br>
              <br>
              Thanks for your time.<br>
              Guilherme Birk.<br>
              <br>
              <div>
                <hr>Date: Thu, 29 Mar 2012 13:06:37
                -0700<br>
                Subject: Re: [Openstack] Dashboard VNC Console failed to
                connect to server<br>
                From: <a href="mailto:sleepsonthefloor@gmail.com" target="_blank">sleepsonthefloor@gmail.com</a><br>
                To: <a href="mailto:guibirk@hotmail.com" target="_blank">guibirk@hotmail.com</a><br>
                CC: <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
                <br>
                How are you generating this link: <span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(34,34,34)"><a 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 color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse"><br>
                    </span></font></div>
                <div><font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse">It looks like if
                      horizon is behaving nicely the link would look
                      like </span></font><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(34,34,34)"><a 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>On Thu, Mar 29, 2012 at
                    11:52 AM, Guilherme Birk <span dir="ltr"><<a href="mailto:guibirk@hotmail.com" target="_blank">guibirk@hotmail.com</a>></span>
                    wrote:<br>
                    <blockquote>
                      <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 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 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>
                              <hr>From: <a href="mailto:lucianthomaz@hotmail.com" target="_blank">lucianthomaz@hotmail.com</a><br>
                              To: <a href="mailto:openstack@lists.launchpad.net" target="_blank">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><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 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>_______________________________________________
Mailing

                              list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
                              Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
                              Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
                              More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a></div>
                          </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" target="_blank">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>
            <fieldset></fieldset>
            <br>
            <pre>_______________________________________________
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
          </blockquote>
          <br>
          _______________________________________________
          Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
          Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
          Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
          More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a></div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
    </blockquote>
  </div></div></div>

<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" 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/~openstack" 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>