From 835b862c98a73f3d9d2c036cad228859d83d23ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Jeanneret?= Date: Fri, 26 Apr 2019 15:25:25 +0200 Subject: [PATCH] Enable zaqar healthchecks Depends-On: I0d5ea0ba630714f7ec3ca4f1361e3235320e52d7 Change-Id: I6f53fdaa56871298416ebbba31106d31058517e1 (cherry picked from commit 66beffe15120741138dc83cc8e4a64d6de0634d7) --- deployment/zaqar/zaqar-container-puppet.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deployment/zaqar/zaqar-container-puppet.yaml b/deployment/zaqar/zaqar-container-puppet.yaml index f295b90006..60f5275865 100644 --- a/deployment/zaqar/zaqar-container-puppet.yaml +++ b/deployment/zaqar/zaqar-container-puppet.yaml @@ -304,6 +304,8 @@ outputs: # NOTE(mandre) kolla image changes the user to 'zaqar', we need it # to be root to run httpd user: root + healthcheck: + test: /usr/share/openstack-tripleo-common/healthcheck/zaqar-api volumes: list_concat: - {get_attr: [ContainersCommon, volumes]} @@ -329,6 +331,12 @@ outputs: net: host privileged: false restart: always + healthcheck: + test: + list_join: + - ' ' + - - '/usr/share/openstack-tripleo-common/healthcheck/zaqar-api' + - {get_param: [EndpointMap, ZaqarWebSocketInternal, port]} volumes: list_concat: - {get_attr: [ContainersCommon, volumes]}