6aa925e792
Distributions provide packages for the OpenStack services so we add support for using these instead of the pip ones. Change-Id: I7eb1cbe2c80ee889d2ae08dcfed6a19cc1bd3415 Depends-On: Ide70b5d8f67d8c8a87e3f16671f0f7fb72338b89 Depends-On: I8de48eb1fb4c8d321098ca54b9e21270edc7ac87 Depends-On: Ia5fda5d417b79189d048c8891b84d57331df1404 Implements: blueprint openstack-distribution-packages
26 lines
803 B
Django/Jinja
26 lines
803 B
Django/Jinja
[uwsgi]
|
|
uid = {{ octavia_system_user_name }}
|
|
gid = {{ octavia_system_group_name }}
|
|
|
|
{% if octavia_install_method == 'source' %}
|
|
virtualenv = /openstack/venvs/octavia-{{ octavia_venv_tag }}
|
|
{% endif %}
|
|
wsgi-file = {{ octavia_bin }}/{{ item.wsgi_name }}
|
|
http-socket = {{ item.uwsgi_bind_address }}:{{ item.uwsgi_port }}
|
|
|
|
master = true
|
|
enable-threads = true
|
|
processes = {{ octavia_wsgi_processes }}
|
|
threads = {{ octavia_wsgi_threads }}
|
|
exit-on-reload = true
|
|
die-on-term = true
|
|
lazy-apps = true
|
|
add-header = Connection: close
|
|
buffer-size = {{ octavia_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:
|