-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rsyslogd in teamd container start failed with empty rsyslog.conf caused by sonic-cfggen generate conf failed #13674
Comments
PR #13669 is a hotfix to unblock some PR tests. |
Hi @lerry-lee |
|
Thanks. |
can we run the tcpdump on lo interface when the team starts to check the packet dump on why the connection to redis is failing. |
please update the description with the testcase where this failure is seen. |
Refined. |
Description
In
t0-sonic
andmulti-asic
KVM-test, sometimestest_pretest.py::test_disable_rsyslog_rate_limit
will fail. Error message like below:The reason is that rsyslogd process can not enter running state because its' rsyslog.conf is empty. Further, we found that, in teamd.sh, when start
teamd
, it will update rsyslog.conf usesonic-cfggen
, related code is below:And if this command fails, it will generate an empty file and copy it to
teamd
container.Currently, it uses
-d
parameter which means read from configDB. We see thesonic-cfggen
failed reason is:But in the aspect of the service dependency control, we found that
teamd
will start afterdatabase
. So, the connection to Redis meets some problems.Steps to reproduce the issue:
Describe the results you received:
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: