Pike - Horizon Internal Server Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This is Pike version. Followed Ubuntu related installation guide. Everything else working except Horizon. when access got following error in /var/log/
Tried this, did not work:
chown www-data:www-data /usr/lib/
Also tried edit: /etc/openstack-
TIME_ZONE = "US/Eastern"
or
TIME_ZONE = "America/New_York"
or
LOCAL_PATH = "/tmp"
(right now is LOCAL_PATH = os.path.
Both django.wsgi and secret_key.py are root:root
Error message as following:
[Fri Jan 12 21:05:43.174051 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] mod_wsgi (pid=16008): Target WSGI script '/usr/share/
[Fri Jan 12 21:05:43.174089 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] mod_wsgi (pid=16008): Exception occurred processing WSGI script '/usr/share/
[Fri Jan 12 21:05:43.174123 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] Traceback (most recent call last):
[Fri Jan 12 21:05:43.174147 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] File "/usr/share/
[Fri Jan 12 21:05:43.174221 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] application = get_wsgi_
[Fri Jan 12 21:05:43.174240 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] File "/usr/lib/
[Fri Jan 12 21:05:43.174292 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] django.setup()
[Fri Jan 12 21:05:43.174309 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] File "/usr/lib/
[Fri Jan 12 21:05:43.174355 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] configure_
[Fri Jan 12 21:05:43.174371 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] File "/usr/lib/
[Fri Jan 12 21:05:43.174440 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] self._setup(name)
[Fri Jan 12 21:05:43.174455 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] File "/usr/lib/
[Fri Jan 12 21:05:43.174478 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] self._wrapped = Settings(
[Fri Jan 12 21:05:43.174487 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] File "/usr/lib/
[Fri Jan 12 21:05:43.174505 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] mod = importlib.
[Fri Jan 12 21:05:43.174518 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] File "/usr/lib/
[Fri Jan 12 21:05:43.174561 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] __import__(name)
[Fri Jan 12 21:05:43.174572 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] File "/usr/share/
[Fri Jan 12 21:05:43.174705 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] from local.local_
[Fri Jan 12 21:05:43.174744 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] File "/usr/share/
[Fri Jan 12 21:05:43.174753 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] 'supported_
[Fri Jan 12 21:05:43.174759 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] ^
[Fri Jan 12 21:05:43.174765 2018] [wsgi:error] [pid 16008:tid 140507071096576] [remote 192.168.1.30:10336] IndentationError: unexpected indent
root@pike-
The error message says "IndentationError: unexpected indent" at local_settings.py", line 393.
You edited local_settings.py and the file contains the indent error in python. This is not a problem of horizon source code.