b1fe866f42
As part of the Pike goals we are moving api services to run as WSGI apps. octavia-api service is set up as a wsgi app, and this patch moves it over to uWSGI. Since this is just a drop in replacement for the existing eventlet service, operators an deployers should notice no difference. Additionally, fix bug whereby git_install_branch was set to "stable/ocata" for testing. Change-Id: I0c473977e015015bd252a486c7191a95781b38a4 Implements: blueprint goal-deploy-api-in-wsgi
20 lines
569 B
Django/Jinja
20 lines
569 B
Django/Jinja
[uwsgi]
|
|
uid = {{ octavia_system_user_name }}
|
|
gid = {{ octavia_system_group_name }}
|
|
|
|
virtualenv = /openstack/venvs/octavia-{{ octavia_venv_tag }}
|
|
wsgi-file = {{ octavia_bin }}/{{ item.value.wsgi_name }}
|
|
http-socket = {{ item.value.uwsgi_bind_address }}:{{ item.value.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
|