1deb3b5a26
Distributions provide packages for the OpenStack services so we add support for using these instead of the pip ones. Depends-On: https://review.openstack.org/#/c/579151/ Depends-On: https://review.openstack.org/#/c/579071/ Change-Id: Iff373b5402c664206b940b8e95a0b8845050213b Implements: blueprint openstack-distribution-packages
27 lines
772 B
Django/Jinja
27 lines
772 B
Django/Jinja
# {{ ansible_managed }}
|
|
[uwsgi]
|
|
uid = {{ nova_system_user_name }}
|
|
gid = {{ nova_system_group_name }}
|
|
|
|
{% if nova_install_method == 'source' %}
|
|
virtualenv = /openstack/venvs/nova-{{ nova_venv_tag }}
|
|
{% endif %}
|
|
wsgi-file = {{ nova_bin }}/{{ item.wsgi_name }}
|
|
http = 0.0.0.0:{{ item.uwsgi_port }}
|
|
|
|
master = true
|
|
enable-threads = true
|
|
processes = {{ nova_wsgi_processes }}
|
|
threads = {{ nova_wsgi_threads }}
|
|
exit-on-reload = false
|
|
die-on-term = true
|
|
lazy-apps = true
|
|
add-header = Connection: close
|
|
buffer-size = {{ nova_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:
|