Use database_address and database_port var for mariadb check
This is how services reach mariadb; verify it that way. Closes-Bug: #1823005 Change-Id: I9924ad050118b8a853e2309654a089f65178cd77
This commit is contained in:
parent
0b67ce93eb
commit
524f969bfc
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Waiting for MariaDB service to be ready through VIP
|
- 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;'"
|
command: "docker exec mariadb mysql -h {{ database_address }} -P {{ database_port }} -u haproxy -e 'show databases;'"
|
||||||
register: result
|
register: result
|
||||||
until: result is success
|
until: result is success
|
||||||
changed_when: False
|
changed_when: False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user