-
Bug
-
Resolution: Done-Errata
-
Normal
-
Logging 5.8.0
-
False
-
None
-
False
-
NEW
-
NEW
-
-
Bug Fix
-
-
-
Log Collection - Sprint 245
Description of problem:
The CLF displays validation errors in the status but the outputs and pipeline status is not correct for the individual issues
apiVersion: logging.openshift.io/v1 kind: ClusterLogForwarder metadata: creationTimestamp: "2023-11-15T19:05:06Z" generation: 1 name: instance namespace: openshift-logging resourceVersion: "53862" uid: 1d8f65af-360c-4464-8972-92e4586122ca spec: outputs: - limit: maxRecordsPerSecond: 100 name: default type: loki pipelines: - inputRefs: - application outputRefs: - default status: conditions: - lastTransitionTime: "2023-11-15T19:05:06Z" reason: ValidationFailure status: "False" type: Ready - lastTransitionTime: "2023-11-15T19:05:06Z" message: clusterlogforwarder is not ready reason: ValidationFailure status: "True" type: Validation outputs: output_0_: - lastTransitionTime: "2023-11-15T19:05:06Z" message: output name "default" is reserved reason: Invalid status: "False" type: Ready pipelines: pipeline_0: - lastTransitionTime: "2023-11-15T19:05:06Z" message: 'invalid: unrecognized outputs: [default], no valid outputs' reason: Invalid status: "False" type: Ready
The output or pipeline should reflects something like:
pipeline_0: - lastTransitionTime: "2023-11-15T19:05:06Z" message: 'invalid: unrecognized outputs: [default], no valid outputs' reason: ValidationFailure status: "True" type: Validation
where 'status: "True"' means the condition applies
- links to
-
RHBA-2023:7720 Logging Subsystem 5.8.1 - Red Hat OpenShift
- mentioned on