Skip to content
Snippets Groups Projects
Commit 35c7a9eb authored by Maksim Malchuk's avatar Maksim Malchuk
Browse files

Fix wsrep sync status task while switched to TCP/IP


Followup on Id6eae798784126d4dd53adef15bdce6b47b4601f to fix an issue
when a client with provided port set tries to connect 'localhost', so
while we switch to TCP/IP we need to explicitly provide the host too.

Partial-Bug: #2024554
Change-Id: Ib08c159dadd69a1f44924d658f4afe1e794a18b0
Signed-off-by: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
parent 842e7582
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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>`__
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment