Ask Your Question
0

Problem with spice Console

asked 2018-11-26 06:57:50 -0600

Am Ab gravatar image

In RDO (queens) on replaces vnc console with Spice, but the following error occurs when I want to get the console url.

openstack console url show test --spice --debug

. . . GET call to compute for http://<ip>:8774/v2.1/f00733dc83ed4931b85b82b61074232e/servers/50443ce9-bd1a-48fb-90b0-133808f5fc99 used request id req-3150c7df-3056-410f-828e-04e64a42b788 REQ: curl -g -i -X POST http://<ip>:8774/v2.1/f00733dc83ed4931b85b82b61074232e/servers/50443ce9-bd1a-48fb-90b0-133808f5fc99/action -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}21439ba5e87e76f657a69fee38f981f86787a39b" -d '{"os-getSPICEConsole": {"type": "spice-html5"}}'

An the Error:

POST call to compute for http://<ip>:8774/v2.1/f00733dc83ed4931b85b82b61074232e/servers/50443ce9-bd1a-48fb-90b0-133808f5fc99/action used request id req-f4188d24-b272-4755-8e90-2401b3be41b1 Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'oslo_messaging.exceptions.messagingtimeout'=""> (HTTP 500) (Request-ID: req-f4188d24-b272-4755-8e90-2401b3be41b1) ...</class></ip>

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-11-27 02:17:22 -0600

Am Ab gravatar image

Hello,

I've already restarted rabbit_MQ but it didn't help. Also I can create new VM's, so the credentials should be fine. right? Here is the nova-api logs (when I try to OPen instance console tab).

2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi [req-8ff4ee5d-0946-48aa-8d86-817af8c3e069 93e331effd164146bf1d5e4e9c6de511 f00733dc83ed4931b85b82b61074232e - default default] Unexpected exception in API method: MessagingTimeout: Timed out waiting for a reply to message ID f2414952500c4dd39f5f6ec88410d5d6 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi Traceback (most recent call last): 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 788, in wrapped 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi return f(args, *kwargs) 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, in wrapper 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi return func(args, *kwargs) 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/remote_consoles.py", line 81, in get_spice_console 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi console_type) 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 195, in wrapped 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi return function(self, context, instance, args, *kwargs) 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 185, in inner 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi return f(self, context, instance, args, *kw) 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 3721, in get_spice_console 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi access_url=connect_info['access_url']) 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/consoleauth/rpcapi.py", line 93, in authorize_console 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi return cctxt.call(ctxt, 'authorize_console', **msg_args) 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 174, in call 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi retry=self.retry) 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 131, in _send 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi timeout=timeout, retry=retry) 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 559, in send 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack.wsgi retry=retry) 2018-11-27 11:40:38.786 3643 ERROR nova.api.openstack ... (more)

edit flag offensive delete link more
0

answered 2018-11-27 01:37:24 -0600

check rabbit-mq status and rabbit-mq logs.check the rabbit-mq credential in nova configuration file .some times restarting rabbit-mq will fix the problem, restart rabbit-mq by service rabbitmq-server restart.

create another rabbit-mq user and change rabbit-mq credentials in config files and try

rabbitmqctl add_user openstack RABBIT_PASS

rabbitmqctl set_permissions openstack ".*" ".*" ".*"

check the transport url in nova config file

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-11-26 06:57:50 -0600

Seen: 137 times

Last updated: Nov 27 '18