Files
securityonion/salt/common/tools/sbin
Josh Patterson 70053e362c FIX: exclude the drainer's push-result-unknown warning from so-log-check
so-push-drainer logs "push result unknown" as a WARNING when salt-master
restarts while a pushed state run is queued: the orchestration's next
publish fails with AuthenticationError, but the minion still runs the
queued state. so-log-check matches any line containing "error", so the
quoted exception still failed the check.

Reproduced on a distributed 3.5.0 grid: a sensoroni push queued behind a
150s state run on the manager, then salt-master was restarted. The
orchestration (which runs under salt-minion.service, so it survives the
restart) raised AuthenticationError 9s later, the drainer logged the
WARNING, and the queued state run completed with 0 failed states.
so-log-check --unknown flagged the line.

The pattern requires AuthenticationError so an unknown result from any
other raised exception, e.g. a bug in a state module, is still reported.
2026-11-16 10:20:05 -05:00
..
2024-10-01 08:33:37 -04:00
2026-03-06 15:45:36 -05:00
2026-02-27 13:09:55 -05:00
2022-09-07 09:06:25 -04:00
2021-02-26 18:06:07 -05:00
2026-03-06 15:45:36 -05:00
2022-09-07 09:06:25 -04:00
2022-09-07 09:06:25 -04:00
2022-09-07 09:06:25 -04:00
2021-04-02 14:49:22 -04:00
2022-09-07 09:06:25 -04:00
2022-09-13 11:48:25 -04:00
2022-09-07 09:06:25 -04:00
2023-09-05 12:46:49 -04:00