From faa7327788fec8676479e609b01b904fb7d89043 Mon Sep 17 00:00:00 2001 From: John Interrante Date: Wed, 21 Feb 2024 09:12:56 -0800 Subject: [PATCH] Check nodeGroupService log rack-box/scripts/install.sh: If nodeGroupService can't be pinged, run systemctl status to find out what happened to it. --- rack-box/scripts/install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/rack-box/scripts/install.sh b/rack-box/scripts/install.sh index 55b4defb..708aa06f 100644 --- a/rack-box/scripts/install.sh +++ b/rack-box/scripts/install.sh @@ -175,6 +175,7 @@ MAX_SECS=600 while ! curl -X POST http://localhost:12059/serviceInfo/ping 2>/dev/null | grep -q yes; do if [[ $SECONDS -gt $MAX_SECS ]]; then echo "Error: Took longer than $MAX_SECS seconds to start nodeGroupService" + systemctl status nodeGroupService | cat exit 1 fi sleep 10