From f398fb44f362456d1492b9066adcf984312a3562 Mon Sep 17 00:00:00 2001 From: Artem Tataurov Date: Tue, 9 Apr 2024 18:18:24 +0300 Subject: [PATCH] [#34] Add tree healthcheck Signed-off-by: Artem Tataurov --- bin/init-aio.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/init-aio.sh b/bin/init-aio.sh index 48b09ac..bb9ad4d 100755 --- a/bin/init-aio.sh +++ b/bin/init-aio.sh @@ -54,6 +54,11 @@ runServices() { sleep 2 done + while [[ -z "$(/usr/bin/frostfs-cli tree healthcheck -r 127.0.0.1:8080 -g -v | grep 'Successful healthcheck invocation')" ]]; + do + sleep 2 + done + /usr/bin/frostfs-s3-gw --config /config/s3-gw-config.yaml & /usr/bin/frostfs-http-gw --config /config/http-gw-config.yaml & }