Horizon wsgi can run in the wrong WSGIProcessGroup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
Icehouse |
New
|
Undecided
|
Unassigned | ||
Kilo |
New
|
Undecided
|
Unassigned | ||
Liberty |
New
|
Undecided
|
Unassigned | ||
Mitaka |
New
|
Undecided
|
Unassigned | ||
Newton |
Fix Released
|
Undecided
|
Unassigned | ||
horizon (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
New
|
Undecided
|
Unassigned | ||
Wily |
New
|
Undecided
|
Unassigned | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Horizon wsgi can run in the wrong WSGIProcessGroup when multiple WSGIProcessGroup are defined. Typically with the 2 following configurations enabled on apache2:
# /etc/apache2/
WSGIScriptAlias /horizon /usr/share/
WSGIDaemonPr
WSGIProcessGroup horizon
Alias /static /usr/share/
Alias /horizon/static /usr/share/
<Directory /usr/share/
Order allow,deny
Allow from all
</Directory>
# /etc/apache2/
WSGIScriptAlias /mywsgi /usr/share/
WSGIDaemonPr
WSGIProcessGroup mywsgi
<Directory /usr/share/mywsgi>
Order allow,deny
Allow from all
</Directory>
Nothing ensures that Horizon wsgi will run in "horizon" WSGIProcessGroup.
To ensure it we should use:
WSGIScriptAlias /horizon /usr/share/
instead of:
WSGIScriptAlias /horizon /usr/share/
It affects my Kilo openstack-dashboard on Trusty BUT should affect every openstack-dashboard on every ubuntu
Changed in cloud-archive: | |
status: | New → Fix Committed |
This bug was fixed in the package horizon - 2:10.0. 0~b1-0ubuntu2
--------------- 0~b1-0ubuntu2) yakkety; urgency=medium
horizon (2:10.0.
* Fold Ubuntu theme into themes installed as part of the core dashboard package: dashboard- ubuntu- theme.* ,control: dashboard- ubuntu- theme transitional. dashboard. install: Install Ubuntu theme. ubuntu_ theme.py: Drop, no longer needed. settings. patch: Add Ubuntu theme to list of available dashboard. conf: Ensure wsgi process-group is set for
openstack-
- d/openstack-
Make openstack-
- d/openstack-
- d/theme/
- d/p/ubuntu_
themes for users.
* d/p/*: Refresh.
* d/openstack-
horizon application (LP: #1584040), set process display-name to
wsgi application group for ease of debugging.
-- James Page <email address hidden> Tue, 07 Jun 2016 11:00:15 +0100