Compare commits

..

2 commits

Author SHA1 Message Date
f398fb44f3 [#34] Add tree healthcheck
Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
2024-04-09 18:18:24 +03:00
9d79d69b1f [#34] Fix Inner Ring healthcheck command
Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
2024-04-09 18:14:27 +03:00

View file

@ -35,7 +35,7 @@ runServices() {
/usr/bin/frostfs-ir --config /config/config-ir.yaml &
while [[ -z "$(/usr/bin/frostfs-cli control healthcheck --ir --endpoint localhost:16512 -c /config/cli-cfg-ir.yaml | grep 'Health status: READY')" ]];
while [[ -z "$(/usr/bin/frostfs-cli control ir healthcheck --endpoint localhost:16512 -c /config/cli-cfg-ir.yaml | grep 'Health status: READY')" ]];
do
sleep 2;
done
@ -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 &
}