templates: keystone-uwsgi: Allow uwsgi to autoload required plugins.

Distributions normally package uwsgi in a modular fashion so we need
to be use the 'autoload' option to allow it to load all the required
plugins.

Change-Id: I8621614a9b9e747dde3ff0e8cea1ac2494dadbac
Implements: blueprint openstack-distribution-packages
This commit is contained in:
Markos Chandras 2018-04-09 16:30:12 +01:00
parent 4d92214d6b
commit 1fb579d05e

View File

@ -468,11 +468,11 @@ keystone_services:
keystone-wsgi-public: keystone-wsgi-public:
service_name: "keystone-wsgi-public" service_name: "keystone-wsgi-public"
init_config_overrides: "{{ keystone_uwsgi_init_overrides }}" init_config_overrides: "{{ keystone_uwsgi_init_overrides }}"
execstarts: "{{ keystone_bin }}/uwsgi --ini /etc/uwsgi/keystone-wsgi-public.ini" execstarts: "{{ keystone_bin }}/uwsgi --autoload --ini /etc/uwsgi/keystone-wsgi-public.ini"
keystone-wsgi-admin: keystone-wsgi-admin:
service_name: "keystone-wsgi-admin" service_name: "keystone-wsgi-admin"
init_config_overrides: "{{ keystone_uwsgi_init_overrides }}" init_config_overrides: "{{ keystone_uwsgi_init_overrides }}"
execstarts: "{{ keystone_bin }}/uwsgi --ini /etc/uwsgi/keystone-wsgi-admin.ini" execstarts: "{{ keystone_bin }}/uwsgi --autoload --ini /etc/uwsgi/keystone-wsgi-admin.ini"
## Extra HTTP headers for Keystone ## Extra HTTP headers for Keystone
# Add any additional headers here that Keystone should return. # Add any additional headers here that Keystone should return.