-
Bug
-
Resolution: Done-Errata
-
Major
-
Logging 5.9.0
-
False
-
None
-
False
-
NEW
-
NEW
-
Before this update, a drop filter without a dropTestsSpec defined would cause a segfault. With this update, a validation error will be raised and CLO will not segfault.
-
Bug Fix
-
-
-
Log Collection - Sprint 251, Log Collection - Sprint 252
Description of problem:
If a drop filter is spec'd without an associated dropTestsSpec, CLO produces a nil pointer dereference
Version-Release number of selected component (if applicable):
Logging 5.9
How reproducible:
Always
Steps to Reproduce:
- Create CLF:
apiVersion: logging.openshift.io/v1 kind: ClusterLogForwarder metadata: name: instance namespace: openshift-logging spec: filters: - name: my-drop type: drop pipelines: - filterRefs: - my-drop inputRefs: - application name: application-logs outputRefs: - default
Actual results:
Nil pointer dereference
Expected results:
validation error and rejection of CLF
- links to
-
RHSA-2024:130615 Logging for Red Hat OpenShift - 5.9.1
- mentioned on