Bug 1616448 - fluentd crashes if node-config.yaml is missing kubeletArguments
Summary: fluentd crashes if node-config.yaml is missing kubeletArguments
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.9.z
Assignee: Jeff Cantrill
QA Contact: Anping Li
URL:
Whiteboard:
: 1608688 (view as bug list)
Depends On: 1614528
Blocks: 1616447
TreeView+ depends on / blocked
 
Reported: 2018-08-16 00:11 UTC by Jeff Cantrill
Modified: 2021-09-09 15:22 UTC (History)
4 users (show)

Fixed In Version: openshift3/logging-fluentd:v3.9.41-1
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of: 1614528
Environment:
Last Closed: 2018-09-22 04:53:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift origin-aggregated-logging issues 1278 0 None None None 2018-08-16 00:11:52 UTC
Github openshift origin-aggregated-logging pull 1292 0 None None None 2018-08-16 00:11:52 UTC
Red Hat Product Errata RHBA-2018:2658 0 None None None 2018-09-22 04:53:57 UTC

Description Jeff Cantrill 2018-08-16 00:11:53 UTC
+++ This bug was initially created as a clone of Bug #1614528 +++

Description of problem:
https://github.com/openshift/origin-aggregated-logging/issues/1278

The problem is here: https://github.com/openshift/origin-aggregated-logging/blob/master/fluentd/run.sh#L35

The code should check if y['kubeletArguments'] is nil:

        puts (y['kubeletArguments'] || {})['container-runtime-endpoint']")

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Jeff Cantrill on 2018-08-15 16:39:06 EDT ---

https://github.com/openshift/origin-aggregated-logging/pull/1292

Comment 2 Rich Megginson 2018-08-17 18:59:43 UTC
*** Bug 1608688 has been marked as a duplicate of this bug. ***

Comment 4 Anping Li 2018-09-10 09:14:50 UTC
logging-fluentd/images/v3.9.43-1 works without kubeletArguments

Comment 6 errata-xmlrpc 2018-09-22 04:53:09 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:2658


Note You need to log in before you can comment on or make changes to this bug.