<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Olivier,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Which version of openstack are you using? Essex or Folsom? On which operating system is your cloud installed (Fedora or Ubuntu)?</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">In my setup, which is Openstack Essex on Ubuntu12.04 I obtain:</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif;
 background-color: transparent; font-style: normal;">root@hltopenstack01:~$ nova get-vnc-console 1fc2cea1-9aec-4d7d-b80e-eab436ae3246 novnc<br>+-------+-----------------------------------------------------------------------------------+<br>|  Type |                                        Url                                        |<br>+-------+-----------------------------------------------------------------------------------+<br>| novnc | http://10.205.16.18:6080/vnc_auto.html?token=17210200-4622-4480-9b0f-1ca4ffe6fc75 |<br><br></div><div><span>The value
 </span>http://10.205.16.18:6080/vnc_auto.html corresponds in nova.conf to the parameter: <span> </span><span>--novncproxy_base_url=<a rel="nofollow" target="_blank" href="http://10.205.16.18:6080/vnc_auto.html">http://10.205.16.18:6080/vnc_auto.html</a></span></div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Beside this I saw that you are from France. It will be an event regarding openstack in Paris on 29 November. Are you interested?...:)</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Regards,</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
 times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Gabriel<br></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Olivier Archer <olivier.archer@ifremer.fr><br> <b><span style="font-weight: bold;">To:</span></b> Staicu Gabriel <gabriel_staicu@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> 张家龙 <zhangjl@awcloud.com>; openstack <openstack@lists.launchpad.net> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, October 26, 2012 11:36 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Openstack] Questions about novnc with multihost OpenStack Nova Compute(Essex) in multihost<br> </font> </div>
 <br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv780123460">Hi,<div>  This work also for me exept tha the url is localhost based:</div><div><div>$nova get-vnc-console landsat01 novnc</div><div>| novnc | http://127.0.0.1:6080/vnc_auto.html?token=6137dcb5-41b4-46fb-9c42-76c97e961e69 |</div>

<div><br></div><div>So it doesn't work in the dashboard or if i copy/paste into a browser. But it works if i change 127.0.0.1 to the public ip of the compute node.</div><div><br></div><div>(I am  in a multi host config).</div>

<div><br></div><div>But from where is taken the value of 127.0.0.1 in the config file ? You have no references to it in the configuration you posted...</div><div><br></div><div>Regards,</div><div><br></div><br><div class="yiv780123460gmail_quote">

2012/10/25 Staicu Gabriel <span dir="ltr"><<a rel="nofollow" ymailto="mailto:gabriel_staicu@yahoo.com" target="_blank" href="mailto:gabriel_staicu@yahoo.com">gabriel_staicu@yahoo.com</a>></span><br><blockquote class="yiv780123460gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><div><span>Hi,</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">

<br><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><span>I have a cloud constructed on ubuntu12.04 with openstack essex.</span></div>

<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><br><span>    -<span style="font-weight:bold;">controller node</span>: 10.205.16.18</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">

<span>    The configuration regarding vnc:</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><span>    </span>--vncserver_host=0.0.0.0<br>

<span>    </span>--vncproxy_url=<a rel="nofollow" target="_blank"  href="http://10.205.16.18:6080/">http://10.205.16.18:6080</a><br><span>    </span>--ajax_console_proxy_url=<a rel="nofollow" target="_blank"  href="http://10.205.16.18:8000/">http://10.205.16.18:8000</a><br>

<span>    --novnc_enabled=true<br></span><span>    </span><span>--novncproxy_base_url=<a rel="nofollow" target="_blank"  href="http://10.205.16.18:6080/vnc_auto.html">http://10.205.16.18:6080/vnc_auto.html</a><br></span><span>    </span><span>--vncserver_proxyclient_address=10.205.16.18<br>

</span><span>    </span><span>-</span><span>-vncserver_listen=10.205.16.18<br></span><br><span>    -<span style="font-weight:bold;">compute node</span>:10.205.16.241<br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">

<span>    --vncproxy_url=<a rel="nofollow" target="_blank"  href="http://10.205.16.18:6080/">http://10.205.16.18:6080</a><br></span><span>    </span><span>--ajax_console_proxy_url=<a rel="nofollow" target="_blank"  href="http://10.205.16.18:8000/">http://10.205.16.18:8000</a></span></div>

