Revision history [back]

click to hide/show revision 1
initial version

Internal Server Error at horizon dashboard

Hi,

After following manual installation of openstack installation guide. I am facing issue in horizon service (i.e)

Internal Server Error

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

Please contact the server administrator at webmaster@localhost 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 10.0.0.10 Port 80

I have attached apache error log. Please anyone help me in this.

Error Log

[Wed Aug 07 18:05:20.576449 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] mod_wsgi (pid=11809): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py' cannot be loaded as Python module. [Wed Aug 07 18:05:20.576505 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] mod_wsgi (pid=11809): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'. [Wed Aug 07 18:05:20.576544 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] Traceback (most recent call last): [Wed Aug 07 18:05:20.576568 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module> [Wed Aug 07 18:05:20.576606 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] application = get_wsgi_application() [Wed Aug 07 18:05:20.576622 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] File "/usr/lib/python2.7/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_application [Wed Aug 07 18:05:20.576645 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] django.setup(set_prefix=False) [Wed Aug 07 18:05:20.576656 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 22, in setup [Wed Aug 07 18:05:20.576674 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) [Wed Aug 07 18:05:20.576685 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 56, in __getattr__ [Wed Aug 07 18:05:20.576703 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] self._setup(name) [Wed Aug 07 18:05:20.576714 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 41, in _setup [Wed Aug 07 18:05:20.576728 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] self._wrapped = Settings(settings_module) [Wed Aug 07 18:05:20.576740 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 110, in __init__ [Wed Aug 07 18:05:20.576756 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] mod = importlib.import_module(self.SETTINGS_MODULE) [Wed Aug 07 18:05:20.576768 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module [Wed Aug 07 18:05:20.576786 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] __import__(name) [Wed Aug 07 18:05:20.576797 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] File "/usr/lib/python2.7/dist-packages/openstack_dashboard/settings.py", line 379, in <module> [Wed Aug 07 18:05:20.576815 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] from local.local_settings import * # noqa: F403,H303 [Wed Aug 07 18:05:20.576849 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] File "/usr/lib/python2.7/dist-packages/openstack_dashboard/local/local_settings.py", line 371 [Wed Aug 07 18:05:20.576858 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] 'supported_vnic_types': ['*'], [Wed Aug 07 18:05:20.576863 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] ^ [Wed Aug 07 18:05:20.576868 2019] [wsgi:error] [pid 11809:tid 139799738365696] [remote 10.0.0.10:45916] IndentationError: unexpected indent