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
This commit is contained in:
parent
606295906e
commit
51e6c102d1
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user