Hide Forgot
Description of problem: The default value for JOURNAL_READ_FROM_HEAD is true, meaning that when fluentd starts up, it tries to read in the entire journald by default. The reason is that the cluster-logging-operator sets the env. var. JOURNAL_READ_FROM_HEAD to the empty string "". Fluentd has this code: read_from_head "#{ENV['JOURNAL_READ_FROM_HEAD'] || 'false'}" which then evaluates to read_from_head since read_from_head is a boolean parameter, this tells Fluentd to set the value to true, which is the opposite of the intention. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: https://github.com/openshift/origin-aggregated-logging/pull/1630
Verified and pass using openshift/ose-logging-fluentd:v4.1.0-201905070632
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