openstack-dashboard hijacks the web root

Bug #1020313 reported by Soren Hansen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
horizon (Ubuntu)
Fix Released
Medium
Chuck Short

Bug Description

Upon installing openstack-dashboard, any and all vhosts are rendered unusable for any purpose other than serving openstack-dashboard.

This is because openstack-dashboard's conf file in /etc/apache2/conf.d says:

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

Traditionally, webapps configure themselves to live beneath a predetermined, sensible path component (typically corresponding to their package name). /openstack-dashboard would be the immediate choice, but I guess /openstack would be acceptable as well.

If someone wants it at the root (with which I can certainly sympathize), that's a post-install customisation. Simply blocking everything else is not cool.

Tags: canonistack
Dave Walker (davewalker)
Changed in horizon (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
James Page (james-page)
Changed in horizon (Ubuntu):
assignee: nobody → Chuck Short (zulcss)
milestone: none → quantal-alpha-3
James Page (james-page)
Changed in horizon (Ubuntu):
milestone: quantal-alpha-3 → ubuntu-12.10-beta-1
Revision history for this message
Michael Still (mikal) wrote :

Another option would be to create a vhost for the dashboard.

tags: added: canonistack
Revision history for this message
Soren Hansen (soren) wrote :

I don't understand what the problem is here? The bug is very clear: Don't attach to the web root, but have the dashboard live under /openstack or whatever.

Don't make everyone else suffer until you've figured out how you can get your deployment stuff to adjust this post install.

Do you want me to do it?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package horizon - 2012.2~f3-0ubuntu1

---------------
horizon (2012.2~f3-0ubuntu1) quantal; urgency=low

  [ Chuck Short ]
  * New upstream release.
  * debian/patches/fix-ubuntu-tests.patch: Fix test suites again to
    run during the builds.
  * debian/watch: Update.
  * debian/control: Add python-glanceclient. (LP: #1030911)
  * debian/openstack-dashboard.conf: Don't hijack apache's webroot. (LP:
    #1020313)
  * debian/control: Update horizon deps to reflect reality.

  [ Adam Gandelman ]
  * debian/control: Bump required python-django version to 1.4.
  * wrap-and-sort.
  * Fix (LP: #1036571):
      - debian/rules, openstack-dashboard.{links, dirs, postinst}: Add required
        symlinks and directories to allow Horizon to function with the packaged
        lessc.
      - debian/control: Add python-{cinder, swift, quantum}client,
        python-django-openstack-auth, python-netaddr, python-compressor, lessc.
  * debian/rules: Improve dh_auto_clean.
 -- Chuck Short <email address hidden> Thu, 16 Aug 2012 14:01:33 -0500

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.