From d0d1cc91062c70aa33a04fd74463de1c3bec6bc1 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Tue, 30 May 2023 12:08:39 -0400 Subject: [PATCH] Add short sleeps around show_top to isolate if there's a race condition causing intermittent RSA key format errors --- setup/so-setup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/so-setup b/setup/so-setup index aa6b7ce14..1464585aa 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -615,7 +615,9 @@ if ! [[ -f $install_opt_file ]]; then check_sos_appliance logCmd "salt-key -yd $MINION_ID" + sleep 2 # Debug RSA Key format errors logCmd "salt-call state.show_top" + sleep 2 # Debug RSA Key format errors logCmd "salt-key -ya $MINION_ID" logCmd "salt-call state.apply common.packages"