<span>    </span>--novnc_enabled=true<br><span>    </span>--novncproxy_base_url=<a rel="nofollow" target="_blank"  href="http://10.205.16.18:6080/vnc_auto.html">http://10.205.16.18:6080/vnc_auto.html</a><br><span>    </span>--vncserver_proxyclient_address=10.205.16.241<br>

<span>    </span>--vncserver_listen=10.205.16.241<br><br>And everything works ok.<br>Hope this
 help.<br><br>Regards,<br>Gabriel<br><div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial"> <hr size="1">

  <b><span style="font-weight:bold;">From:</span></b> 张家龙 <<a rel="nofollow" ymailto="mailto:zhangjl@awcloud.com" target="_blank" href="mailto:zhangjl@awcloud.com">zhangjl@awcloud.com</a>><br> <b><span style="font-weight:bold;">To:</span></b> openstack <<a rel="nofollow" ymailto="mailto:openstack@lists.launchpad.net" target="_blank" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>> <br>

 <b><span style="font-weight:bold;">Sent:</span></b> Thursday, October 25, 2012 9:43 AM<br> <b><span style="font-weight:bold;">Subject:</span></b> [Openstack] Questions about novnc with multihost OpenStack Nova Compute(Essex) in multihost<br>

 </font> </div><div><div class="yiv780123460h5"> <br>
