diff options
| author | Pete Birley <pete@port.direct> | 2016-11-02 18:28:42 +0000 |
|---|---|---|
| committer | Pete Birley <pete@port.direct> | 2016-11-03 14:24:02 +0000 |
| commit | 51e6c102d1f5626f1b7ea9d7b7a5a317f127f803 (patch) | |
| tree | 37ce42642b351eb506db1bbb6ef4ee1de9c03334 | |
| parent | 606295906e42f61da65f8a1ca2fbace8dade99a1 (diff) | |
| download | kolla-51e6c102d1f5626f1b7ea9d7b7a5a317f127f803.tar.gz kolla-51e6c102d1f5626f1b7ea9d7b7a5a317f127f803.zip | |
Barbican: Fix race condition when starting procs simultaneously
This fixes a race condition when starting barbican processes,
as by default they attempt to manage the db schema on startup.
TrivialFix
Change-Id: Ic168211880709a3279511ce519756e4cbdd57fe8
| -rw-r--r-- | ansible/roles/barbican/templates/barbican.conf.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/barbican/templates/barbican.conf.j2 b/ansible/roles/barbican/templates/barbican.conf.j2 index b6e0e14a1..55c6b2210 100644 --- a/ansible/roles/barbican/templates/barbican.conf.j2 +++ b/ansible/roles/barbican/templates/barbican.conf.j2 @@ -10,6 +10,7 @@ backlog = 4096 max_allowed_secret_in_bytes = 10000 max_allowed_request_size_in_bytes = 1000000 +db_auto_create = False sql_connection = mysql://{{ barbican_database_user }}:{{ barbican_database_password }}@{{ barbican_database_address }}/{{ barbican_database_name }} transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}:{{ rabbitmq_password }}@{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %} |
