Bug 1609023
| Summary: | mmkubernetes - stops working when non-kubernetes container name is read | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Rich Megginson <rmeggins> |
| Component: | rsyslog | Assignee: | Rich Megginson <rmeggins> |
| Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.6 | CC: | dapospis, dkopecek, jvymazal, ksrot, rmeggins |
| Target Milestone: | rc | Keywords: | Patch, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rsyslog-8.24.0-31.el7 | Doc Type: | No Doc Update |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-30 10:17:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Rich Megginson
2018-07-26 18:29:08 UTC
Commit pushed to master at https://github.com/openshift/origin-aggregated-logging https://github.com/openshift/origin-aggregated-logging/commit/b916865e4006358fac5278b2d44d5b22c6382f0d parse embedded json in log/MESSAGE fields use mmnormalize with `.:json` to parse embedded JSON strings in the `$!MESSAGE` and `$!log` fields into top level fields in the record. Refactor the parsing code into viaq_formatting where all of the viaq data model specific formatting lives. Add additional metadata fields such as received_at, file, offset Clean up code around timestamps to avoid .operations... indices with no dates. workaround for bug 1609023 https://bugzilla.redhat.com/show_bug.cgi?id=1609023 the return value of ln_normalize does not differentiate between a hard error and the no match case. The workaround is to make sure there is always a match for CONTAINER_NAME, and let the mmkubernetes code determine there is no match due to missing pod and namespace name. PR was merged upstream - https://github.com/rsyslog/rsyslog/commit/9535835460e79c132f7a259bc2d198a4aae6c6d4 The fix works weel in OCP 3.11 and ryslog-8.24.0-34. @dapospis, You can move to next status. atomic-openshift-3.11.0-0.25.0.git.0.a95c194.el7.x86_64 rsyslog-8.24.0-34.el7.x86_64 rsyslog-mmjsonparse-8.24.0-34.el7.x86_64 rsyslog-mmnormalize-8.24.0-34.el7.x86_64 rsyslog-elasticsearch-8.24.0-34.el7.x86_64 rsyslog-mmkubernetes-8.24.0-34.el7.x86_64 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/RHEA-2018:3135 |