<div>Dear all,<br>    I have some questions about OpenStack Nova Compute(Essex) using novnc.<br>    I build a cluster using 4 computers with OpenStack Nova Compute in multihost.<br>    The follows were informations of my cluster:<br>

    <br>    nova01:compute server,api server,controller server  192.168.3.3<br>    nova02:compute server                               192.168.3.4<br>    nova03:compute server                               192.168.3.5<br>

    nova04:compute
 server                               192.168.3.6<br>    <br>    And the vms`s fixed was <a rel="nofollow" target="_blank"  href="http://10.0.0.0/8">10.0.0.0/8</a><br>    <br>    Here was my nova.conf:<br>    http://pastebin.com/K6ArR1HA<br>

    <br>    While,when i executed the command <br>    "nova get-vnc-console <servername> novnc"<br>    then,error occured.<br>    <br>    Here were the error informations:<br>    <br>    2012-10-25 14:25:27 ERROR nova.rpc.impl_qpid [req-1ad62be7-8eeb-43a5-898c-f3552b9f7748 3faf7062208c456c9a9365ee50bf15cd 561a547e94c7<br>

    4ce797d0ef1f4bc91f91] Timed out waiting for RPC response: None<br>    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid Traceback (most recent call
 last):<br>    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid   File "/usr/lib/python2.6/site-packages/nova/rpc/impl_qpid.py", line 364, in ensure<br>    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid     return method(*args, **kwargs)<br>

    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid   File "/usr/lib/python2.6/site-packages/nova/rpc/impl_qpid.py", line 413, in _consume<br>    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid     nxt_receiver = self.session.next_receiver(timeout=timeout)<br>

    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid   File "<string>", line 6, in next_receiver<br>    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid   File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 651, in nex<br>

    t_receiver<br>    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid     raise Empty<br> 
   2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid Empty: None<br>    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid<br>    2012-10-25 14:25:27 ERROR nova.api.openstack [req-1ad62be7-8eeb-43a5-898c-f3552b9f7748 3faf7062208c456c9a9365ee50bf15cd 561a547e94c7<br>

    4ce797d0ef1f4bc91f91] Caught error: Timeout while waiting on RPC response.<br>    2012-10-25 14:25:27 TRACE nova.api.openstack Traceback (most recent call last):<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/api/openstack/__init__.py", line 82, in _<br>

    _call__<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     return req.get_response(self.application)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/request.py", line<br>

    1053, in
 get_response<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     application, catch_exc_info=False)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/request.py", line<br>

    1022, in call_application<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/keystone/middleware/auth_token.py", line 176,<br>

    in __call__<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     return self.app(env, start_response)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 159,<br>

     in __call__<br>   
 2012-10-25 14:25:27 TRACE nova.api.openstack     return resp(environ, start_response)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 159,<br>

     in __call__<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     return resp(environ, start_response)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 159,<br>

     in __call__<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     return resp(environ, start_response)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/Routes-1.12.3-py2.6.egg/routes/middleware.py",<br>

     line 131, in __call__<br>    2012-10-25 14:25:27 TRACE
 nova.api.openstack     response = self.app(environ, start_response)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 159,<br>

     in __call__<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     return resp(environ, start_response)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 147,<br>

     in __call__<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 208,<br>

     in call_func<br>    2012-10-25 14:25:27 TRACE
 nova.api.openstack     return self.func(req, *args, **kwargs)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py", line 806, in __ca<br>    ll__<br>

    2012-10-25 14:25:27 TRACE nova.api.openstack     content_type, body, accept)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py", line 854, in _pro<br>

    cess_stack<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py", line 929, in disp<br>

    atch<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     return
 method(req=request, **action_args)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/api/openstack/compute/contrib/consoles.py<br>    ", line 54, in get_vnc_console<br>

    2012-10-25 14:25:27 TRACE nova.api.openstack     console_type)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/compute/api.py", line 100, in wrapped<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     return func(self, context, target, *args, **kwargs)<br>

    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/compute/api.py", line 1553, in get_vnc_co<br>    nsole<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     connect_info['internal_access_path']}})<br>

    2012-10-25 14:25:27 TRACE
 nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/rpc/__init__.py", line 68, in call<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     return _get_impl().call(context, topic, msg, timeout)<br>

    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/rpc/impl_qpid.py", line 526, in call<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     return rpc_amqp.call(context, topic, msg, timeout, Connection.pool)<br>

    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/rpc/amqp.py", line 343, in call<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     rv = list(rv)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/rpc/amqp.py", line 304, in __iter__<br>

    2012-10-25 14:25:27
 TRACE nova.api.openstack     self.done()<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     self.gen.next()<br>

    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/rpc/amqp.py", line 301, in __iter__<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     self._iterator.next()<br>

    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/rpc/impl_qpid.py", line 422, in iterconsu<br>    me<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     yield self.ensure(_error_callback, _consume)<br>

    2012-10-25 14:25:27 TRACE nova.api.openstack   File
 "/usr/lib/python2.6/site-packages/nova/rpc/impl_qpid.py", line 368, in ensure<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     error_callback(e)<br>    2012-10-25 14:25:27 TRACE nova.api.openstack   File "/usr/lib/python2.6/site-packages/nova/rpc/impl_qpid.py", line 407, in _error_ca<br>

    llback<br>    2012-10-25 14:25:27 TRACE nova.api.openstack     raise rpc_common.Timeout()<br>    2012-10-25 14:25:27 TRACE nova.api.openstack Timeout: Timeout while waiting on RPC response.<br><br>    Is there anyone can help me?<br>

    Waiting your reply.<br><br><div><div style="color:#909090;font-family:Arial Narrow;font-size:12px;">------------------</div><div style="font-size:14px;font-family:Verdana;"><div>
<div>Best Regards</div>
<div> </div>
<div>ZhangJialong</div></div></div></div><div></div><div> </div></div><br></div></div>_______________________________________________<br>Mailing list: <a rel="nofollow" target="_blank" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>

Post to     : <a rel="nofollow" ymailto="mailto:openstack@lists.launchpad.net" target="_blank" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a rel="nofollow" target="_blank" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>

More help   : <a rel="nofollow" target="_blank" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br><br><br> </div> </div>  </div></div><br>_______________________________________________<br>
Mailing list: <a rel="nofollow" target="_blank" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>
Post to     : <a rel="nofollow" ymailto="mailto:openstack@lists.launchpad.net" target="_blank" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a rel="nofollow" target="_blank" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>
More help   : <a rel="nofollow" target="_blank" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Olivier Archer<br>Océanographie spatiale - Ifremer <br>02 98 22 44 84<br>
</div>
</div><meta http-equiv="x-dns-prefetch-control" content="on"><br><br> </div> </div>  </div></body></html>