Skip to content

Commit

Permalink
Check nodeGroupService log
Browse files Browse the repository at this point in the history
rack-box/scripts/install.sh: If nodeGroupService can't be pinged, run
systemctl status to find out what happened to it.
  • Loading branch information
tuxji committed Feb 21, 2024
1 parent 0506948 commit faa7327
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rack-box/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit faa7327

Please sign in to comment.