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: Maksim Malchuk <maksim.malchuk@gmail.com>
This commit is contained in:
parent
842e758221
commit
35c7a9eb9d
@ -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>`__
|
||||
|
Loading…
Reference in New Issue
Block a user