Hi Olivier,

Which version of openstack are you using? Essex or Folsom? On which operating 
system is your cloud installed (Fedora or Ubuntu)?
In my setup, which is Openstack Essex on Ubuntu12.04 I obtain:
root@hltopenstack01:~$ nova get-vnc-console 
1fc2cea1-9aec-4d7d-b80e-eab436ae3246 novnc
+-------+-----------------------------------------------------------------------------------+
|  Type |                                        
Url                                        |
+-------+-----------------------------------------------------------------------------------+
| novnc | 
http://10.205.16.18:6080/vnc_auto.html?token=17210200-4622-4480-9b0f-1ca4ffe6fc75
 |


The value http://10.205.16.18:6080/vnc_auto.html corresponds in nova.conf to 
the parameter: --novncproxy_base_url=http://10.205.16.18:6080/vnc_auto.html

Beside this I saw that you are from France. It will be an event regarding 
openstack in Paris on 29 November. Are you interested?...:)

Regards,
Gabriel



________________________________
 From: Olivier Archer <olivier.arc...@ifremer.fr>
To: Staicu Gabriel <gabriel_sta...@yahoo.com> 
Cc: 张家龙 <zhan...@awcloud.com>; openstack <openstack@lists.launchpad.net> 
Sent: Friday, October 26, 2012 11:36 AM
Subject: Re: [Openstack] Questions about novnc with multihost OpenStack Nova 
Compute(Essex) in multihost
 

Hi,
  This work also for me exept tha the url is localhost based:
$nova get-vnc-console landsat01 novnc
| novnc | 
http://127.0.0.1:6080/vnc_auto.html?token=6137dcb5-41b4-46fb-9c42-76c97e961e69 |

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.

(I am  in a multi host config).

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...

Regards,


2012/10/25 Staicu Gabriel <gabriel_sta...@yahoo.com>

Hi,
>
>
>I have a cloud constructed on ubuntu12.04 with openstack essex.
>
>    -controller node: 10.205.16.18
>    The configuration regarding vnc:
>    --vncserver_host=0.0.0.0
>    --vncproxy_url=http://10.205.16.18:6080
>    --ajax_console_proxy_url=http://10.205.16.18:8000
>    --novnc_enabled=true
>    --novncproxy_base_url=http://10.205.16.18:6080/vnc_auto.html
>    --vncserver_proxyclient_address=10.205.16.18
>    --vncserver_listen=10.205.16.18
>
>    -compute node:10.205.16.241
>
>    --vncproxy_url=http://10.205.16.18:6080
>    --ajax_console_proxy_url=http://10.205.16.18:8000    --novnc_enabled=true
>    --novncproxy_base_url=http://10.205.16.18:6080/vnc_auto.html
>    --vncserver_proxyclient_address=10.205.16.241
>    --vncserver_listen=10.205.16.241
>
>And everything works ok.
>Hope this
 help.
>
>Regards,
>Gabriel
>
>
>________________________________
> From: 张家龙 <zhan...@awcloud.com>
>To: openstack <openstack@lists.launchpad.net> 
>Sent: Thursday, October 25, 2012 9:43 AM
>Subject: [Openstack] Questions about novnc with multihost OpenStack Nova 
>Compute(Essex) in multihost
> 
>
>
>Dear all,
>    I have some questions about OpenStack Nova Compute(Essex) using novnc.
>    I build a cluster using 4 computers with OpenStack Nova Compute in 
>multihost.
>    The follows were informations of my cluster:
>    
>    nova01:compute server,api server,controller server  192.168.3.3
>    nova02:compute server                               192.168.3.4
>    nova03:compute server                               192.168.3.5
>    nova04:compute
 server                               192.168.3.6
