horizon does not work with django 1.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Matthias Runge |
Bug Description
In the gate we see the following on the dashboard scenario:
2013-12-04 19:17:45.569 | =======
2013-12-04 19:17:45.569 | FAIL: tempest.
2013-12-04 19:17:45.570 | tempest.
2013-12-04 19:17:45.570 | -------
2013-12-04 19:17:45.570 | _StringException: Empty attachments:
2013-12-04 19:17:45.571 | pythonlogging:''
2013-12-04 19:17:45.571 | stderr
2013-12-04 19:17:45.571 | stdout
2013-12-04 19:17:45.572 |
2013-12-04 19:17:45.572 | Traceback (most recent call last):
2013-12-04 19:17:45.572 | File "tempest/
2013-12-04 19:17:45.573 | self.check_
2013-12-04 19:17:45.573 | File "tempest/
2013-12-04 19:17:45.573 | response = urllib2.
2013-12-04 19:17:45.574 | File "/usr/lib/
2013-12-04 19:17:45.574 | return _opener.open(url, data, timeout)
2013-12-04 19:17:45.574 | File "/usr/lib/
2013-12-04 19:17:45.575 | response = meth(req, response)
2013-12-04 19:17:45.575 | File "/usr/lib/
2013-12-04 19:17:45.575 | 'http', request, response, code, msg, hdrs)
2013-12-04 19:17:45.576 | File "/usr/lib/
2013-12-04 19:17:45.576 | return self._call_
2013-12-04 19:17:45.576 | File "/usr/lib/
2013-12-04 19:17:45.577 | result = func(*args)
2013-12-04 19:17:45.578 | File "/usr/lib/
2013-12-04 19:17:45.578 | raise HTTPError(
2013-12-04 19:17:45.578 | HTTPError: HTTP Error 500: Internal Server Error
This is triggered by the following error in the horizon startup:
+ ln -sf /opt/stack/
+ export PYTHONUNBUFFERED=1
+ PYTHONUNBUFFERED=1
+ exec /bin/bash -c 'cd /opt/stack/
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] mod_wsgi (pid=24323): Target WSGI script '/opt/stack/
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] mod_wsgi (pid=24323): Exception occurred processing WSGI script '/opt/stack/
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] Traceback (most recent call last):
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] File "/opt/stack/
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] import django.
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] File "/usr/local/
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] from django.
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] File "/usr/local/
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] from django.db import connections, transaction
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] File "/usr/local/
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] signals.
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] File "/usr/local/
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] if settings.DEBUG:
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] File "/usr/local/
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] self._setup(name)
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] File "/usr/local/
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] % (desc, ENVIRONMENT_
[Wed Dec 04 19:08:13 2013] [error] [client 127.0.0.1] ImproperlyConfi
Changed in horizon: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in horizon: | |
milestone: | none → icehouse-2 |
status: | Triaged → In Progress |
assignee: | nobody → Matthias Runge (mrunge) |
Changed in horizon: | |
status: | In Progress → Fix Committed |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-2 → 2014.1 |
Related to bug 1257809.