227a672eeb
Ironic already had mod_wsgi setup, but this patch moves it to use uWSGI. Additionally, this moves to use a filtered_services_list for Ironic The ironic role should be standardized to meet the service setup of other roles, using a filtered service list, and a dict of services with settings moves us closer to this. Change-Id: Ib432380dbc2ea11f9ac005713121a7b42ab97109
20 lines
548 B
Django/Jinja
20 lines
548 B
Django/Jinja
[uwsgi]
|
|
uid = {{ ironic_system_user_name }}
|
|
gid = {{ ironic_system_group_name }}
|
|
|
|
virtualenv = /openstack/venvs/ironic-{{ ironic_venv_tag }}
|
|
wsgi-file = {{ ironic_bin }}/{{ item.wsgi_name }}.wsgi
|
|
http-socket = {{ item.uwsgi_bind_address }}:{{ item.uwsgi_port }}
|
|
|
|
master = true
|
|
enable-threads = true
|
|
processes = {{ ironic_wsgi_processes }}
|
|
threads = {{ ironic_wsgi_threads }}
|
|
exit-on-reload = true
|
|
die-on-term = true
|
|
lazy-apps = true
|
|
add-header = Connection: close
|
|
buffer-size = {{ ironic_wsgi_buffer_size }}
|
|
thunder-lock = true
|
|
logfile-chmod = 644
|