kolla-ansible/ansible/roles/barbican/templates/barbican-api.ini.j2
Mark Goddard 895c86a846 barbican: Use python3 plugin in uwsgi config
backport: ussuri, train

Without this the container returns an empty response.

Change-Id: Ic36845f3fc625c080c92904b58ace070dd24fbb2
Closes-Bug: #1881784
2020-06-04 12:20:32 +01:00

15 lines
575 B
Django/Jinja

[uwsgi]
{% if barbican_enable_tls_backend | bool %}
https-socket = {{ api_interface_address | put_address_in_context('url') }}:{{ barbican_api_listen_port }},/etc/barbican/certs/barbican-cert.pem,/etc/barbican/certs/barbican-key.pem
{% else %}
http-socket = {{ api_interface_address | put_address_in_context('url') }}:{{ barbican_api_listen_port }}
{% endif %}
processes = {{ openstack_service_workers }}
lazy = true
vacuum = true
no-default-app = true
memory-report = true
plugins = python3
paste = config:/etc/barbican/barbican-api-paste.ini
add-header = Connection: close