From f2d81cea3f561d52c4c71a6c788552e2a84340d0 Mon Sep 17 00:00:00 2001 From: reyesj2 <94730068+reyesj2@users.noreply.github.com> Date: Thu, 23 Jul 2026 15:06:36 -0500 Subject: [PATCH] call highstate in soup with a retry if first fails vs bailing --- salt/manager/tools/sbin/soup | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/salt/manager/tools/sbin/soup b/salt/manager/tools/sbin/soup index f5b40310e..dd12659aa 100755 --- a/salt/manager/tools/sbin/soup +++ b/salt/manager/tools/sbin/soup @@ -442,7 +442,13 @@ get_soup_script_hashes() { } highstate() { - # Run a highstate. + # Run a highstate with a retry attempt. + if salt-call state.highstate -l info queue=True; then + return 0 + fi + + echo "Initial highstate attempt had a problem; retrying in 30 seconds." + sleep 30 salt-call state.highstate -l info queue=True }