-
Bug
-
Resolution: Unresolved
-
Normal
-
Logging 6.1.0
-
False
-
None
-
False
-
NEW
-
NEW
-
Before this update, the condition ValidLokistackOTLPOutputs was shown on ClusterLogForwarder even for non LokiStack outputs. This update removes the condition and adds the correct validation messaging to the existing output conditions.
-
Bug Fix
-
-
-
Log Collection - Sprint 262, Log Collection - Sprint 263
Description of problem:
The condition observability.openshift.io/ValidLokistackOTLPOutputs should be validated/shown on CLF when the output type is LokiStack and dataModel chosen is Otel but this conditions is validated even for non-LokiStack outputs.
Version-Release number of selected component (if applicable):
Logging 6.1
How reproducible:
Always
Steps to Reproduce:
- Deploy cluster-logging.v6.1.0
- Forward Logs to non-LokiStack output for e.g. GCL
- Validate CLF conditions
Expected results:
observability.openshift.io/ValidLokistackOTLPOutputs validation should not be done for non-LokiStack outputs.
Actual results:
observability.openshift.io/ValidLokistackOTLPOutputs is validated/shown under CLF status
Additional info:
CLF:
spec: managementState: Managed outputs: - googleCloudLogging: authentication: credentials: key: google-application-credentials.json secretName: gcp-secret id: type: project value: openshift-qe logId: kbharti-1104a-lvpzn tuning: deliveryMode: AtMostOnce maxRetryDuration: 20 maxWrite: 10M minRetryDuration: 10 name: gcp-1 type: googleCloudLogging pipelines: - inputRefs: - application - infrastructure - audit name: my-output-pipeline outputRefs: - gcp-1 serviceAccount: name: my-gcp-sa status: conditions: - lastTransitionTime: '2024-11-04T16:30:48Z' message: '' reason: ValidationSuccess status: 'True' type: observability.openshift.io/ValidLokistackOTLPOutputs - lastTransitionTime: '2024-11-04T16:30:48Z' message: 'permitted to collect log types: [application audit infrastructure]' reason: ClusterRolesExist status: 'True' type: observability.openshift.io/Authorized - lastTransitionTime: '2024-11-04T16:30:48Z' message: '' reason: ValidationSuccess status: 'True' type: observability.openshift.io/Valid - lastTransitionTime: '2024-11-04T16:30:53Z' message: '' reason: ReconciliationComplete status: 'True' type: Ready inputConditions: - lastTransitionTime: '2024-11-04T16:39:31Z' message: input "application" is valid reason: ValidationSuccess status: 'True' type: observability.openshift.io/ValidInput-application - lastTransitionTime: '2024-11-04T16:39:31Z' message: input "infrastructure" is valid reason: ValidationSuccess status: 'True' type: observability.openshift.io/ValidInput-infrastructure - lastTransitionTime: '2024-11-04T16:39:31Z' message: input "audit" is valid reason: ValidationSuccess status: 'True' type: observability.openshift.io/ValidInput-audit outputConditions: - lastTransitionTime: '2024-11-04T16:30:48Z' message: output "gcp-1" is valid reason: ValidationSuccess status: 'True' type: observability.openshift.io/ValidOutput-gcp-1 pipelineConditions: - lastTransitionTime: '2024-11-04T16:30:48Z' message: pipeline "my-output-pipeline" is valid reason: ValidationSuccess status: 'True' type: observability.openshift.io/ValidPipeline-my-output-pipeline
- clones
-
LOG-6346 [master] ValidLokistackOTLPOutputs validation is shown for non-LokiStack outputs
- Closed
- is cloned by
-
LOG-6476 [release-6.0] Backport tech-preview validation refactor
- Release Pending
- links to
-
RHBA-2024:143205 Logging for Red Hat OpenShift - 6.1.1
- mentioned on