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
This commit is contained in:
Michal Arbet 2024-07-09 12:24:26 +02:00
parent 79625c1c88
commit fb86da4706
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Adds database configuration necessary for barbican.
`LP#2072554 <https://bugs.launchpad.net/kolla-ansible/+bug/2072554>`__