/etc/apache2/conf.d/dashboard.conf contains wrong paths in the Ubuntu package

Bug #966069 reported by Martin Gerhard Loschwitz
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Undecided
Unassigned
horizon (Ubuntu)
Medium
Unassigned

Bug Description

Hi there,

I installed the openstack-dashboard package, version 2012.1~rc1-0ubuntu1. I noticed that /etc/apache2/conf.d/dashboard.conf in that package contains a wrong path to the location of the dashboard files in the filesystem. This is the original file:

=>
WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi

<Directory /usr/share/openstack-dashboard/dashboard/wsgi>
  Order allow,deny
  Allow from all
</Directory>
<=

The problem in there is the Directory directive.

I changed the file to look like this, based on numerous guides I found on the web:

=>
WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
WSGIDaemonProcess horizon user=www-data group=www-data processes=3 threads=10

Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static

<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
  Order allow,deny
  Allow from all
</Directory>
<=

I don't know whether the other lines are of interest for you as well, but with that configuration, the Dashboard works just fine.

Best regards
Martin

Dave Walker (davewalker)
Changed in horizon (Ubuntu):
importance: Undecided → Medium
Changed in horizon (Ubuntu):
status: New → Triaged
Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

This bug is already targeted to the correct Ubuntu package, and the code in question is maintained by the other project entirely. Closing for this Horizon.

Changed in horizon:
status: New → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package horizon - 2012.1~rc2-0ubuntu1

---------------
horizon (2012.1~rc2-0ubuntu1) precise; urgency=low

  [ Chuck Short ]
  * New usptream release.
  * debian/control: Use python-cherrypy3
  * debian/rules: Update pythonpath in order to run tests.
  * debian/patches/fix-coverage-binary-name.patch: Make the testsuite
    run.
  * debian/rules: Fail build if tests fail.

  [ Adam Gandelman ]
  * debian/control: Add python-memcache
  * debain/dashboard.conf: Update to match current upstream documentation
    (LP: #966069)

  [ Adrien Cunin ]
  * Renamed Apache config file from dashboard.conf to openstack-dashboard.conf
    (LP: #965410)
    - Updated post{inst,rm} and added preinst to handle correctly the rename
 -- Chuck Short <email address hidden> Wed, 04 Apr 2012 07:21:15 -0400

Changed in horizon (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers