Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

Hi

Im facing issue with Horizon.

Setup: Ubuntu 18.04 Openstack Stein

Below is the error message im getting from web console 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 is working fine.

apache error.log output

[Tue Jan 07 15:00:15.085316 2020] [mpm_event:notice] [pid 14042:tid 140215295712192] AH00489: Apache/2.4.29 (Ubuntu) mod_wsgi/4.5.17 Python/3.6 configured -- resuming normal operations [Tue Jan 07 15:00:15.086724 2020] [core:notice] [pid 14042:tid 140215295712192] AH00094: Command line: '/usr/sbin/apache2' [Tue Jan 07 15:00:49.675982 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] mod_wsgi (pid=14054): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py' cannot be loaded as Python module. [Tue Jan 07 15:00:49.676057 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] mod_wsgi (pid=14054): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'. [Tue Jan 07 15:00:49.676934 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] Traceback (most recent call last): [Tue Jan 07 15:00:49.677005 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module> [Tue Jan 07 15:00:49.677011 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] application = get_wsgi_application() [Tue Jan 07 15:00:49.677018 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "/usr/lib/python3/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_application [Tue Jan 07 15:00:49.677022 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] django.setup(set_prefix=False) [Tue Jan 07 15:00:49.677028 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "/usr/lib/python3/dist-packages/django/__init__.py", line 22, in setup [Tue Jan 07 15:00:49.677032 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) [Tue Jan 07 15:00:49.677038 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 56, in __getattr__ [Tue Jan 07 15:00:49.677041 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] self._setup(name) [Tue Jan 07 15:00:49.677047 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 41, in _setup [Tue Jan 07 15:00:49.677052 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] self._wrapped = Settings(settings_module) [Tue Jan 07 15:00:49.677061 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 110, in __init__ [Tue Jan 07 15:00:49.677067 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] mod = importlib.import_module(self.SETTINGS_MODULE) [Tue Jan 07 15:00:49.677076 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module [Tue Jan 07 15:00:49.677082 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] return _bootstrap._gcd_import(name[level:], package, level) [Tue Jan 07 15:00:49.677092 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "<frozen importlib._bootstrap="">", line 994, in _gcd_import [Tue Jan 07 15:00:49.677101 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "<frozen importlib._bootstrap="">", line 971, in _find_and_load [Tue Jan 07 15:00:49.677110 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "<frozen importlib._bootstrap="">", line 955, in _find_and_load_unlocked [Tue Jan 07 15:00:49.677116 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "<frozen importlib._bootstrap="">", line 665, in _load_unlocked [Tue Jan 07 15:00:49.677122 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "<frozen importlib._bootstrap_external="">", line 678, in exec_module [Tue Jan 07 15:00:49.677149 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "<frozen importlib._bootstrap="">", line 219, in _call_with_frames_removed [Tue Jan 07 15:00:49.677157 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "/usr/lib/python3/dist-packages/openstack_dashboard/settings.py", line 392, in <module> [Tue Jan 07 15:00:49.677161 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] from local.local_settings import * # noqa: F403,H303 [Tue Jan 07 15:00:49.677185 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] File "/usr/lib/python3/dist-packages/openstack_dashboard/local/local_settings.py", line 378 [Tue Jan 07 15:00:49.677210 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] 'enable_router': False, [Tue Jan 07 15:00:49.677241 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] ^ [Tue Jan 07 15:00:49.677257 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] SyntaxError: invalid syntax [Tue Jan 07 15:08:29.219594 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] mod_wsgi (pid=14054): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py' cannot be loaded as Python module. [Tue Jan 07 15:08:29.219941 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] mod_wsgi (pid=14054): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'. [Tue Jan 07 15:08:29.220388 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] Traceback (most recent call last): [Tue Jan 07 15:08:29.220449 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module> [Tue Jan 07 15:08:29.220454 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] application = get_wsgi_application() [Tue Jan 07 15:08:29.220460 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "/usr/lib/python3/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_application [Tue Jan 07 15:08:29.220464 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] django.setup(set_prefix=False) [Tue Jan 07 15:08:29.220469 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "/usr/lib/python3/dist-packages/django/__init__.py", line 22, in setup [Tue Jan 07 15:08:29.220473 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) [Tue Jan 07 15:08:29.220478 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 56, in __getattr__ [Tue Jan 07 15:08:29.220482 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] self._setup(name) [Tue Jan 07 15:08:29.220487 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 41, in _setup [Tue Jan 07 15:08:29.220490 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] self._wrapped = Settings(settings_module) [Tue Jan 07 15:08:29.220495 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 110, in __init__ [Tue Jan 07 15:08:29.220498 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] mod = importlib.import_module(self.SETTINGS_MODULE) [Tue Jan 07 15:08:29.220503 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module [Tue Jan 07 15:08:29.220507 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] return _bootstrap._gcd_import(name[level:], package, level) [Tue Jan 07 15:08:29.220522 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "<frozen importlib._bootstrap="">", line 994, in _gcd_import [Tue Jan 07 15:08:29.220527 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "<frozen importlib._bootstrap="">", line 971, in _find_and_load [Tue Jan 07 15:08:29.220532 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "<frozen importlib._bootstrap="">", line 955, in _find_and_load_unlocked [Tue Jan 07 15:08:29.220558 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "<frozen importlib._bootstrap="">", line 665, in _load_unlocked [Tue Jan 07 15:08:29.220568 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "<frozen importlib._bootstrap_external="">", line 678, in exec_module [Tue Jan 07 15:08:29.220573 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "<frozen importlib._bootstrap="">", line 219, in _call_with_frames_removed [Tue Jan 07 15:08:29.220578 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "/usr/lib/python3/dist-packages/openstack_dashboard/settings.py", line 392, in <module> [Tue Jan 07 15:08:29.220581 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] from local.local_settings import * # noqa: F403,H303 [Tue Jan 07 15:08:29.220595 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] File "/usr/lib/python3/dist-packages/openstack_dashboard/local/local_settings.py", line 378 [Tue Jan 07 15:08:29.220602 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] 'enable_router': False, [Tue Jan 07 15:08:29.220619 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] ^ [Tue Jan 07 15:08:29.220626 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] SyntaxError: invalid syntax [Tue Jan 07 15:09:22.546949 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] mod_wsgi (pid=14052): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py' cannot be loaded as Python module. [Tue Jan 07 15:09:22.547127 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] mod_wsgi (pid=14052): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'. [Tue Jan 07 15:09:22.550288 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] Traceback (most recent call last): [Tue Jan 07 15:09:22.550617 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module> [Tue Jan 07 15:09:22.550637 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] application = get_wsgi_application() [Tue Jan 07 15:09:22.550649 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "/usr/lib/python3/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_application [Tue Jan 07 15:09:22.550656 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] django.setup(set_prefix=False) [Tue Jan 07 15:09:22.550666 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "/usr/lib/python3/dist-packages/django/__init__.py", line 22, in setup [Tue Jan 07 15:09:22.550672 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) [Tue Jan 07 15:09:22.550682 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 56, in __getattr__ [Tue Jan 07 15:09:22.550688 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] self._setup(name) [Tue Jan 07 15:09:22.550697 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 41, in _setup [Tue Jan 07 15:09:22.550717 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] self._wrapped = Settings(settings_module) [Tue Jan 07 15:09:22.550727 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 110, in __init__ [Tue Jan 07 15:09:22.550732 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] mod = importlib.import_module(self.SETTINGS_MODULE) [Tue Jan 07 15:09:22.550741 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module [Tue Jan 07 15:09:22.550746 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] return _bootstrap._gcd_import(name[level:], package, level) [Tue Jan 07 15:09:22.550755 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "<frozen importlib._bootstrap="">", line 994, in _gcd_import [Tue Jan 07 15:09:22.550765 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "<frozen importlib._bootstrap="">", line 971, in _find_and_load [Tue Jan 07 15:09:22.550774 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "<frozen importlib._bootstrap="">", line 955, in _find_and_load_unlocked [Tue Jan 07 15:09:22.550783 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "<frozen importlib._bootstrap="">", line 665, in _load_unlocked [Tue Jan 07 15:09:22.550792 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "<frozen importlib._bootstrap_external="">", line 678, in exec_module [Tue Jan 07 15:09:22.550801 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "<frozen importlib._bootstrap="">", line 219, in _call_with_frames_removed [Tue Jan 07 15:09:22.550810 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "/usr/lib/python3/dist-packages/openstack_dashboard/settings.py", line 391, in <module> [Tue Jan 07 15:09:22.550815 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] from local.local_settings import * # noqa: F403,H303 [Tue Jan 07 15:09:22.550847 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] File "/usr/lib/python3/dist-packages/openstack_dashboard/local/local_settings.py", line 378 [Tue Jan 07 15:09:22.550861 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] 'enable_router': False, [Tue Jan 07 15:09:22.550897 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] ^ [Tue Jan 07 15:09:22.550909 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] SyntaxError: invalid syntax [Tue Jan 07 15:25:29.258269 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] mod_wsgi (pid=14054): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py' cannot be loaded as Python module. [Tue Jan 07 15:25:29.258549 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] mod_wsgi (pid=14054): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'. [Tue Jan 07 15:25:29.259675 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] Traceback (most recent call last): [Tue Jan 07 15:25:29.259813 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module> [Tue Jan 07 15:25:29.259834 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] application = get_wsgi_application() [Tue Jan 07 15:25:29.259851 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "/usr/lib/python3/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_application [Tue Jan 07 15:25:29.260013 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] django.setup(set_prefix=False) [Tue Jan 07 15:25:29.260057 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "/usr/lib/python3/dist-packages/django/__init__.py", line 22, in setup [Tue Jan 07 15:25:29.260073 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) [Tue Jan 07 15:25:29.260091 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 56, in __getattr__ [Tue Jan 07 15:25:29.260101 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] self._setup(name) [Tue Jan 07 15:25:29.260115 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 41, in _setup [Tue Jan 07 15:25:29.260122 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] self._wrapped = Settings(settings_module) [Tue Jan 07 15:25:29.260134 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 110, in __init__ [Tue Jan 07 15:25:29.260142 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] mod = importlib.import_module(self.SETTINGS_MODULE) [Tue Jan 07 15:25:29.260154 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module [Tue Jan 07 15:25:29.260162 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] return _bootstrap._gcd_import(name[level:], package, level) [Tue Jan 07 15:25:29.260172 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "<frozen importlib._bootstrap="">", line 994, in _gcd_import [Tue Jan 07 15:25:29.260184 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "<frozen importlib._bootstrap="">", line 971, in _find_and_load [Tue Jan 07 15:25:29.260194 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "<frozen importlib._bootstrap="">", line 955, in _find_and_load_unlocked [Tue Jan 07 15:25:29.260202 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "<frozen importlib._bootstrap="">", line 665, in _load_unlocked [Tue Jan 07 15:25:29.260211 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "<frozen importlib._bootstrap_external="">", line 678, in exec_module [Tue Jan 07 15:25:29.260222 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "<frozen importlib._bootstrap="">", line 219, in _call_with_frames_removed [Tue Jan 07 15:25:29.260234 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "/usr/lib/python3/dist-packages/openstack_dashboard/settings.py", line 391, in <module> [Tue Jan 07 15:25:29.260240 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] from local.local_settings import * # noqa: F403,H303 [Tue Jan 07 15:25:29.260282 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] File "/usr/lib/python3/dist-packages/openstack_dashboard/local/local_settings.py", line 378 [Tue Jan 07 15:25:29.260307 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] 'enable_router': False, [Tue Jan 07 15:25:29.260360 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] ^ [Tue Jan 07 15:25:29.260458 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] SyntaxError: invalid syntax

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

Hi

Im facing issue with Horizon.

Setup: Ubuntu 18.04 Openstack Stein

Below is the error message im getting from web console 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 is working fine.

apache error.log output

[Tue Jan 07 15:00:15.085316 2020] [mpm_event:notice] [pid 14042:tid 140215295712192] AH00489: Apache/2.4.29 (Ubuntu) mod_wsgi/4.5.17 Python/3.6 configured -- resuming normal operations
[Tue Jan 07 15:00:15.086724 2020] [core:notice] [pid 14042:tid 140215295712192] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 07 15:00:49.675982 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] mod_wsgi (pid=14054): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py' cannot be loaded as Python module.
[Tue Jan 07 15:00:49.676057 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] mod_wsgi (pid=14054): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'.
[Tue Jan 07 15:00:49.676934 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] Traceback (most recent call last):
[Tue Jan 07 15:00:49.677005 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module>
[Tue Jan 07 15:00:49.677011 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]     application = get_wsgi_application()
[Tue Jan 07 15:00:49.677018 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "/usr/lib/python3/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_application
[Tue Jan 07 15:00:49.677022 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]     django.setup(set_prefix=False)
[Tue Jan 07 15:00:49.677028 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "/usr/lib/python3/dist-packages/django/__init__.py", line 22, in setup
[Tue Jan 07 15:00:49.677032 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Tue Jan 07 15:00:49.677038 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 56, in __getattr__
[Tue Jan 07 15:00:49.677041 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]     self._setup(name)
[Tue Jan 07 15:00:49.677047 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 41, in _setup
[Tue Jan 07 15:00:49.677052 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]     self._wrapped = Settings(settings_module)
[Tue Jan 07 15:00:49.677061 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 110, in __init__
[Tue Jan 07 15:00:49.677067 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Tue Jan 07 15:00:49.677076 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
[Tue Jan 07 15:00:49.677082 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]     return _bootstrap._gcd_import(name[level:], package, level)
[Tue Jan 07 15:00:49.677092 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 994, in _gcd_import
[Tue Jan 07 15:00:49.677101 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 971, in _find_and_load
[Tue Jan 07 15:00:49.677110 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 955, in _find_and_load_unlocked
[Tue Jan 07 15:00:49.677116 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 665, in _load_unlocked
[Tue Jan 07 15:00:49.677122 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "<frozen importlib._bootstrap_external="">", importlib._bootstrap_external>", line 678, in exec_module
[Tue Jan 07 15:00:49.677149 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 219, in _call_with_frames_removed
[Tue Jan 07 15:00:49.677157 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "/usr/lib/python3/dist-packages/openstack_dashboard/settings.py", line 392, in <module>
[Tue Jan 07 15:00:49.677161 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]     from local.local_settings import *  # noqa: F403,H303
[Tue Jan 07 15:00:49.677185 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]   File "/usr/lib/python3/dist-packages/openstack_dashboard/local/local_settings.py", line 378
[Tue Jan 07 15:00:49.677210 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]     'enable_router': False,
[Tue Jan 07 15:00:49.677241 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290]                   ^
[Tue Jan 07 15:00:49.677257 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 127.0.0.1:33290] SyntaxError: invalid syntax
[Tue Jan 07 15:08:29.219594 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] mod_wsgi (pid=14054): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py' cannot be loaded as Python module.
[Tue Jan 07 15:08:29.219941 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] mod_wsgi (pid=14054): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'.
[Tue Jan 07 15:08:29.220388 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] Traceback (most recent call last):
[Tue Jan 07 15:08:29.220449 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module>
[Tue Jan 07 15:08:29.220454 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]     application = get_wsgi_application()
[Tue Jan 07 15:08:29.220460 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "/usr/lib/python3/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_application
[Tue Jan 07 15:08:29.220464 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]     django.setup(set_prefix=False)
[Tue Jan 07 15:08:29.220469 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "/usr/lib/python3/dist-packages/django/__init__.py", line 22, in setup
[Tue Jan 07 15:08:29.220473 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Tue Jan 07 15:08:29.220478 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 56, in __getattr__
[Tue Jan 07 15:08:29.220482 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]     self._setup(name)
[Tue Jan 07 15:08:29.220487 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 41, in _setup
[Tue Jan 07 15:08:29.220490 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]     self._wrapped = Settings(settings_module)
[Tue Jan 07 15:08:29.220495 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 110, in __init__
[Tue Jan 07 15:08:29.220498 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Tue Jan 07 15:08:29.220503 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
[Tue Jan 07 15:08:29.220507 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]     return _bootstrap._gcd_import(name[level:], package, level)
[Tue Jan 07 15:08:29.220522 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 994, in _gcd_import
[Tue Jan 07 15:08:29.220527 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 971, in _find_and_load
[Tue Jan 07 15:08:29.220532 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 955, in _find_and_load_unlocked
[Tue Jan 07 15:08:29.220558 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 665, in _load_unlocked
[Tue Jan 07 15:08:29.220568 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "<frozen importlib._bootstrap_external="">", importlib._bootstrap_external>", line 678, in exec_module
[Tue Jan 07 15:08:29.220573 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 219, in _call_with_frames_removed
[Tue Jan 07 15:08:29.220578 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "/usr/lib/python3/dist-packages/openstack_dashboard/settings.py", line 392, in <module>
[Tue Jan 07 15:08:29.220581 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]     from local.local_settings import *  # noqa: F403,H303
[Tue Jan 07 15:08:29.220595 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]   File "/usr/lib/python3/dist-packages/openstack_dashboard/local/local_settings.py", line 378
[Tue Jan 07 15:08:29.220602 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]     'enable_router': False,
[Tue Jan 07 15:08:29.220619 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318]                   ^
[Tue Jan 07 15:08:29.220626 2020] [wsgi:error] [pid 14054:tid 140215156586240] [remote 127.0.0.1:33318] SyntaxError: invalid syntax
[Tue Jan 07 15:09:22.546949 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] mod_wsgi (pid=14052): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py' cannot be loaded as Python module.
[Tue Jan 07 15:09:22.547127 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] mod_wsgi (pid=14052): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'.
[Tue Jan 07 15:09:22.550288 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] Traceback (most recent call last):
[Tue Jan 07 15:09:22.550617 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module>
[Tue Jan 07 15:09:22.550637 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]     application = get_wsgi_application()
[Tue Jan 07 15:09:22.550649 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "/usr/lib/python3/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_application
[Tue Jan 07 15:09:22.550656 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]     django.setup(set_prefix=False)
[Tue Jan 07 15:09:22.550666 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "/usr/lib/python3/dist-packages/django/__init__.py", line 22, in setup
[Tue Jan 07 15:09:22.550672 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Tue Jan 07 15:09:22.550682 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 56, in __getattr__
[Tue Jan 07 15:09:22.550688 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]     self._setup(name)
[Tue Jan 07 15:09:22.550697 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 41, in _setup
[Tue Jan 07 15:09:22.550717 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]     self._wrapped = Settings(settings_module)
[Tue Jan 07 15:09:22.550727 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 110, in __init__
[Tue Jan 07 15:09:22.550732 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Tue Jan 07 15:09:22.550741 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
[Tue Jan 07 15:09:22.550746 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]     return _bootstrap._gcd_import(name[level:], package, level)
[Tue Jan 07 15:09:22.550755 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 994, in _gcd_import
[Tue Jan 07 15:09:22.550765 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 971, in _find_and_load
[Tue Jan 07 15:09:22.550774 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 955, in _find_and_load_unlocked
[Tue Jan 07 15:09:22.550783 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 665, in _load_unlocked
[Tue Jan 07 15:09:22.550792 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "<frozen importlib._bootstrap_external="">", importlib._bootstrap_external>", line 678, in exec_module
[Tue Jan 07 15:09:22.550801 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 219, in _call_with_frames_removed
[Tue Jan 07 15:09:22.550810 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "/usr/lib/python3/dist-packages/openstack_dashboard/settings.py", line 391, in <module>
[Tue Jan 07 15:09:22.550815 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]     from local.local_settings import *  # noqa: F403,H303
[Tue Jan 07 15:09:22.550847 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]   File "/usr/lib/python3/dist-packages/openstack_dashboard/local/local_settings.py", line 378
[Tue Jan 07 15:09:22.550861 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]     'enable_router': False,
[Tue Jan 07 15:09:22.550897 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322]                   ^
[Tue Jan 07 15:09:22.550909 2020] [wsgi:error] [pid 14052:tid 140215164978944] [remote 127.0.0.1:33322] SyntaxError: invalid syntax
[Tue Jan 07 15:25:29.258269 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] mod_wsgi (pid=14054): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py' cannot be loaded as Python module.
[Tue Jan 07 15:25:29.258549 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] mod_wsgi (pid=14054): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'.
[Tue Jan 07 15:25:29.259675 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] Traceback (most recent call last):
[Tue Jan 07 15:25:29.259813 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module>
[Tue Jan 07 15:25:29.259834 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]     application = get_wsgi_application()
[Tue Jan 07 15:25:29.259851 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "/usr/lib/python3/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_application
[Tue Jan 07 15:25:29.260013 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]     django.setup(set_prefix=False)
[Tue Jan 07 15:25:29.260057 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "/usr/lib/python3/dist-packages/django/__init__.py", line 22, in setup
[Tue Jan 07 15:25:29.260073 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Tue Jan 07 15:25:29.260091 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 56, in __getattr__
[Tue Jan 07 15:25:29.260101 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]     self._setup(name)
[Tue Jan 07 15:25:29.260115 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 41, in _setup
[Tue Jan 07 15:25:29.260122 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]     self._wrapped = Settings(settings_module)
[Tue Jan 07 15:25:29.260134 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 110, in __init__
[Tue Jan 07 15:25:29.260142 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Tue Jan 07 15:25:29.260154 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
[Tue Jan 07 15:25:29.260162 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]     return _bootstrap._gcd_import(name[level:], package, level)
[Tue Jan 07 15:25:29.260172 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 994, in _gcd_import
[Tue Jan 07 15:25:29.260184 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 971, in _find_and_load
[Tue Jan 07 15:25:29.260194 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 955, in _find_and_load_unlocked
[Tue Jan 07 15:25:29.260202 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 665, in _load_unlocked
[Tue Jan 07 15:25:29.260211 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "<frozen importlib._bootstrap_external="">", importlib._bootstrap_external>", line 678, in exec_module
[Tue Jan 07 15:25:29.260222 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "<frozen importlib._bootstrap="">", importlib._bootstrap>", line 219, in _call_with_frames_removed
[Tue Jan 07 15:25:29.260234 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "/usr/lib/python3/dist-packages/openstack_dashboard/settings.py", line 391, in <module>
[Tue Jan 07 15:25:29.260240 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]     from local.local_settings import *  # noqa: F403,H303
[Tue Jan 07 15:25:29.260282 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]   File "/usr/lib/python3/dist-packages/openstack_dashboard/local/local_settings.py", line 378
[Tue Jan 07 15:25:29.260307 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]     'enable_router': False,
[Tue Jan 07 15:25:29.260360 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059]                   ^
[Tue Jan 07 15:25:29.260458 2020] [wsgi:error] [pid 14054:tid 140215114622720] [remote 10.0.0.2:55059] SyntaxError: invalid syntaxsyntax

Syntax error is fixed and still im facing the error. Find the fresh error log below.

[Wed Jan 08 03:32:59.857586 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] mod_wsgi (pid=24634): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py' cannot be loaded as Python module.
[Wed Jan 08 03:32:59.857667 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] mod_wsgi (pid=24634): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py'.
[Wed Jan 08 03:32:59.857848 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] Traceback (most recent call last):
[Wed Jan 08 03:32:59.857905 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module>
[Wed Jan 08 03:32:59.857911 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]     application = get_wsgi_application()
[Wed Jan 08 03:32:59.857917 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "/usr/lib/python3/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_application
[Wed Jan 08 03:32:59.857921 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]     django.setup(set_prefix=False)
[Wed Jan 08 03:32:59.857927 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "/usr/lib/python3/dist-packages/django/__init__.py", line 22, in setup
[Wed Jan 08 03:32:59.857930 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Wed Jan 08 03:32:59.857935 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 56, in __getattr__
[Wed Jan 08 03:32:59.857939 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]     self._setup(name)
[Wed Jan 08 03:32:59.857944 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 41, in _setup
[Wed Jan 08 03:32:59.857948 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]     self._wrapped = Settings(settings_module)
[Wed Jan 08 03:32:59.857953 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "/usr/lib/python3/dist-packages/django/conf/__init__.py", line 110, in __init__
[Wed Jan 08 03:32:59.857957 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Wed Jan 08 03:32:59.857962 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
[Wed Jan 08 03:32:59.857974 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]     return _bootstrap._gcd_import(name[level:], package, level)
[Wed Jan 08 03:32:59.857980 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "<frozen importlib._bootstrap>", line 994, in _gcd_import
[Wed Jan 08 03:32:59.857985 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "<frozen importlib._bootstrap>", line 971, in _find_and_load
[Wed Jan 08 03:32:59.857990 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
[Wed Jan 08 03:32:59.857995 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
[Wed Jan 08 03:32:59.858000 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "<frozen importlib._bootstrap_external>", line 678, in exec_module
[Wed Jan 08 03:32:59.858005 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
[Wed Jan 08 03:32:59.858010 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "/usr/lib/python3/dist-packages/openstack_dashboard/settings.py", line 391, in <module>
[Wed Jan 08 03:32:59.858013 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]     from local.local_settings import *  # noqa: F403,H303
[Wed Jan 08 03:32:59.858025 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]   File "/usr/lib/python3/dist-packages/openstack_dashboard/local/local_settings.py", line 422
[Wed Jan 08 03:32:59.858033 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]     'supported_vnic_types': ['*'],
[Wed Jan 08 03:32:59.858046 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993]     ^
[Wed Jan 08 03:32:59.858054 2020] [wsgi:error] [pid 24634:tid 140215106230016] [remote 10.0.0.2:57993] IndentationError: unexpected indent