-
Notifications
You must be signed in to change notification settings - Fork 80
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
loosing information when noobaa log level is set to all, when rate limit is on (rsyslog) #8606
Comments
@naveenpaul1 can you please take a look? |
@naveenpaul1 , as we discussed, could we fix this if there are relevant settings for the rsyslog env. Same we will try to move to the syslog-ng |
@rkomandu with these configurations, we are making sure that the log rate limit should not affect the rsyslog logs
Could you please also update the
|
they are currently commented in the journald.conf file on the system that was seen. Then it defaults to the values mentioned below, however the journald is a central place, when applied it would apply to per-service. I don't think we should do that , any comments
|
may be we should use in this way in our noobaa service (/usr/lib/systemd/system/noobaa.service) ? If a service provides rate limits for itself through LogRateLimitIntervalSec= and/or LogRateLimitBurst= in systemd.exec(5), those values will override the settings specified here (journald.conf file). |
For the journal message (which was observed in noobaa.log at customer site), refer the RH link https://access.redhat.com/solutions/1417483. This is required to set in the journald.conf file to change the settings, then it might help us to reduce the "suppressed message" in the noobaa.log |
Environment info
noobaa 5.17.1 stage upstream rpm (not related to this though exactly) + efix for DI issue
noobaa-core-5.17.1-20241211-stage_5_17_2.el9.ppc64le.rpm
Actual behavior
When DEBUGLEVEL : all in configuration, idea is to have all the logs collected , which will be useful for the debug purposes. However it was observed that due to rate limit on rsyslog (10min) interval, the logging is lost in noobaa.log
Warp / IO upload workload is running and FOFB (HA capability) is tested which observed the messages are missed as shown in rsyslog "supressed" eventhough the value should be "0" as per noobaa_syslog.conf file
noobaa service file /etc/rsyslog.d/noobaa_syslog.conf
noobaa.log (for example)
Below the test assert/sigsegv issued at 08:32 and at 08:34:01 noobaa service restarted as per mmfs.log , however in noobaa.log on the node has entries from the 08:37, which indicates the noobaa startup messages are lost which could be key for us to debug the environment in case of issues.
Expected behavior
Shouldn't loose message logging to the noobaa.log file . Is there a way to ensure that no messages are lost when running in "all" mode , as the idea is to collect as much information as possible during enabled logging.
Steps to reproduce
Run IO workload
issue test assert / test sigsegv
observe noobaa.log and rsyslog status for these messages
More information - Screenshots / Logs / Other output
Will upload the relevant logs to the box folder https://ibm.ent.box.com/folder/298865317839
The text was updated successfully, but these errors were encountered: