Skip to content

Commit

Permalink
Ignore loganalyzer errors for rsyslog RELP (#13853)
Browse files Browse the repository at this point in the history
* Ignore errors about rsyslogd w/ librelp not being able to send syslogs

If rsyslogd on the host goes down, and rsyslogd on the containers is
configured to use librelp to forward messages to the host rsyslogd
(instead of UDP), then there will be error messages from the container
rsyslogd about not being able to forward messages.

Ignore these error messages as they are expected when running tests
which may restart rsyslogd.

This is in preparation for sonic-net/sonic-buildimage#18113

Signed-off-by: Saikrishna Arcot <[email protected]>
  • Loading branch information
saiarcot895 authored Aug 1, 2024
1 parent 5a25945 commit 101c257
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,3 +282,7 @@ r, ".* INFO .*[duty_cycle_map]: illegal pwm value .*"
r, ".* INFO .*command '/usr/sbin/smartctl' failed: [116] Stale file handle.*"
r, ".* INFO healthd.*Key 'TEMPERATURE_INFO|ASIC' field 'high_threshold' unavailable in database 'STATE_DB'.*"
r, ".* INFO healthd.*Key 'TEMPERATURE_INFO|ASIC' field 'temperature' unavailable in database 'STATE_DB'.*"

# Ignore rsyslog librelp error if rsyslogd on host or container is down or going down
r, ".* ERR .*#rsyslogd: librelp error 10008 forwarding to server .* - suspending.*"
r, ".* ERR rsyslogd: imrelp.*error 'error when receiving data, session broken', object .* - input may not work as intended.*"

0 comments on commit 101c257

Please sign in to comment.