From e9fd7d8b8bdd8c1acc063f8521a66592eb8fe6bf Mon Sep 17 00:00:00 2001 From: Doug Burks Date: Thu, 11 May 2023 15:38:57 -0400 Subject: [PATCH] add another error exclusion to so-verify --- setup/so-verify | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/so-verify b/setup/so-verify index 84f02e43c..a89e24120 100755 --- a/setup/so-verify +++ b/setup/so-verify @@ -31,6 +31,8 @@ log_has_errors() { # Ignore Failed: 0 since that is the salt state output, and we detect state failures # via Result: False already. + + # Ignore "/tmp/__salt.tmp." and "retcode: 126" as they seem to be related to a transient issue with the elastic agent for linux grep -E "FAILED|Failed|failed|ERROR|Result: False" "$setup_log" | \ grep -vE "The Salt Master has cached the public key for this node" | \ @@ -44,6 +46,8 @@ log_has_errors() { grep -vE "Exception in callback None" | \ grep -vE "deprecation: ERROR" | \ grep -vE "code: 100" | \ + grep -vE "/tmp/__salt.tmp." | \ + grep -vE "retcode: 126" | \ grep -vE "Running scope as unit" &> "$error_log" if [[ $? -eq 0 ]]; then