Get Internal Server Error error when i want to access to IPAddress/dashboard

asked 2020-03-16 10:44:29 -0600

maryam gravatar image

I installed openstack with devstack on a fresh ubuntu server, I ran ./ and it was down, but when i want to access to dashboard, i get this error on browser Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Apache/2.4.29 (Ubuntu) Server at Port 80 ................ These logs are in this path: /var/log/apache2/horizon_error.log ModuleNotFoundError: No module named 'django' 2020-03-16 18:52:45.593639 mod_wsgi (pid=2596): Target WSGI script '/opt/stack/horizon/openstack_dashboard/' cannot be loaded as Python module. 2020-03-16 18:52:45.593867 mod_wsgi (pid=2596): Exception occurred processing WSGI script '/opt/stack/horizon/openstack_dashboard/'. Traceback (most recent call last): File "/opt/stack/horizon/openstack_dashboard/", line 21, in <module> from django.core.wsgi import get_wsgi_application ModuleNotFoundError: No module named 'django' .......... What should I do for access to open stack dashboard?

os:ubuntu18 devstack:last master version

edit retag flag offensive close merge delete


What do you mean by "it was down"?

Django is the web framework used to implement Horizon. It's essential. In my opinion, if the django module is missing, something went fundamentally wrong during installation. Find relevant messages in the log file.

Bernd Bausch gravatar imageBernd Bausch ( 2020-03-16 20:16:56 -0600 )edit

It means that it shows dashboard IP and I did not get any error. thank you.

maryam gravatar imagemaryam ( 2020-03-17 02:55:09 -0600 )edit

The django error could also point to a config error for horizon dashboard. Double check your configs and compare them to the deployment guide. The dashboard (most likely) is not accessible because Apache won’t start because of the django error.

eblock gravatar imageeblock ( 2020-03-17 13:58:26 -0600 )edit