aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorMichal Arbet <michal.arbet@ultimum.io>2024-07-09 12:24:26 +0200
committerMichal Arbet <michal.arbet@ultimum.io>2024-07-09 12:31:45 +0200
commitfb86da47067d1bc791c213312588536eb7f686ff (patch)
tree557199810a5e81abb3bfcedf4e994c04c44e70cc /ansible
parent79625c1c88f338f6a6d129c54fcad2885ec242fe (diff)
downloadkolla-ansible-fb86da47067d1bc791c213312588536eb7f686ff.tar.gz
kolla-ansible-fb86da47067d1bc791c213312588536eb7f686ff.zip
Fix barbican's configuration
Barbican switched to oslo.db as per [1] This patch is fixing kolla-ansible config for barbican. [1] https://review.opendev.org/c/openstack/barbican/+/848011 Closes-Bug: #2072554 Change-Id: Idc7bcd1aa2cbb9a08facb3140eed0f22d5d7e99f
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/barbican/templates/barbican.conf.j27
1 files changed, 6 insertions, 1 deletions
diff --git a/ansible/roles/barbican/templates/barbican.conf.j2 b/ansible/roles/barbican/templates/barbican.conf.j2
index fa7c3e0d5..a3c727c06 100644
--- a/ansible/roles/barbican/templates/barbican.conf.j2
+++ b/ansible/roles/barbican/templates/barbican.conf.j2
@@ -12,10 +12,15 @@ host_href = {{ barbican_public_endpoint }}
backlog = 4096
db_auto_create = False
-sql_connection = mysql+pymysql://{{ barbican_database_user }}:{{ barbican_database_password }}@{{ barbican_database_address }}/{{ barbican_database_name }}
transport_url = {{ rpc_transport_url }}
+[database]
+connection = mysql+pymysql://{{ barbican_database_user }}:{{ barbican_database_password }}@{{ barbican_database_address }}/{{ barbican_database_name }}
+connection_recycle_time = {{ database_connection_recycle_time }}
+max_pool_size = {{ database_max_pool_size }}
+max_retries = -1
+
# ================= Secret Store Plugin ===================
[secretstore]
namespace = barbican.secretstore.plugin