Horizon throws 404 error in CentOS 7 minimal installation

asked 2020-04-11 00:40:58 -0500

aLuViAn gravatar image

Hi, I'm new to OpenStack and was following https://docs.openstack.org/install-guide/openstack-services.html (this)guide to install minimal OpenStack Train on two CentOS 7 machines. After the installation of Horizon, when I try http://dev-openstack-controller/dashboard (http://dev-openstack-controller/dashb...), it redirects me to login page and then throws 404 error. I've checked my previous installation steps and their verification, and all of them work fine. I would appreciate if someone guides me through the troubleshooting process of this component.

P.S : I changed the Django debug configuration to True and restarted httpd. The following was echoed in errors.log :

[Sat Apr 11 10:05:50.110685 2020] [:error] [pid 3792] WARNING:root:Use of this 'djano.wsgi' file has been deprecated since the Rocky release in favor of 'wsgi.py' in the 'openstack_dashboard' module. This file is a legacy naming from before Django 1.4 and an importable 'wsgi.py' is now the default. This file will be removed in the T release cycle.
[Sat Apr 11 10:05:51.947828 2020] [:error] [pid 3792] DEBUG django.request MiddlewareNotUsed: 'openstack_dashboard.contrib.developer.profiler.middleware.ProfilerMiddleware'
[Sat Apr 11 10:05:51.947988 2020] [:error] [pid 3792] DEBUG django.request MiddlewareNotUsed: 'openstack_dashboard.contrib.developer.profiler.middleware.ProfilerClientMiddleware'
[Sat Apr 11 10:05:51.962376 2020] [:error] [pid 3792] DEBUG django.request MiddlewareNotUsed: 'horizon.middleware.OperationLogMiddleware'
[Sat Apr 11 10:05:52.316039 2020] [:error] [pid 3792] DEBUG horizon.base Load condition failed for panel: backups
[Sat Apr 11 10:05:52.329763 2020] [:error] [pid 3792] DEBUG horizon.base Load condition failed for panel: identity_providers
[Sat Apr 11 10:05:52.330343 2020] [:error] [pid 3792] DEBUG horizon.base Load condition failed for panel: mappings

I checked keystone.log but didn't find any errors. What can be the issue for the above?

edit retag flag offensive close merge delete