ba7c1e29d9
Distributions provide packages for the OpenStack services so we add support for using these instead of the pip ones. Change-Id: I4ff3cbf5e1e1ce04cd4cdc9c1ce97afdeace5159 Depends-On: I5a78e2120e596d36629b4ba978b2b5df76b149b0 Implements: blueprint openstack-distribution-packages
26 lines
788 B
Django/Jinja
26 lines
788 B
Django/Jinja
[uwsgi]
|
|
uid = {{ cinder_system_user_name }}
|
|
gid = {{ cinder_system_group_name }}
|
|
|
|
{% if cinder_install_method == 'source' %}
|
|
virtualenv = /openstack/venvs/cinder-{{ cinder_venv_tag }}
|
|
{% endif %}
|
|
wsgi-file = {{ cinder_bin }}/{{ item.wsgi_name }}
|
|
http = {{ item.uwsgi_bind_address }}:{{ item.uwsgi_port }}
|
|
|
|
master = true
|
|
enable-threads = true
|
|
processes = {{ cinder_wsgi_processes }}
|
|
threads = {{ cinder_wsgi_threads }}
|
|
exit-on-reload = false
|
|
die-on-term = true
|
|
lazy-apps = true
|
|
add-header = Connection: close
|
|
buffer-size = {{ cinder_wsgi_buffer_size }}
|
|
thunder-lock = true
|
|
logfile-chmod = 644
|
|
pidfile = /var/run/{{ item.service_name }}/{{ item.service_name }}.pid
|
|
|
|
# Avoid filling up the logs with health check requests from haproxy.
|
|
route-user-agent = ^osa-haproxy-healthcheck$ donotlog:
|