nova console-log works, which pops up logs of instances starting.
While do you mean openstack-nova-novncproxy.service ? yes, it's running
and listening on port 6080
There is no nova-consoleauth service running on Centos7.
I check every queue, there isn't any message.
Thanks.
From: Sam Morrison <email address hidden>
To: <email address hidden>,
Date: 2018/09/19 09:20
Subject: [Bug 1792674] Re: [Rocky] fail to get VNC console
Sent by: <email address hidden>
A messaging timeout usually indicates that the service that is meant to be
consuming the messages is not working.
Do other operations like "nova console-log" work?
Are there queues with messages that aren't being consumed (check rabbit
admin interface)?
Also is the nova-consoleauth service running ok?
nova console-log works, which pops up logs of instances starting.
While do you mean openstack- nova-novncproxy .service ? yes, it's running
and listening on port 6080
There is no nova-consoleauth service running on Centos7.
I check every queue, there isn't any message.
Thanks.
From: Sam Morrison <email address hidden>
To: <email address hidden>,
Date: 2018/09/19 09:20
Subject: [Bug 1792674] Re: [Rocky] fail to get VNC console
Sent by: <email address hidden>
A messaging timeout usually indicates that the service that is meant to be
consuming the messages is not working.
Do other operations like "nova console-log" work?
Are there queues with messages that aren't being consumed (check rabbit
admin interface)?
Also is the nova-consoleauth service running ok?
-- /bugs.launchpad .net/bugs/ 1792674
You received this bug notification because you are subscribed to the bug
report.
https:/
Title:
[Rocky] fail to get VNC console
Status in OpenStack Compute (nova):
Confirmed
Bug description:
I'm runnig Rocky verion on Centos7.5-1804.
Everything works fine, except VNC console. But when I use VNCviewer(
the 3rd software)
to view Instance, type 172.16.237.10:5900, it's working.
############# Begin of nova.conf #
[DEFAULT]
enabled_apis = osapi_compute, metadata
transport_url = rabbit: //openstack: ra41P2aebs9@ controller- 01
my_ip = 172.16.237.10
firewall_driver = nova.virt. firewall. NoopFirewallDri ver
[api_database]
connection = mysql+pymysql: //nova: nova@controller -01/nova_ api
[database]
connection = mysql+pymysql: //nova: nova@controller -01/nova
[placement_ database]
connection = mysql+pymysql: //nova: nova@controller -01/placement
[api]
auth_strategy = keystone
[keystone_ authtoken] controller- 01:5000/ v3 ate_uri = http:// controller- 01:5000/ v3 domain_ name = default
auth_url = http://
www_authentic
memcached_servers = controller-01:11211
auth_type = password
project_
user_domain_name = default
project_name = service
username = nova
password = nova
[vnc] proxyclient_ address = 172.16.237.10 base_url = http:// 172.16. 237.10: 6080/vnc_ auto.html
enabled = true
server_listen = 0.0.0.0
server_
novncproxy_
[glance] controller- 01:9292
api_servers = http://
[oslo_ concurrency]
lock_path = /var/lib/nova/tmp
[placement] domain_ name = default controller- 01:5000/ v3
region_name = RegionOne
project_
project_name = service
auth_type = password
user_domain_name = default
auth_url = http://
username = placement
password = placement
[scheduler]
discover_ hosts_in_ cells_interval = 60
[libvirt]
virt_type = qemu
[neutron] controller- 01:5000/ v3 domain_ name = default metadata_ proxy = true
auth_url = http://
auth_type = password
project_
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = neutron
service_
### end of nova.conf ####
How to reproduce
`nova --debug get-vnc-console <Insance_UUID> novnc
this comes for nova-api.log
2018-09-15 14:22:05.226 6338 ERROR nova.api. openstack. wsgi 752f-4348- 9bab-20aa28a5be 8d 267048d79f3b4f5 e8a67010540b2c6 73 1b152ccdde4dfbb 86 - default default] Unexpected exception 4bba21a18ff7903 38 openstack. wsgi Traceback openstack. wsgi File python2. 7/site- packages/ nova/api/ openstack/ wsgi.py" , line 801, openstack. wsgi return openstack. wsgi File python2. 7/site- packages/ nova/api/ validation/ __init_ _.py", line openstack. wsgi return openstack. wsgi File python2. 7/site- packages/ nova/api/ validation/ __init_ _.py", line openstack. wsgi return openstack. wsgi File python2. 7/site- packages/ nova/api/ openstack/ compute/ remote_ consoles. py", openstack. wsgi output = openstack. wsgi File python2. 7/site- packages/ nova/compute/ api.py" , line 196, in openstack. wsgi return openstack. wsgi File python2. 7/site- packages/ nova/compute/ api.py" , line 186, in inner openstack. wsgi return openstack. wsgi File python2. 7/site- packages/ nova/compute/ api.py" , line 3723, in openstack. wsgi url=connect_ info['access_ url']) openstack. wsgi File python2. 7/site- packages/ nova/consoleaut h/rpcapi. py", line 93, in openstack. wsgi return console' , **msg_args) openstack. wsgi File python2. 7/site- packages/ oslo_messaging/ rpc/client. py", line 179, openstack. wsgi openstack. wsgi File python2. 7/site- packages/ oslo_messaging/ transport. py", line 133, openstack. wsgi retry=retry) openstack. wsgi File python2. 7/site- packages/ oslo_messaging/ _drivers/ amqpdriver. py", openstack. wsgi timeout, retry=retry) openstack. wsgi File python2. 7/site- packages/ oslo_messaging/ _drivers/ amqpdriver. py", openstack. wsgi timeout) openstack. wsgi File python2. 7/site- packages/ oslo_messaging/ _drivers/ amqpdriver. py", openstack. wsgi message = get(msg_ id, timeout=timeout) openstack. wsgi File python2. 7/site- packages/ oslo_messaging/ _drivers/ amqpdriver. py", openstack. wsgi 'to openstack. wsgi 4bba21a18ff7903 38 openstack. wsgi openstack. wsgi 752f-4348- 9bab-20aa28a5be 8d 267048d79f3b4f5 e8a67010540b2c6 73 1b152ccdde4dfbb 86 - default default] HTTP exception thrown: bugs.launchpad. net/nova/ and attach the Nova API log if possible. .exceptions. MessagingTimeou t'> compute. wsgi.server 752f-4348- 9bab-20aa28a5be 8d 267048d79f3b4f5 e8a67010540b2c6 73 1b152ccdde4dfbb 86 - default default] 172.16.237.10 "POST 1065c746- 24f3-4050- 8c00-d6e4e6a009 84/remote- consoles
[req-ed492726-
68fdc324c1984ca
in API method: MessagingTimeout: Timed out waiting for a reply to message
ID 89caa318d07b4cc
2018-09-15 14:22:05.226 6338 ERROR nova.api.
(most recent call last):
2018-09-15 14:22:05.226 6338 ERROR nova.api.
"/usr/lib/
in wrapped
2018-09-15 14:22:05.226 6338 ERROR nova.api.
f(*args, **kwargs)
2018-09-15 14:22:05.226 6338 ERROR nova.api.
"/usr/lib/
110, in wrapper
2018-09-15 14:22:05.226 6338 ERROR nova.api.
func(*args, **kwargs)
2018-09-15 14:22:05.226 6338 ERROR nova.api.
"/usr/lib/
110, in wrapper
2018-09-15 14:22:05.226 6338 ERROR nova.api.
func(*args, **kwargs)
2018-09-15 14:22:05.226 6338 ERROR nova.api.
"/usr/lib/
line 168, in create
2018-09-15 14:22:05.226 6338 ERROR nova.api.
handler(context, instance, console_type)
2018-09-15 14:22:05.226 6338 ERROR nova.api.
"/usr/lib/
wrapped
2018-09-15 14:22:05.226 6338 ERROR nova.api.
function(self, context, instance, *args, **kwargs)
2018-09-15 14:22:05.226 6338 ERROR nova.api.
"/usr/lib/
2018-09-15 14:22:05.226 6338 ERROR nova.api.
f(self, context, instance, *args, **kw)
2018-09-15 14:22:05.226 6338 ERROR nova.api.
"/usr/lib/
get_vnc_console
2018-09-15 14:22:05.226 6338 ERROR nova.api.
access_
2018-09-15 14:22:05.226 6338 ERROR nova.api.
"/usr/lib/
authorize_console
2018-09-15 14:22:05.226 6338 ERROR nova.api.
cctxt.call(ctxt, 'authorize_
2018-09-15 14:22:05.226 6338 ERROR nova.api.
"/usr/lib/
in call
2018-09-15 14:22:05.226 6338 ERROR nova.api.
retry=self.retry)
2018-09-15 14:22:05.226 6338 ERROR nova.api.
"/usr/lib/
in _send
2018-09-15 14:22:05.226 6338 ERROR nova.api.
2018-09-15 14:22:05.226 6338 ERROR nova.api.
"/usr/lib/
line 584, in send
2018-09-15 14:22:05.226 6338 ERROR nova.api.
call_monitor_
2018-09-15 14:22:05.226 6338 ERROR nova.api.
"/usr/lib/
line 573, in _send
2018-09-15 14:22:05.226 6338 ERROR nova.api.
call_monitor_
2018-09-15 14:22:05.226 6338 ERROR nova.api.
"/usr/lib/
line 459, in wait
2018-09-15 14:22:05.226 6338 ERROR nova.api.
self.waiters.
2018-09-15 14:22:05.226 6338 ERROR nova.api.
"/usr/lib/
line 336, in get
2018-09-15 14:22:05.226 6338 ERROR nova.api.
message ID %s' % msg_id)
2018-09-15 14:22:05.226 6338 ERROR nova.api.
MessagingTimeout: Timed out waiting for a reply to message ID
89caa318d07b4cc
2018-09-15 14:22:05.226 6338 ERROR nova.api.
2018-09-15 14:22:05.228 6338 INFO nova.api.
[req-ed492726-
68fdc324c1984ca
Unexpected API Error. Please report this at
http://
<class 'oslo_messaging
2018-09-15 14:22:05.229 6338 INFO nova.osapi_
[req-ed492726-
68fdc324c1984ca
/v2.1/servers/
HTTP/1.1" status: 500 len: 651 time: 60.1198242
To manage notifications about this bug go to: /bugs.launchpad .net/nova/ +bug/1792674/ +subscriptions
https:/