Bug 1324357
Summary: | The delay from logging deployment to when logs show up in kibana is too long | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | chunchen <chunchen> | ||||
Component: | Logging | Assignee: | Luke Meyer <lmeyer> | ||||
Status: | CLOSED ERRATA | QA Contact: | chunchen <chunchen> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.1.0 | CC: | aos-bugs, jswensso, tdawson, wsun | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-05-12 16:35:41 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: | |||||||
Bug Depends On: | 1325727 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
chunchen
2016-04-06 07:11:25 UTC
Created attachment 1144116 [details]
screenshot for kibana console
After I re-deployed EFK stack, and wait about one hours, the logs are shown in the kibana console. Is it too long to show logs in kibana console? This may be normal, though if so we need to document it. I believe fluentd first processes the system /var/log/messages archives before getting to the pod logs. I need to look through the code to confirm that is still true. For version 3.1.1 fluentd imports the /var/log/messages archives before the pod logs. Depending on how much is in those archives this can cause quite a delay before the pod logs are reached. This isn't a regression, it always worked that way. For version 3.2 the import order is reversed. So in a typical deployment where you only have a few pods, it will run through their logs quickly before moving on to the system logs that are likely to be much longer. Can you verify the delay is improved with 3.2? I can add some troubleshooting documentation specific to 3.1 that calls out this problem. It's fixed, tested with below latest images, the logs can be shown in kibana console in timely. openshift3/logging-deployment 3.2.0 3c4f9330894b openshift3/logging-elasticsearch 3.2.0 f4c2de05eadf openshift3/logging-fluentd 3.2.0 af009c973eaa openshift3/logging-kibana 3.2.0 23bf82ad03f8 openshift3/logging-auth-proxy 3.2.0 363e6ee61a08 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/RHSA-2016:1064 |