[octavia] Adds region_name if enable_barbican
Adds necessary "region_name" to octavia.conf when "enable_barbican" is set to "true". Closes-Bug: #1867926 Change-Id: Ida61cef4b9c9622a5e925bac4583fba281469a39
This commit is contained in:
parent
71a058d2f8
commit
6c372312ad
@ -13,6 +13,9 @@ bind_port = {{ octavia_api_listen_port }}
|
|||||||
ca_private_key_passphrase = {{ octavia_ca_password }}
|
ca_private_key_passphrase = {{ octavia_ca_password }}
|
||||||
ca_private_key = /etc/octavia/certs/private/cakey.pem
|
ca_private_key = /etc/octavia/certs/private/cakey.pem
|
||||||
ca_certificate = /etc/octavia/certs/ca_01.pem
|
ca_certificate = /etc/octavia/certs/ca_01.pem
|
||||||
|
{% if enable_barbican | bool %}
|
||||||
|
region_name = {{ openstack_region_name }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
[haproxy_amphora]
|
[haproxy_amphora]
|
||||||
server_ca = /etc/octavia/certs/ca_01.pem
|
server_ca = /etc/octavia/certs/ca_01.pem
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Adds necessary ``region_name`` to ``octavia.conf`` when
|
||||||
|
``enable_barbican`` is set to ``true``. `LP#1867926
|
||||||
|
<https://launchpad.net/bugs/1867926>`__
|
Loading…
Reference in New Issue
Block a user