You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes some logs may be lost due to syslog restart
Steps to reproduce the issue:
run "fast-reboot" (most probably problem is generic, we just manged to catch it during advanced-reboot test (fast-reboot) because this test is looking for specific logs in syslog)
check logs
NOTE:
From functional point of view everything is ok, but fast-reboot test is looking for some logs in syslog: try_add_lag: The LAG 'PortChannel104' has been added.
Describe the results you received:
Jan 12 07:02:12.808502 arc-switch1004 NOTICE teamd#teamsyncd: :- applyState: Applying state
Jan 12 07:02:12.808502 arc-switch1004 NOTICE teamd#teamsyncd: :- dump: getting took 0.001219 sec
Jan 12 07:02:12.798364 arc-switch1004 INFO systemd[1]: Stopping System Logging Service...
Jan 12 07:02:12.809352 arc-switch1004 INFO rsyslogd: [origin software="rsyslogd" swVersion="8.2302.0" x-pid="385" x-info="https://www.rsyslog.com"] exiting on signal 15.
Jan 12 07:02:13.799523 arc-switch1004 DEBUG container: container_wait: BEGIN
According to logs, it looks like tlm_teamd started and all is up and running. "INFO systemd[1]: Stopping System Logging Service message" means that syslog is restarting in parallel and at this moment we can lose some messages.
Syslog restart is expected flow on boot because config is changed in runtime (and we need to restart it in order to apply changes).
Describe the results you expected:
Jan 16 00:25:01.751031 r-tigon-04 NOTICE teamd#teamsyncd: :- applyState: Applying state
Jan 16 00:25:01.751943 r-tigon-04 NOTICE teamd#teamsyncd: :- dump: getting took 0.000604 sec
Jan 16 00:25:01.752638 r-tigon-04 NOTICE teamd#teamsyncd: :- dump: getting took 0.000301 sec
Jan 16 00:25:01.753146 r-tigon-04 NOTICE teamd#teamsyncd: :- setWarmStartState: teamsyncd warm start state changed to reconciled
Jan 16 00:25:01.753475 r-tigon-04 NOTICE teamd#tlm_teamd: :- try_add_lag: The LAG 'PortChannel104' has been added.
Jan 16 00:25:01.754515 r-tigon-04 NOTICE teamd#tlm_teamd: :- try_add_lag: The LAG 'PortChannel103' has been added.
Jan 16 00:25:01.754962 r-tigon-04 NOTICE teamd#tlm_teamd: :- try_add_lag: The LAG 'PortChannel102' has been added.
Jan 16 00:25:01.755390 r-tigon-04 NOTICE teamd#tlm_teamd: :- try_add_lag: The LAG 'PortChannel101' has been added
(paste your output here or download and attach the file here )
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered:
ayurkiv-nvda
changed the title
[systemd][teamsyncd] missing logs after stopping system logging service
[systemd][teamsyncd] missing logs during restarting system logging service
Jan 16, 2024
Because the syslogs from containers are sent over UDP to the host, this means that if nothing is listening on UDP port 514 on the host (because rsyslogd on the host is restarting), then messages from containers will get lost. This can happen with any container and any set of messages; it's just that a syslog that we were explicitly looking for as part of warm/fast reboot got dropped here.
The simplest way to fix this would be to have rsyslogd inside the containers use TCP instead of UDP, but I don't know what the downsides would be here.
Description
Sometimes some logs may be lost due to syslog restart
Steps to reproduce the issue:
NOTE:
From functional point of view everything is ok, but fast-reboot test is looking for some logs in syslog:
try_add_lag: The LAG 'PortChannel104' has been added.
Describe the results you received:
According to logs, it looks like tlm_teamd started and all is up and running. "INFO systemd[1]: Stopping System Logging Service message" means that syslog is restarting in parallel and at this moment we can lose some messages.
Syslog restart is expected flow on boot because config is changed in runtime (and we need to restart it in order to apply changes).
Describe the results you expected:
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: