Bug 1649997

Summary: [3.11] Fluentd pod should log its logs to /var/log/fluentd/fluentd.log by default
Product: OpenShift Container Platform Reporter: Noriko Hosoi <nhosoi>
Component: LoggingAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED ERRATA QA Contact: Qiaoling Tang <qitang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.11.0CC: anli, aos-bugs, mburke, nhosoi, qitang, rmeggins
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Running "oc logs $fluentd_pod" suggests to run "oc exec <pod_name> /opt/app-root/src/utils/logs" which includes the non existing utility logs path. Consequence: "oc exec <pod_name> /opt/app-root/src/utils/logs" fails with "no such file or directory". Fix: Fixed the suggested command line to "oc exec <pod_name> -- logs" since the utility "logs" is now in the PATH and no need to specify the full path. Result: "oc logs $fluentd_pod" suggests the correct command line to show the fluentd logs.
Story Points: ---
Clone Of: 1643340 Environment:
Last Closed: 2018-12-12 14:15:49 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: 1643340, 1650005    
Bug Blocks: 1643341    

Comment 4 Qiaoling Tang 2018-11-30 02:02:21 UTC
The fix isn't in ose-logging-fluentd-v3.11.44-1.

Comment 6 Qiaoling Tang 2018-12-04 02:32:05 UTC
Fixed in ose-logging-fluentd-v3.11.50-1.

Comment 8 errata-xmlrpc 2018-12-12 14:15:49 UTC
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-2018:3743