diff options
| author | Mark Asselstine <mark.asselstine@windriver.com> | 2017-11-22 11:09:30 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-11-27 10:39:51 -0500 |
| commit | 64d36f6a9546f0c6d1d2a220b20164e32a03e8a8 (patch) | |
| tree | e373999f1ebc76d5620f4afb23efa520821738b9 /meta-openstack/recipes-devtools/python/python-horizon/wsgi-horizon.conf | |
| parent | 8fdbf26a2b1fc798c10699424199663c036745af (diff) | |
| download | meta-cloud-services-64d36f6a9546f0c6d1d2a220b20164e32a03e8a8.tar.gz | |
python-horizon: fixups to get things working with stable/pike
A number of changes to get the openstack-dashboard up and running. We
replace the old copy of local_setttings.py with a new version from
source. Along with this we avoid touches to settings.py (it 'sources'
local_settings.py so we should consolidate our changes there). We run
django's 'collectstatic' as a postinst, this matches other distros and
the openstack documentation, as well as easing the procedure to move
from debug to production.
For some operations horizon is attempting to use keystone v2.0 instead
of v3 so there remain some issues. Overall, horizon is functional so
we will call this 'working' and complete any additional fixups
individually which will allow for better tracking of the changes.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-horizon/wsgi-horizon.conf')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-horizon/wsgi-horizon.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-horizon/wsgi-horizon.conf b/meta-openstack/recipes-devtools/python/python-horizon/wsgi-horizon.conf new file mode 100644 index 0000000..9c2111c --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-horizon/wsgi-horizon.conf | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | WSGIScriptAlias /horizon %DATADIR%/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi process-group=horizon | ||
| 2 | WSGIDaemonProcess horizon user=%USER% group=%GROUP% processes=3 threads=10 display-name=%{GROUP} | ||
| 3 | WSGIProcessGroup horizon | ||
| 4 | |||
| 5 | Alias /static %LOCALSTATEDIR%/lib/openstack-dashboard/static/ | ||
| 6 | Alias /horizon/static %LOCALSTATEDIR%/lib/openstack-dashboard/static/ | ||
| 7 | |||
| 8 | <Directory %DATADIR%/openstack-dashboard/openstack_dashboard/wsgi> | ||
| 9 | Require all granted | ||
| 10 | </Directory> | ||
| 11 | |||
| 12 | <Directory %LOCALSTATEDIR%/lib/openstack-dashboard/static> | ||
| 13 | Require all granted | ||
| 14 | </Directory> | ||
