Merge "Fix wsrep sync status task while switched to TCP/IP"

This commit is contained in:
Zuul 2024-01-02 14:07:22 +00:00 committed by Gerrit Code Review
commit 65886c1d4e
2 changed files with 3 additions and 2 deletions

View File

@ -31,7 +31,8 @@
become: true
command: >-
{{ kolla_container_engine }} exec {{ mariadb_service.container_name }}
mysql -uroot -p{{ database_password }} -P {{ mariadb_port }}
mysql -uroot -p{{ database_password }}
-h {{ api_interface_address }} -P {{ mariadb_port }}
--silent --skip-column-names
-e 'SHOW STATUS LIKE "wsrep_local_state_comment"'
changed_when: false

View File

@ -2,6 +2,6 @@
fixes:
- |
Fixes 2024554.
Adds mariadb_port to the wsrep sync status check.
Adds host and ``mariadb_port`` to the wsrep sync status check.
This is so none standard ports can be used for mariadb deployments.
`LP#2024554 <https://launchpad.net/bugs/2024554>`__