-
Bug
-
Resolution: Unresolved
-
Normal
-
Logging 6.1.0
-
False
-
None
-
False
-
NEW
-
NEW
-
Bug Fix
-
-
-
Log Collection - Sprint 262
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