Openstack-dashboard cannot load instance console options and log options

提问于 2020-03-07 09:01:57 -0500

1.Fault description I installed the openstack-queens version, the created instance runs successfully, and I can connect through the vnc client, and the instance can access the external network. But the instance console options and log options cannot be turned on The conductor and nova-novncproxy start normally, and there are no errors in the log

  1. Failure phenomenon

The openstack-dashboard page prompts an error: Could not load console. Please reload the page and try again Unable to get logs for instance xxx

3.Related logs

1)Viewing the nova-api log has the following error

RROR nova.api.openstack.wsgi [req-e4268356-8f15-4c1b-b8ea-7370381e199c 245d2d1f857f45a8a337ef30129e911a b29ffeb6d6624aaaa3e2a3d39f5015ce-default default] Unexpected exception in API method: Messdaging timeout afd7fdfdfdfd 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi Traceback (most recent call last): 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 788, in wrapped 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi return f (* args, * kwargs) 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 108, in wrapper 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi return func ( args, * kwargs) 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/remote_consoles.py", line 140, in get_serial_console 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi console_type) 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 196, in wrapped 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi return function (self, context, instance, * args, * kwargs) 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 186, in inner 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi return f (self, context, instance, * args, ** kw) 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 3798, in get_serial_console 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi instance = instance, console_type = console_type) 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/compute/rpcapi.py", line 696, in get_serial_console 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi instance = instance, console_type = console_type) 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 181, in call 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi transport_options = self.transport_options) 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 129, in _send 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi transport_options = transport_options) 2020-03-07 21: 53: 11.391 102531 ERROR nova.api.openstack.wsgi ... (more)

edit retag flag offensive close merge delete
0

回答 2020-03-10 08:48:45 -0500

Guess the reason: To install a lower version of openstack, you need a lower version of centos7 system, and cannot yum update. If you use a higher version of the system, the installed software will also be a higher version, which will cause such incompatibilities

After I installed with a higher version of openstack, there was no such problem, and the installation documentation was no different from the old version.

edit flag offensive delete link 更多

提问工具

统计

已提问: 2020-03-07 09:01:57 -0500

已查看: 98 次

最后更新: Mar 07