Error in dashboard service installation
After the installation of dashboard service on the controller node i tried to access the dashboard using a web browser at http://ip_address/horizon.
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.
This is my error.log file :
Mon Nov 12 01:03:34.832729 2018] [wsgi:error] [pid 21556:tid 139666673092352] [remote 192.168.1.66:37512]
SyntaxError: invalid syntax
[Mon Nov 12 01:03:45.063300 2018] [wsgi:error] [pid 21557:tid 139666723448576] [remote 192.168.1.66:37566] mod_wsgi (pid=21557): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi
[Mon Nov 12 01:03:45.063342 2018] [wsgi:error] [pid 21557:tid 139666723448576] [remote 192.168.1.66:37566] mod_wsgi (pid=21557): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/$
[Mon Nov 12 01:03:45.063363 2018] [wsgi:error] [pid 21557:tid 139666723448576] [remote 192.168.1.66:37566] Traceback (most recent call last):
[Mon Nov 12 01:03:45.063382 2018] [wsgi:error] [pid 21557:tid 139666723448576] [remote 192.168.1.66:37566] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi.py", line 29, in <module>
[Mon Nov 12 01:03:45.063437 2018] [wsgi:error] [pid 21557:tid 139666723448576] [remote 192.168.1.66:37566] application = get_wsgi_application()
[Mon Nov 12 01:03:45.063447 2018] [wsgi:error] [pid 21557:tid 139666723448576] [remote 192.168.1.66:37566] File "/usr/local/lib/python2.7/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_applic$
[Mon Nov 12 01:03:45.063478 2018] [wsgi:error] [pid 21557:tid 139666723448576] [remote 192.168.1.66:37566] django.setup(set_prefix=False)
[Mon Nov 12 01:03:45.063487 2018] [wsgi:error] [pid 21557:tid 139666723448576] [remote 192.168.1.66:37566] File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 22, in setup
[Mon Nov 12 01:03:45.063518 2018] [wsgi:error] [pid 21557:tid 139666723448576] [remote 192.168.1.66:37566] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Mon Nov 12 01:03:45.063528 2018] [wsgi:error] [pid 21557:tid 139666723448576] [remote 192.168.1.66:37566] File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 56, in __getattr__
[Mon Nov 12 01:03:45.063598 2018] [wsgi:error] [pid 21557:tid 139666723448576] [remote 192.168.1.66:37566] self._setup(name)
[Mon Nov 12 01:03:45.063607 2018] [wsgi:error] [pid 21557:tid 139666723448576] [remote 192.168.1.66:37566] File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 41, in _setup
[Mon Nov 12 01:03:45.063621 2018] [wsgi:error] [pid 21557:tid 139666723448576] [remote 192.168.1.66:37566] self._wrapped = Settings(settings_module)
[Mon Nov 12 01:03:45.063635 2018] [wsgi:error] [pid 21557:tid 139666723448576] [remote ...
Look for more information in the error log.
@Bernd Bausch I set my error.log file above
i didn't understaned how can i resolve the error
The messages are fairly clear: WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi’ seems to contain a syntax error.
From the log its saying "SyntaxError: invalid syntax".Please check our configuration
I couldn't see any syntax error in the /usr/share/openstack-dashboard/openstack_dashboard/wsgi.py file cited above in the question