Bug 1707538
Summary: | Fix typo of random_string that prevents forwarding to SYSLOG via UDP to fail | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Noriko Hosoi <nhosoi> |
Component: | Logging | Assignee: | Noriko Hosoi <nhosoi> |
Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.1.0 | CC: | anli, aos-bugs, bparees, jcantril, pweil, rmeggins |
Target Milestone: | --- | ||
Target Release: | 4.1.0 | ||
Hardware: | x86_64 | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
1) There was a missing '@' for an instance variable in the fleuntd remote syslog plugin code.
2) There were some cases that systemd-journald logged non-decimal facility values.
Consequence:
1) Forwarding logs to remote rsyslog via UDP failed.
2) Forwarding a log record including a non-digital facility value failed regardless of the network protocol.
Fix:
1) The missing '@' was added.
2) The fluentd remote syslog plugin checks the facility value. If the value is not in the defined value set, it resets to the default value.
Result:
Forwarding logs remote rsyslog do not fail.
|
Story Points: | --- |
Clone Of: | 1703904 | Environment: | |
Last Closed: | 2019-06-04 10:48:34 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1703904, 1707899, 1707901 | ||
Bug Blocks: |
Comment 1
Anping Li
2019-05-20 11:15:30 UTC
By the ways, I can received the logs when use out_buffer_syslog steps: 1) deploy logging 2) deploy rsyslogs server using cluster-admin in openshift-logging namespace https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/logging/rsyslogserver/01_createsa.sh https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/logging/rsyslogserver/02_creatersyslogserver.sh 3) patch cm/fluentd to send logs to rsyslog via UDP https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/logging/rsyslogserver/03_updateds.sh 4) Waiting logs in rsyslog server oc logs $rsyslogserver -f I had a configuration error. I should export UDP 514 rather than TCP. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0758 |