← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1792674] [NEW] [Rocky] fail to get VNC console

 

Public bug reported:

I'm runnig Rocky verion. Everything works fine, except VNC console. But
when I use VNCviewer( the 3rd software) to view Instnace, type
172.16.237.10:5900, it's working.

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

[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]
auth_url = http://controller-01:5000/v3
www_authenticate_uri = http://controller-01:5000/v3
memcached_servers = controller-01:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = nova

[vnc]
enabled = true
server_listen = 0.0.0.0
server_proxyclient_address = 172.16.237.10
novncproxy_base_url = http://172.16.237.10:6080/vnc_auto.html


[glance]
api_servers = http://controller-01:9292

[oslo_concurrency]
lock_path = /var/lib/nova/tmp

[placement]
region_name = RegionOne
project_domain_name = default
project_name = service
auth_type = password
user_domain_name = default
auth_url = http://controller-01:5000/v3
www_authenticate_uri = http://controller-01:5000/v3
username = placement
password = placement


[scheduler]

discover_hosts_in_cells_interval = 60


[libvirt]
virt_type = qemu

[neutron]
auth_url = http://controller-01:5000/v3
www_authenticate_uri = http://controller01:5000/v3
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = neutron
service_metadata_proxy = true


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 [req-ed492726-752f-4348-9bab-20aa28a5be8d 267048d79f3b4f5e8a67010540b2c673 68fdc324c1984ca1b152ccdde4dfbb86 - default default] Unexpected exception in API method: MessagingTimeout: Timed out waiting for a reply to message ID 89caa318d07b4cc4bba21a18ff790338
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi Traceback (most recent call last):
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 801, in wrapped
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     return f(*args, **kwargs)
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
2018-09-15 14:22:05.226 6338 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-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     output = handler(context, instance, console_type)
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 196, in wrapped
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     return function(self, context, instance, *args, **kwargs)
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 186, in inner
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     return f(self, context, instance, *args, **kw)
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 3723, in get_vnc_console
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     access_url=connect_info['access_url'])
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/consoleauth/rpcapi.py", line 93, in authorize_console
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     return cctxt.call(ctxt, 'authorize_console', **msg_args)
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 179, in call
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     retry=self.retry)
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 133, in _send
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     retry=retry)
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 584, in send
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     call_monitor_timeout, retry=retry)
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 573, in _send
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     call_monitor_timeout)
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 459, in wait
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     message = self.waiters.get(msg_id, timeout=timeout)
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 336, in get
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     'to message ID %s' % msg_id)
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi MessagingTimeout: Timed out waiting for a reply to message ID 89caa318d07b4cc4bba21a18ff790338
2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi
2018-09-15 14:22:05.228 6338 INFO nova.api.openstack.wsgi [req-ed492726-752f-4348-9bab-20aa28a5be8d 267048d79f3b4f5e8a67010540b2c673 68fdc324c1984ca1b152ccdde4dfbb86 - default default] HTTP exception thrown: 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'>
2018-09-15 14:22:05.229 6338 INFO nova.osapi_compute.wsgi.server [req-ed492726-752f-4348-9bab-20aa28a5be8d 267048d79f3b4f5e8a67010540b2c673 68fdc324c1984ca1b152ccdde4dfbb86 - default default] 172.16.237.10 "POST /v2.1/servers/1065c746-24f3-4050-8c00-d6e4e6a00984/remote-consoles HTTP/1.1" status: 500 len: 651 time: 60.1198242

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: nova vnc

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1792674

Title:
  [Rocky] fail to get VNC console

Status in OpenStack Compute (nova):
  New

Bug description:
  I'm runnig Rocky verion. Everything works fine, except VNC console.
  But when I use VNCviewer( the 3rd software) to view Instnace, type
  172.16.237.10:5900, it's working.

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

  [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]
  auth_url = http://controller-01:5000/v3
  www_authenticate_uri = http://controller-01:5000/v3
  memcached_servers = controller-01:11211
  auth_type = password
  project_domain_name = default
  user_domain_name = default
  project_name = service
  username = nova
  password = nova

  [vnc]
  enabled = true
  server_listen = 0.0.0.0
  server_proxyclient_address = 172.16.237.10
  novncproxy_base_url = http://172.16.237.10:6080/vnc_auto.html

  
  [glance]
  api_servers = http://controller-01:9292

  [oslo_concurrency]
  lock_path = /var/lib/nova/tmp

  [placement]
  region_name = RegionOne
  project_domain_name = default
  project_name = service
  auth_type = password
  user_domain_name = default
  auth_url = http://controller-01:5000/v3
  www_authenticate_uri = http://controller-01:5000/v3
  username = placement
  password = placement

  
  [scheduler]

  discover_hosts_in_cells_interval = 60

  
  [libvirt]
  virt_type = qemu

  [neutron]
  auth_url = http://controller-01:5000/v3
  www_authenticate_uri = http://controller01:5000/v3
  auth_type = password
  project_domain_name = default
  user_domain_name = default
  region_name = RegionOne
  project_name = service
  username = neutron
  password = neutron
  service_metadata_proxy = true

  
  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 [req-ed492726-752f-4348-9bab-20aa28a5be8d 267048d79f3b4f5e8a67010540b2c673 68fdc324c1984ca1b152ccdde4dfbb86 - default default] Unexpected exception in API method: MessagingTimeout: Timed out waiting for a reply to message ID 89caa318d07b4cc4bba21a18ff790338
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi Traceback (most recent call last):
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 801, in wrapped
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     return f(*args, **kwargs)
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 110, in wrapper
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     return func(*args, **kwargs)
  2018-09-15 14:22:05.226 6338 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-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     output = handler(context, instance, console_type)
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 196, in wrapped
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     return function(self, context, instance, *args, **kwargs)
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 186, in inner
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     return f(self, context, instance, *args, **kw)
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 3723, in get_vnc_console
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     access_url=connect_info['access_url'])
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/consoleauth/rpcapi.py", line 93, in authorize_console
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     return cctxt.call(ctxt, 'authorize_console', **msg_args)
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 179, in call
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     retry=self.retry)
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 133, in _send
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     retry=retry)
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 584, in send
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     call_monitor_timeout, retry=retry)
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 573, in _send
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     call_monitor_timeout)
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 459, in wait
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     message = self.waiters.get(msg_id, timeout=timeout)
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 336, in get
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi     'to message ID %s' % msg_id)
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi MessagingTimeout: Timed out waiting for a reply to message ID 89caa318d07b4cc4bba21a18ff790338
  2018-09-15 14:22:05.226 6338 ERROR nova.api.openstack.wsgi
  2018-09-15 14:22:05.228 6338 INFO nova.api.openstack.wsgi [req-ed492726-752f-4348-9bab-20aa28a5be8d 267048d79f3b4f5e8a67010540b2c673 68fdc324c1984ca1b152ccdde4dfbb86 - default default] HTTP exception thrown: 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'>
  2018-09-15 14:22:05.229 6338 INFO nova.osapi_compute.wsgi.server [req-ed492726-752f-4348-9bab-20aa28a5be8d 267048d79f3b4f5e8a67010540b2c673 68fdc324c1984ca1b152ccdde4dfbb86 - default default] 172.16.237.10 "POST /v2.1/servers/1065c746-24f3-4050-8c00-d6e4e6a00984/remote-consoles HTTP/1.1" status: 500 len: 651 time: 60.1198242

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1792674/+subscriptions


Follow ups