Cause:
LogForwarding Outputs result in zero outputs if none pass the validation checks. Fluentd checks the number of outputs to reserve buffer space on the node's filesystem. The zero outputs result in the division by zero.
Consequence:
Fluentd' run script fails and the pod remains in CLBO
Fix:
Default fluentd's NUM_OUTPUTS to 1 if no outputs provided.
Result:
No fluentd in CBLO. Logs collected on node's FS until buffers are full or valid outputs provided.
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-2020:2409
Comment 8Periklis Tsirakidis
2020-09-04 07:25:10 UTC