← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1254694] Re: LOCAL_PATH config var ignored

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => icehouse-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1254694

Title:
  LOCAL_PATH config var ignored

Status in OpenStack Dashboard (Horizon):
  Fix Released

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/openstack-
  dashboard/openstack_dashboard/local, which is read only in Debian
  (writing runtime in /usr is forbidden).

  So the dashboard fails and returns error 500.

  I have set LOCAL_PATH to "/var/lock/apache2" in "/etc/openstack-
  dashboard/local_settings.py", but this doesn't change anything. I
  think line 220 of settings.py should use os.path.dirname to set
  LOCAL_PATH *only if* LOCAL_PATH isn't set yet.

  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
  /openstack-dashboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1254694/+subscriptions