Set WSGIApplicationGroup %{GLOBAL} as recommended

mod_wsgi hangs trying to import the recent versions of
python-gobject-base used by python-keyring library, which is in turn
used by python-keystoneclient. This does not happen if the
WSGIApplicationGroup is global.

Change-Id: I4c7408699fddf327feb1c3b47e8e47cf2dd946f1
Closes-Bug: #1708655
Closes-Bug: #1624791
Related-Bug: #1700176
This commit is contained in:
Adrien Cunin 2017-12-07 15:46:01 +01:00
parent 28f21f56b7
commit dfbc2a56b6

View File

@ -36,7 +36,7 @@
WSGIDaemonProcess horizon user={{ horizon_system_user_name }} group={{ horizon_system_group_name }} processes={{ horizon_wsgi_processes | default(horizon_wsgi_threads) }} threads={{ horizon_wsgi_threads }} python-path={{ horizon_bin | dirname }}/lib/python2.7/site-packages
WSGIProcessGroup horizon
WSGIApplicationGroup horizon
WSGIApplicationGroup %{GLOBAL}
<Directory {{ horizon_lib_wsgi_file | dirname }}>
<Files django.wsgi>