← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2073362] [NEW] An unexpected error has occurred. Try refreshing the page. If that doesn't help, contact your local administrator.

 

Public bug reported:

I install Openstack 2024.1 on Ubuntu 22.04 witch ceph (reef).


the container horizon /var/log/kolla/horizon/horizon-error.log is as follows:


2024-07-17 09:01:02.043808 Recoverable error: <html><body><h1>503 Service Unavailable</h1>
2024-07-17 09:01:02.043872 No server is available to handle this request.
2024-07-17 09:01:02.043887 </body></html>
2024-07-17 09:01:02.043899 
2024-07-17 09:01:02.053111 Internal Server Error: /project/
2024-07-17 09:01:02.053135 Traceback (most recent call last):
2024-07-17 09:01:02.053141   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/utils/memoized.py", line 107, in wrapped
2024-07-17 09:01:02.053148     value = cache[key] = cache.pop(key)
2024-07-17 09:01:02.053154 KeyError: ((<weakref at 0x7fec6c298720; to 'WSGIRequest' at 0x7fec6c578f10>,), ())
2024-07-17 09:01:02.053159 
2024-07-17 09:01:02.053164 During handling of the above exception, another exception occurred:
2024-07-17 09:01:02.053169 
2024-07-17 09:01:02.053174 Traceback (most recent call last):
2024-07-17 09:01:02.053179   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/utils/memoized.py", line 107, in wrapped
2024-07-17 09:01:02.053184     value = cache[key] = cache.pop(key)
2024-07-17 09:01:02.053189 KeyError: ((<weakref at 0x7fec6c301b20; to 'WSGIRequest' at 0x7fec6c578f10>,), ())
2024-07-17 09:01:02.053194 
2024-07-17 09:01:02.053199 During handling of the above exception, another exception occurred:
2024-07-17 09:01:02.053204 
2024-07-17 09:01:02.053209 Traceback (most recent call last):
2024-07-17 09:01:02.053215   File "/var/lib/kolla/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
2024-07-17 09:01:02.053221     response = get_response(request)
2024-07-17 09:01:02.053226   File "/var/lib/kolla/venv/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
2024-07-17 09:01:02.053232     response = wrapped_callback(request, *callback_args, **callback_kwargs)
2024-07-17 09:01:02.053238   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/decorators.py", line 51, in dec
2024-07-17 09:01:02.053259     return view_func(request, *args, **kwargs)
2024-07-17 09:01:02.053266   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/decorators.py", line 35, in dec
2024-07-17 09:01:02.053272     return view_func(request, *args, **kwargs)
2024-07-17 09:01:02.053284   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/decorators.py", line 35, in dec
2024-07-17 09:01:02.053290     return view_func(request, *args, **kwargs)
2024-07-17 09:01:02.053295   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/decorators.py", line 111, in dec
2024-07-17 09:01:02.053300     return view_func(request, *args, **kwargs)
2024-07-17 09:01:02.053305   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/decorators.py", line 83, in dec
2024-07-17 09:01:02.053310     return view_func(request, *args, **kwargs)
2024-07-17 09:01:02.053315   File "/var/lib/kolla/venv/lib/python3.10/site-packages/django/views/generic/base.py", line 104, in view
2024-07-17 09:01:02.053320     return self.dispatch(request, *args, **kwargs)
2024-07-17 09:01:02.053325   File "/var/lib/kolla/venv/lib/python3.10/site-packages/django/views/generic/base.py", line 143, in dispatch
2024-07-17 09:01:02.053330     return handler(request, *args, **kwargs)
2024-07-17 09:01:02.053335   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/tables/views.py", line 225, in get
2024-07-17 09:01:02.053340     context = self.get_context_data(**kwargs)
2024-07-17 09:01:02.053345   File "/var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/usage/views.py", line 213, in get_context_data
2024-07-17 09:01:02.053351     context['charts'] = self._get_charts_data()
2024-07-17 09:01:02.053356   File "/var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/usage/views.py", line 161, in _get_charts_data
2024-07-17 09:01:02.053361     if self._check_chart_allowed(section):
2024-07-17 09:01:02.053366   File "/var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/usage/views.py", line 173, in _check_chart_allowed
2024-07-17 09:01:02.053372     result = allowed(self.request) if callable(allowed) else allowed
2024-07-17 09:01:02.053377   File "/var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/usage/views.py", line 93, in _check_network_allowed
2024-07-17 09:01:02.053382     return api.neutron.is_quotas_extension_supported(request)
2024-07-17 09:01:02.053387   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/utils/memoized.py", line 109, in wrapped
2024-07-17 09:01:02.053392     value = cache[key] = func(*args, **kwargs)
2024-07-17 09:01:02.053399   File "/var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/api/neutron.py", line 2336, in is_quotas_extension_supported
2024-07-17 09:01:02.053405     is_extension_supported(request, 'quotas'))
2024-07-17 09:01:02.053410   File "/var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/api/neutron.py", line 2292, in is_extension_supported
2024-07-17 09:01:02.053415     extensions = list_extensions(request)
2024-07-17 09:01:02.053420   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/utils/memoized.py", line 109, in wrapped
2024-07-17 09:01:02.053425     value = cache[key] = func(*args, **kwargs)
2024-07-17 09:01:02.053430   File "/var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/api/neutron.py", line 2277, in list_extensions
2024-07-17 09:01:02.053435     extensions_list = neutron_api.list_extensions()
2024-07-17 09:01:02.053440   File "/var/lib/kolla/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 806, in list_extensions
2024-07-17 09:01:02.053445     return self.get(self.extensions_path, params=_params)
2024-07-17 09:01:02.053450   File "/var/lib/kolla/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 356, in get
2024-07-17 09:01:02.053455     return self.retry_request("GET", action, body=body,
2024-07-17 09:01:02.053460   File "/var/lib/kolla/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 333, in retry_request
2024-07-17 09:01:02.053471     return self.do_request(method, action, body=body,
2024-07-17 09:01:02.053476   File "/var/lib/kolla/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 297, in do_request
2024-07-17 09:01:02.053481     self._handle_fault_response(status_code, replybody, resp)
2024-07-17 09:01:02.053486   File "/var/lib/kolla/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 272, in _handle_fault_response
2024-07-17 09:01:02.053491     exception_handler_v20(status_code, error_body)
2024-07-17 09:01:02.053496   File "/var/lib/kolla/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 90, in exception_handler_v20
2024-07-17 09:01:02.053501     raise client_exc(message=error_message,
2024-07-17 09:01:02.053506 neutronclient.common.exceptions.ServiceUnavailable: <html><body><h1>503 Service Unavailable</h1>
2024-07-17 09:01:02.053514 No server is available to handle this request.
2024-07-17 09:01:02.053520 </body></html>

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  An unexpected error has occurred. Try refreshing the page. If that
  doesn't help, contact your local administrator.

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I install Openstack 2024.1 on Ubuntu 22.04 witch ceph (reef).

  
  the container horizon /var/log/kolla/horizon/horizon-error.log is as follows:

  
  2024-07-17 09:01:02.043808 Recoverable error: <html><body><h1>503 Service Unavailable</h1>
  2024-07-17 09:01:02.043872 No server is available to handle this request.
  2024-07-17 09:01:02.043887 </body></html>
  2024-07-17 09:01:02.043899 
  2024-07-17 09:01:02.053111 Internal Server Error: /project/
  2024-07-17 09:01:02.053135 Traceback (most recent call last):
  2024-07-17 09:01:02.053141   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/utils/memoized.py", line 107, in wrapped
  2024-07-17 09:01:02.053148     value = cache[key] = cache.pop(key)
  2024-07-17 09:01:02.053154 KeyError: ((<weakref at 0x7fec6c298720; to 'WSGIRequest' at 0x7fec6c578f10>,), ())
  2024-07-17 09:01:02.053159 
  2024-07-17 09:01:02.053164 During handling of the above exception, another exception occurred:
  2024-07-17 09:01:02.053169 
  2024-07-17 09:01:02.053174 Traceback (most recent call last):
  2024-07-17 09:01:02.053179   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/utils/memoized.py", line 107, in wrapped
  2024-07-17 09:01:02.053184     value = cache[key] = cache.pop(key)
  2024-07-17 09:01:02.053189 KeyError: ((<weakref at 0x7fec6c301b20; to 'WSGIRequest' at 0x7fec6c578f10>,), ())
  2024-07-17 09:01:02.053194 
  2024-07-17 09:01:02.053199 During handling of the above exception, another exception occurred:
  2024-07-17 09:01:02.053204 
  2024-07-17 09:01:02.053209 Traceback (most recent call last):
  2024-07-17 09:01:02.053215   File "/var/lib/kolla/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
  2024-07-17 09:01:02.053221     response = get_response(request)
  2024-07-17 09:01:02.053226   File "/var/lib/kolla/venv/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
  2024-07-17 09:01:02.053232     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  2024-07-17 09:01:02.053238   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/decorators.py", line 51, in dec
  2024-07-17 09:01:02.053259     return view_func(request, *args, **kwargs)
  2024-07-17 09:01:02.053266   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/decorators.py", line 35, in dec
  2024-07-17 09:01:02.053272     return view_func(request, *args, **kwargs)
  2024-07-17 09:01:02.053284   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/decorators.py", line 35, in dec
  2024-07-17 09:01:02.053290     return view_func(request, *args, **kwargs)
  2024-07-17 09:01:02.053295   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/decorators.py", line 111, in dec
  2024-07-17 09:01:02.053300     return view_func(request, *args, **kwargs)
  2024-07-17 09:01:02.053305   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/decorators.py", line 83, in dec
  2024-07-17 09:01:02.053310     return view_func(request, *args, **kwargs)
  2024-07-17 09:01:02.053315   File "/var/lib/kolla/venv/lib/python3.10/site-packages/django/views/generic/base.py", line 104, in view
  2024-07-17 09:01:02.053320     return self.dispatch(request, *args, **kwargs)
  2024-07-17 09:01:02.053325   File "/var/lib/kolla/venv/lib/python3.10/site-packages/django/views/generic/base.py", line 143, in dispatch
  2024-07-17 09:01:02.053330     return handler(request, *args, **kwargs)
  2024-07-17 09:01:02.053335   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/tables/views.py", line 225, in get
  2024-07-17 09:01:02.053340     context = self.get_context_data(**kwargs)
  2024-07-17 09:01:02.053345   File "/var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/usage/views.py", line 213, in get_context_data
  2024-07-17 09:01:02.053351     context['charts'] = self._get_charts_data()
  2024-07-17 09:01:02.053356   File "/var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/usage/views.py", line 161, in _get_charts_data
  2024-07-17 09:01:02.053361     if self._check_chart_allowed(section):
  2024-07-17 09:01:02.053366   File "/var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/usage/views.py", line 173, in _check_chart_allowed
  2024-07-17 09:01:02.053372     result = allowed(self.request) if callable(allowed) else allowed
  2024-07-17 09:01:02.053377   File "/var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/usage/views.py", line 93, in _check_network_allowed
  2024-07-17 09:01:02.053382     return api.neutron.is_quotas_extension_supported(request)
  2024-07-17 09:01:02.053387   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/utils/memoized.py", line 109, in wrapped
  2024-07-17 09:01:02.053392     value = cache[key] = func(*args, **kwargs)
  2024-07-17 09:01:02.053399   File "/var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/api/neutron.py", line 2336, in is_quotas_extension_supported
  2024-07-17 09:01:02.053405     is_extension_supported(request, 'quotas'))
  2024-07-17 09:01:02.053410   File "/var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/api/neutron.py", line 2292, in is_extension_supported
  2024-07-17 09:01:02.053415     extensions = list_extensions(request)
  2024-07-17 09:01:02.053420   File "/var/lib/kolla/venv/lib/python3.10/site-packages/horizon/utils/memoized.py", line 109, in wrapped
  2024-07-17 09:01:02.053425     value = cache[key] = func(*args, **kwargs)
  2024-07-17 09:01:02.053430   File "/var/lib/kolla/venv/lib/python3.10/site-packages/openstack_dashboard/api/neutron.py", line 2277, in list_extensions
  2024-07-17 09:01:02.053435     extensions_list = neutron_api.list_extensions()
  2024-07-17 09:01:02.053440   File "/var/lib/kolla/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 806, in list_extensions
  2024-07-17 09:01:02.053445     return self.get(self.extensions_path, params=_params)
  2024-07-17 09:01:02.053450   File "/var/lib/kolla/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 356, in get
  2024-07-17 09:01:02.053455     return self.retry_request("GET", action, body=body,
  2024-07-17 09:01:02.053460   File "/var/lib/kolla/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 333, in retry_request
  2024-07-17 09:01:02.053471     return self.do_request(method, action, body=body,
  2024-07-17 09:01:02.053476   File "/var/lib/kolla/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 297, in do_request
  2024-07-17 09:01:02.053481     self._handle_fault_response(status_code, replybody, resp)
  2024-07-17 09:01:02.053486   File "/var/lib/kolla/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 272, in _handle_fault_response
  2024-07-17 09:01:02.053491     exception_handler_v20(status_code, error_body)
  2024-07-17 09:01:02.053496   File "/var/lib/kolla/venv/lib/python3.10/site-packages/neutronclient/v2_0/client.py", line 90, in exception_handler_v20
  2024-07-17 09:01:02.053501     raise client_exc(message=error_message,
  2024-07-17 09:01:02.053506 neutronclient.common.exceptions.ServiceUnavailable: <html><body><h1>503 Service Unavailable</h1>
  2024-07-17 09:01:02.053514 No server is available to handle this request.
  2024-07-17 09:01:02.053520 </body></html>

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