Bug 1870650

Summary: CPaaS RHEL8: Fluentd supervisor.rb:777:in `initialize': No such file or directory
Product: OpenShift Container Platform Reporter: Anping Li <anli>
Component: LoggingAssignee: Vimal Kumar <vimalkum>
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.6CC: aconway, aos-bugs, vimalkum
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: logging-core
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 15:10:23 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:
Attachments:
Description Flags
Muster Gather none

Description Anping Li 2020-08-20 14:10:29 UTC
Description of problem:
The fluentd pod couldn't be started.

$ oc logs fluentd-2z2z7
Setting each total_size_limit for 2 buffers to 9621286195 bytes
Setting queued_chunks_limit_size for each buffer to 1146
Setting chunk_limit_size for each buffer to 8388608
/usr/local/share/gems/gems/fluentd-1.7.4/lib/fluent/supervisor.rb:777:in `initialize': No such file or directory @ rb_sysopen - /etc/fluent/fluent.conf (Errno::ENOENT)
	from /usr/local/share/gems/gems/fluentd-1.7.4/lib/fluent/supervisor.rb:777:in `open'
	from /usr/local/share/gems/gems/fluentd-1.7.4/lib/fluent/supervisor.rb:777:in `read_config'
	from /usr/local/share/gems/gems/fluentd-1.7.4/lib/fluent/supervisor.rb:539:in `run_worker'
	from /usr/local/share/gems/gems/fluentd-1.7.4/lib/fluent/command/fluentd.rb:330:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:59:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:59:in `require'
	from /usr/local/share/gems/gems/fluentd-1.7.4/bin/fluentd:8:in `<top (required)>'
	from /usr/local/bin/fluentd:23:in `load'
	from /usr/local/bin/fluentd:23:in `<main>'



Version-Release number of selected component (if applicable):
4.6, RHEL8, CPaaS Image

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Alan Conway 2020-08-20 16:01:49 UTC
Need steps to reproduce.

Comment 2 Anping Li 2020-08-21 16:07:59 UTC
Created attachment 1712201 [details]
Muster Gather

Comment 5 Vimal Kumar 2020-08-31 11:12:48 UTC
The link for change in downstream Dockerfile is https://code.engineering.redhat.com/gerrit/#/c/210200/

Comment 6 Anping Li 2020-09-03 13:33:57 UTC
Verified on cluster-logging.4.6.0-202009021637.p0

Comment 8 errata-xmlrpc 2020-10-27 15:10:23 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 (OpenShift Container Platform 4.6.1 extras update), 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-2020:4198