LOCAL_PATH config var ignored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Matt Fischer |
Bug Description
In settings.py, line 220, LOCAL_PATH is computed from os.path.dirname. This causes the next line to try writing in /usr/share/
So the dashboard fails and returns error 500.
I have set LOCAL_PATH to "/var/lock/apache2" in "/etc/openstack
Moreover, in Debian, the default value for LOCAL_PATH in local_settings.py should be /var/lock/apache2 (or maybe /var/lib/horizon), but certainly not something in /usr/share/
Changed in horizon: | |
milestone: | none → icehouse-2 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-2 → 2014.1 |
IMHO, that's a packaging thing. E.g. for Fedora packages, I'm setting this kind of stuff in local_settings: https:/ /github. com/redhat- openstack/ horizon/ blob/master- patches/ openstack_ dashboard/ local/local_ settings. py.example# L91