r/openstack • u/Rajendra3213 • Jan 16 '26
Need Serious help :Horizon Failed to retrieve data, some time it could retrieve and sometime it doesn't.


Its, 2025.2 version of openstack. Horizon errorlog:
return self.render(context)
^^^^^^^^^^^^^^^^^^^^
File "/var/lib/kolla/venv/lib/python3.12/site-packages/django/template/library.py", line 258, in render
_dict = self.func(*resolved_args, **resolved_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/kolla/venv/lib/python3.12/site-packages/horizon/templatetags/horizon.py", line 71, in horizon_nav
panel.can_access(context)):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/kolla/venv/lib/python3.12/site-packages/openstack_dashboard/dashboards/identity/application_credentials/panel.py", line 29, in can_access
keystone_version = keystone.get_identity_api_version(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/kolla/venv/lib/python3.12/site-packages/openstack_dashboard/api/keystone.py", line 197, in get_identity_api_version
client = keystoneclient(request)
^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/kolla/venv/lib/python3.12/site-packages/openstack_dashboard/api/keystone.py", line 178, in keystoneclient
endpoint = _get_endpoint_url(request, endpoint_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/kolla/venv/lib/python3.12/site-packages/openstack_dashboard/api/keystone.py", line 105, in _get_endpoint_url
url = base.url_for(request,
^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/kolla/venv/lib/python3.12/site-packages/openstack_dashboard/api/base.py", line 350, in url_for
raise exceptions.ServiceCatalogException(service_type)
horizon.exceptions.ServiceCatalogException: Invalid service catalog: identity
[pid: 64|app: 0|req: 1185282/4741545] 10.170.16.22 () {44 vars in 861 bytes} [Fri Jan 16 07:15:25 2026] GET /project/instances/ => generated 1867 bytes in 1187 msecs (HTTP/1.1 500) 6 headers in 195 bytes (1 switches on core 0)
[pid: 63|app: 0|req: 1185866/4741546] 10.170.16.22 () {22 vars in 247 bytes} [Fri Jan 16 07:15:26 2026] OPTIONS / => generated 0 bytes in 4 msecs (HTTP/1.0 302) 7 headers in 252 bytes (1 switches on core 0)
[pid: 65|app: 0|req: 1185203/4741547] 10.170.16.21 () {22 vars in 247 bytes} [Fri Jan 16 07:15:27 2026] OPTIONS / => generated 0 bytes in 4 msecs (HTTP/1.0 302) 7 headers in 252 bytes (1 switches on core 0)
[pid: 66|app: 0|req: 1185053/4741548] 10.170.16.20 () {22 vars in 247 bytes} [Fri Jan 16 07:15:27 2026] OPTIONS / => generated 0 bytes in 4 msecs (HT
2
u/pixelatedchrome Jan 16 '26
Is your api service for compute and storage healthy? Does not look healthy to me.
1
u/Osa_ahlawy Jan 16 '26
Post logs of nova or cinder or glance. They will have a lot of errors. Is your network ok? Can you reach all endpoints from all controllers ?
1
u/rebellllious Jan 16 '26 edited Jan 16 '26
I have been having this from time to time on my all-in-one one node deployment. Usually it goes away with a page refresh, at times it can result in new errors after the refresh though... I have never dug deeper, unfortunately.
2
u/przemekkuczynski Jan 16 '26
Looking at screen I can bet permission in other projects like service for flavor key
1
u/RealisticSimulation2 Jan 22 '26
Are you deploying with kolla-ansible? Do you have kolla_enable_tls_backend enabled?
If so I had similar problems with Horizon after going to 2025.1 from 2024.2. I disabled it and the problems went away. I never had time to figure it out properly, so it has been disabled since.
However I also had problems in Skyline. It seemed like the connection was hanging when Skyline was pulling data from the backend which resulted in the called service calling a second backend service for data. My description might be hard to understand, but it is the best I can do to describe what happened.
When I had those errors, CLI also worked for me without errors.