<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi,</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>I have a cloud constructed on ubuntu12.04 with openstack essex.</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 class="tab"> -<span style="font-weight: bold;">controller node</span>: 10.205.16.18</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 class="tab"> The configuration regarding vnc:</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 class="tab"> </span>--vncserver_host=0.0.0.0<br><span class="tab"> </span>--vncproxy_url=http://10.205.16.18:6080<br><span class="tab"> </span>--ajax_console_proxy_url=http://10.205.16.18:8000<br><span class="tab"> --novnc_enabled=true<br></span><span class="tab"> </span><span class="tab">--novncproxy_base_url=http://10.205.16.18:6080/vnc_auto.html<br></span><span class="tab"> </span><span class="tab">--vncserver_proxyclient_address=10.205.16.18<br></span><span class="tab"> </span><span class="tab">-</span><span
class="tab">-vncserver_listen=10.205.16.18<br></span><br><span class="tab"> -<span style="font-weight: bold;">compute node</span>:10.205.16.241<br></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 class="tab"> --vncproxy_url=http://10.205.16.18:6080<br></span><span class="tab"> </span><span class="tab">--ajax_console_proxy_url=http://10.205.16.18:8000</span></div><span class="tab"> </span>--novnc_enabled=true<br><span class="tab"> </span>--novncproxy_base_url=http://10.205.16.18:6080/vnc_auto.html<br><span class="tab"> </span>--vncserver_proxyclient_address=10.205.16.241<br><span class="tab"> </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" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> 张家龙 <zhangjl@awcloud.com><br> <b><span style="font-weight: bold;">To:</span></b> openstack <openstack@lists.launchpad.net> <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> <br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv1972115851">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 10.0.0.0/8<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;color:#000;"><div>
<div>Best Regards</div>
<div> </div>
<div>ZhangJialong</div></div></div></div><div></div><div> </div></div><meta http-equiv="x-dns-prefetch-control" content="on"><br>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>Post to : <a ymailto="mailto:openstack@lists.launchpad.net" 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><br> </div> </div> </div></body></html>