Unable to see the instance details of one VM from horizon

Solution In Progress - Updated -

Issue

  • We are unable to see the VM details in the horizon dashboard.

  • We can see the following errors in the horizon logs when trying to display the VM details:

2025-03-12 10:13:13,053 58 ERROR django.request Internal Server Error: /dashboard/project/instances/66775a11-da30-4bcd-a0e0-a4360ff44772/
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/usr/lib/python3.9/site-packages/django/core/handlers/base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/lib/python3.9/site-packages/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python3.9/site-packages/horizon/decorators.py", line 52, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python3.9/site-packages/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python3.9/site-packages/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python3.9/site-packages/horizon/decorators.py", line 112, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python3.9/site-packages/horizon/decorators.py", line 84, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python3.9/site-packages/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python3.9/site-packages/django/views/generic/base.py", line 97, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/lib/python3.9/site-packages/horizon/tabs/views.py", line 70, in get
    context = self.get_context_data(**kwargs)
  File "/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/instances/views.py", line 495, in get_context_data
    context = super().get_context_data(**kwargs)
  File "/usr/lib/python3.9/site-packages/horizon/tabs/views.py", line 55, in get_context_data
    exceptions.handle(self.request)
  File "/usr/lib/python3.9/site-packages/horizon/tabs/views.py", line 53, in get_context_data
    context["tab_group"].load_tab_data()
  File "/usr/lib/python3.9/site-packages/horizon/tabs/base.py", line 176, in load_tab_data
    exceptions.handle(self.request)
  File "/usr/lib/python3.9/site-packages/horizon/tabs/base.py", line 173, in load_tab_data
    tab._data = tab.get_context_data(self.request)
  File "/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/instances/tabs.py", line 40, in get_context_data
    if instance.volumes and not instance.image:
  File "/usr/share/openstack-dashboard/openstack_dashboard/api/base.py", line 139, in __getattribute__
    return object.__getattribute__(self, attr)
AttributeError: 'Server' object has no attribute 'volumes'
2025-03-12 10:13:15,320 57 ERROR django.request Internal Server Error: /dashboard/project/instances/a46ba469-9d06-4ff3-8fd4-57e1514898ef/

Environment

  • Red Hat OpenStack Platform 17.1 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content