From 414449705399d22838b5fafa7084fe166db48801 Mon Sep 17 00:00:00 2001 From: Damien Ciabrini Date: Wed, 11 Dec 2019 21:25:32 +0100 Subject: [PATCH] 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 5f1db96f96277e6e28df7b8aa64ce35b5badc04e) --- deployment/pacemaker/clustercheck-container-puppet.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deployment/pacemaker/clustercheck-container-puppet.yaml b/deployment/pacemaker/clustercheck-container-puppet.yaml index 489bc3522c..2026cf5619 100644 --- a/deployment/pacemaker/clustercheck-container-puppet.yaml +++ b/deployment/pacemaker/clustercheck-container-puppet.yaml @@ -84,6 +84,8 @@ outputs: image: {get_param: ContainerClustercheckImage} restart: always net: host + healthcheck: + test: /openstack/healthcheck volumes: list_concat: - {get_attr: [ContainersCommon, volumes]}