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
This commit is contained in:
Damien Ciabrini 2019-12-11 21:25:32 +01:00
parent 7e09780284
commit 5f1db96f96
1 changed files with 2 additions and 0 deletions

View File

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