Adding mariadb_port to wsrep sync status so alterative ports can be used
Closes-Bug: #2024554 Change-Id: Id6eae798784126d4dd53adef15bdce6b47b4601f
This commit is contained in:
parent
e637978e26
commit
842e758221
@ -17,7 +17,7 @@
|
|||||||
- name: Checking free port for MariaDB
|
- name: Checking free port for MariaDB
|
||||||
wait_for:
|
wait_for:
|
||||||
host: "{{ api_interface_address }}"
|
host: "{{ api_interface_address }}"
|
||||||
port: "{{ database_port }}"
|
port: "{{ mariadb_port }}"
|
||||||
connect_timeout: 1
|
connect_timeout: 1
|
||||||
timeout: 1
|
timeout: 1
|
||||||
state: stopped
|
state: stopped
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
become: true
|
become: true
|
||||||
command: >-
|
command: >-
|
||||||
{{ kolla_container_engine }} exec {{ mariadb_service.container_name }}
|
{{ kolla_container_engine }} exec {{ mariadb_service.container_name }}
|
||||||
mysql -uroot -p{{ database_password }}
|
mysql -uroot -p{{ database_password }} -P {{ mariadb_port }}
|
||||||
--silent --skip-column-names
|
--silent --skip-column-names
|
||||||
-e 'SHOW STATUS LIKE "wsrep_local_state_comment"'
|
-e 'SHOW STATUS LIKE "wsrep_local_state_comment"'
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
7
releasenotes/notes/bug-2024554-6eb811364536f1e8.yaml
Normal file
7
releasenotes/notes/bug-2024554-6eb811364536f1e8.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes 2024554.
|
||||||
|
Adds 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…
x
Reference in New Issue
Block a user