Enable the xinetd service for reboot
If the Galera container is rebooted, the xinetd service should be started. Otherwise the haproxy health check will fail and haproxy will not forward database connections. Change-Id: Iefa7b72ea1fa6743fb8486af663512c2ffe1c31d
This commit is contained in:
parent
ef5d89b95d
commit
9fee5107c2
@ -94,3 +94,4 @@
|
|||||||
service:
|
service:
|
||||||
name: xinetd
|
name: xinetd
|
||||||
state: restarted
|
state: restarted
|
||||||
|
enabled: true
|
||||||
|
@ -181,6 +181,15 @@
|
|||||||
dest: "/usr/local/bin/clustercheck"
|
dest: "/usr/local/bin/clustercheck"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
|
# TODO: (nicolasbock) This task can be removed in T but is necessary
|
||||||
|
# for S and earlier because deployments prior to this change will not
|
||||||
|
# have the xinetd service enabled because the handler task runs only
|
||||||
|
# for new deployments.
|
||||||
|
- name: Enable xinetd service
|
||||||
|
service:
|
||||||
|
name: xinetd
|
||||||
|
enabled: yes
|
||||||
|
|
||||||
- name: Create mysqlchk config
|
- name: Create mysqlchk config
|
||||||
template:
|
template:
|
||||||
src: "mysqlchk.j2"
|
src: "mysqlchk.j2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user