Enable healthcheck script in clustercheck service

The clustercheck container uses the same container image as the mysql
service. That image already contains a healthcheck script that can
monitor either mysql or clustercheck. So we can enable healthcheck
in the clustercheck service as well.

Change-Id: I36602a20822b5544e8c1cd2aa0d8ae4a84de1c6e
Closes-Bug: #1856085
(cherry picked from commit 5f1db96f96)
This commit is contained in:
Damien Ciabrini 2019-12-11 21:25:32 +01:00
parent d19b42d683
commit 4144497053

View File

@ -84,6 +84,8 @@ outputs:
image: {get_param: ContainerClustercheckImage}
restart: always
net: host
healthcheck:
test: /openstack/healthcheck
volumes:
list_concat:
- {get_attr: [ContainersCommon, volumes]}