>    
>    And the vms`s fixed was 10.0.0.0/8
>    
>    Here was my nova.conf:
>    http://pastebin.com/K6ArR1HA
>    
>    While,when i executed the command 
>    "nova get-vnc-console <servername> novnc"
>    then,error occured.
>    
>    Here were the error informations:
>    
>    2012-10-25 14:25:27 ERROR nova.rpc.impl_qpid 
>[req-1ad62be7-8eeb-43a5-898c-f3552b9f7748 3faf7062208c456c9a9365ee50bf15cd 
>561a547e94c7
>    4ce797d0ef1f4bc91f91] Timed out waiting for RPC response: None
>    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid Traceback (most recent call
 last):
>    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
>    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid     return method(*args, 
>**kwargs)
>    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
>    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid     nxt_receiver = 
>self.session.next_receiver(timeout=timeout)
>    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid   File "<string>", line 6, in 
>next_receiver
>    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
>    t_receiver
>    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid     raise Empty
> 
   2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid Empty: None
>    2012-10-25 14:25:27 TRACE nova.rpc.impl_qpid
>    2012-10-25 14:25:27 ERROR nova.api.openstack 
>[req-1ad62be7-8eeb-43a5-898c-f3552b9f7748 3faf7062208c456c9a9365ee50bf15cd 
>561a547e94c7
>    4ce797d0ef1f4bc91f91] Caught error: Timeout while waiting on RPC response.
>    2012-10-25 14:25:27 TRACE nova.api.openstack Traceback (most recent call 
>last):
>    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 
>_
>    _call__
>    2012-10-25 14:25:27 TRACE nova.api.openstack     return 
>req.get_response(self.application)
>    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
>    1053, in
 get_response
>    2012-10-25 14:25:27 TRACE nova.api.openstack     application, 
>catch_exc_info=False)
>    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
>    1022, in call_application
>    2012-10-25 14:25:27 TRACE nova.api.openstack     app_iter = 
>application(self.environ, start_response)
>    2012-10-25 14:25:27 TRACE nova.api.openstack   File 
>"/usr/lib/python2.6/site-packages/keystone/middleware/auth_token.py", line 176,
>    in __call__
>    2012-10-25 14:25:27 TRACE nova.api.openstack     return self.app(env, 
>start_response)
>    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,
>     in __call__
>   
 2012-10-25 14:25:27 TRACE nova.api.openstack     return resp(environ, 
start_response)
>    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,
>     in __call__
>    2012-10-25 14:25:27 TRACE nova.api.openstack     return resp(environ, 
>start_response)
>    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,
>     in __call__
>    2012-10-25 14:25:27 TRACE nova.api.openstack     return resp(environ, 
>start_response)
>    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",
>     line 131, in __call__
>    2012-10-25 14:25:27 TRACE
 nova.api.openstack     response = self.app(environ, start_response)
>    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,
>     in __call__
>    2012-10-25 14:25:27 TRACE nova.api.openstack     return resp(environ, 
>start_response)
>    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,
>     in __call__
>    2012-10-25 14:25:27 TRACE nova.api.openstack     resp = 
>self.call_func(req, *args, **self.kwargs)
>    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,
>     in call_func
>    2012-10-25 14:25:27 TRACE
 nova.api.openstack     return self.func(req, *args, **kwargs)
>    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
>    ll__
>    2012-10-25 14:25:27 TRACE nova.api.openstack     content_type, body, 
>accept)
>    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
>    cess_stack
>    2012-10-25 14:25:27 TRACE nova.api.openstack     action_result = 
>self.dispatch(meth, request, action_args)
>    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
>    atch
>    2012-10-25 14:25:27 TRACE nova.api.openstack     return
 method(req=request, **action_args)
>    2012-10-25 14:25:27 TRACE nova.api.openstack   File 
>"/usr/lib/python2.6/site-packages/nova/api/openstack/compute/contrib/consoles.py
>    ", line 54, in get_vnc_console
>    2012-10-25 14:25:27 TRACE nova.api.openstack     console_type)
>    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
>    2012-10-25 14:25:27 TRACE nova.api.openstack     return func(self, 
>context, target, *args, **kwargs)
>    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
>    nsole
>    2012-10-25 14:25:27 TRACE nova.api.openstack     
>connect_info['internal_access_path']}})
>    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
>    2012-10-25 14:25:27 TRACE nova.api.openstack     return 
>_get_impl().call(context, topic, msg, timeout)
>    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
>    2012-10-25 14:25:27 TRACE nova.api.openstack     return 
>rpc_amqp.call(context, topic, msg, timeout, Connection.pool)
>    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
>    2012-10-25 14:25:27 TRACE nova.api.openstack     rv = list(rv)
>    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__
>    2012-10-25 14:25:27
 TRACE nova.api.openstack     self.done()
>    2012-10-25 14:25:27 TRACE nova.api.openstack   File 
>"/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
>    2012-10-25 14:25:27 TRACE nova.api.openstack     self.gen.next()
>    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__
>    2012-10-25 14:25:27 TRACE nova.api.openstack     self._iterator.next()
>    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
>    me
>    2012-10-25 14:25:27 TRACE nova.api.openstack     yield 
>self.ensure(_error_callback, _consume)
>    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
>    2012-10-25 14:25:27 TRACE nova.api.openstack     error_callback(e)
>    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
>    llback
>    2012-10-25 14:25:27 TRACE nova.api.openstack     raise rpc_common.Timeout()
>    2012-10-25 14:25:27 TRACE nova.api.openstack Timeout: Timeout while 
>waiting on RPC response.
>
>    Is there anyone can help me?
>    Waiting your reply.
>
>
>------------------
>Best Regards
> 
>ZhangJialong
> 
>_______________________________________________
>Mailing list: https://launchpad.net/~openstack
>Post to     : openstack@lists.launchpad.net
>Unsubscribe : https://launchpad.net/~openstack
>More help   : https://help.launchpad.net/ListHelp
>
>
>
>_______________________________________________
>Mailing list: https://launchpad.net/~openstack
>Post to     : openstack@lists.launchpad.net
>Unsubscribe : https://launchpad.net/~openstack
>More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Olivier Archer
Océanographie spatiale - Ifremer 
02 98 22 44 84
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to