fail to get vnc in Rocky version

asked 2018-09-18 03:17:16 -0600

nobody gravatar image
 DEBUG (session:448) REQ: curl -g -i -X POST http://cc-ext:8774/v2.1/servers/3664c4a9-5508-48cc-aff3-9674c45a522f/remote-consoles -H "Accept: application/json" -H "Content-Type: application/json" -H "OpenStack-API-Version: compute 2.65" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA1}c21ce0a1af901fc1bdda4547198377f5c2518da4" -H "X-OpenStack-Nova-API-Version: 2.65" -d '{"remote_console": {"type": "novnc", "protocol": "vnc"}}'

DEBUG (connectionpool:395) http://cc-ext:8774 "POST /v2.1/servers/3664c4a9-5508-48cc-aff3-9674c45a522f/remote-consoles HTTP/1.1" 500 216 DEBUG (session:479) RESP: [500] Connection: keep-alive Content-Length: 216 Content-Type: application/json; charset=UTF-8 Date: Tue, 18 Sep 2018 08:06:39 GMT Openstack-Api-Version: compute 2.65 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-232c8d88-245d-409c-90da-3399857709b8 X-Openstack-Nova-Api-Version: 2.65 X-Openstack-Request-Id: req-232c8d88-245d-409c-90da-3399857709b8

========================== I'm using `nova --debug get-vnc-console <instancd_id> novnc

here is nova api log

2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi [req-232c8d88-245d-409c-90da-3399857709b8 ed0e538816114e92af64d51afbbaeecb 795d4aa17a8d                            4a7a9599283ef61c48a0 - default default] Unexpected exception in API method: MessagingTimeout: Timed out waiting for a reply to message ID b46e04a7                            e5a4418c9ed7a8f16624df7b

2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi Traceback (most recent call last): 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 801, in wrap ped 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi return f(args, *kwargs) 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi return func(args, *kwargs) 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi return func(args, *kwargs) 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/remote_consoles.py" , line 168, in create 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi output = handler(context, instance, console_type) 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 196, in wrapped 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi return function(self, context, instance, args, *kwargs) 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 186, in inner 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi return f(self, context, instance, args, *kw) 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 3723, in get_vnc_co nsole 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi access_url=connect_info['access_url']) 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/consoleauth/rpcapi.py", line 93, in autho rize_console 2018-09-18 16:06:39.873 2217 ERROR nova.api.openstack.wsgi return cctxt.call(ctxt, 'authorize_console', **msg_args ... (more)

edit retag flag offensive close merge delete