
This change makes each step of the kolla deployment aware of the port database was configured to listen on. It defaults mariadb_port to database_port. Change-Id: I8e85d5732015afc0a5481cb33e0b629fdfa84a1b Closes-Bug: #1576151 DocImpact
9 lines
278 B
YAML
9 lines
278 B
YAML
---
|
|
- name: Waiting for MariaDB service to be ready through VIP
|
|
command: "docker exec mariadb mysql -h {{ kolla_internal_fqdn }} -P {{ mariadb_port }} -u haproxy -e 'show databases;'"
|
|
register: result
|
|
until: result | success
|
|
changed_when: False
|
|
retries: 6
|
|
delay: 10
|