-
Bug
-
Resolution: Unresolved
-
Normal
-
Logging 6.3.0, Logging 6.2.z
-
Future Sustainability
-
False
-
None
-
False
-
NEW
-
NEW
-
-
Bug Fix
-
-
-
Log Collection - Sprint 272, Log Collection - Sprint 273
Description: As per Logging documentation, the tech-preview annotation observability.openshift.io/tech-preview-otlp-output: "enabled" is required to enable forwarding to LokiStack on Otel dataModel but this feature works even without the annotation.
Steps to reproduce:
a) Create LokiStack CR
b) Create CLF to forward to LokiStack using Otel dataModel and without the annotation
How reproducible: Always
Logging Version: Log 6.3.0, Log 6.2.2
Expected Result:
Collector should not start without the tech-preview annotation and there is an error message on the CLF
Actual Result:
No error on the CLF and collector pods start forwarding logs
Additional Info:
CLF used:
apiVersion: observability.openshift.io/v1 kind: ClusterLogForwarder metadata: name: logging-clf namespace: openshift-logging spec: managementState: Managed outputs: - lokiStack: authentication: token: from: serviceAccount dataModel: Otel target: name: logging-loki namespace: openshift-logging name: logging-loki tls: ca: configMapName: openshift-service-ca.crt key: service-ca.crt type: lokiStack pipelines: - inputRefs: - application - infrastructure - audit name: logs-to-loki outputRefs: - logging-loki serviceAccount: name: loki-otlp status: conditions: - lastTransitionTime: '2025-06-03T19:49:44Z' message: 'permitted to collect log types: [application audit infrastructure]' reason: ClusterRolesExist status: 'True' type: observability.openshift.io/Authorized - lastTransitionTime: '2025-06-03T19:49:44Z' message: '' reason: ValidationSuccess status: 'True' type: observability.openshift.io/Valid inputConditions: - lastTransitionTime: '2025-06-03T19:52:00Z' message: input "application" is valid reason: ValidationSuccess status: 'True' type: observability.openshift.io/ValidInput-application - lastTransitionTime: '2025-06-03T19:52:00Z' message: input "infrastructure" is valid reason: ValidationSuccess status: 'True' type: observability.openshift.io/ValidInput-infrastructure - lastTransitionTime: '2025-06-03T19:52:00Z' message: input "audit" is valid reason: ValidationSuccess status: 'True' type: observability.openshift.io/ValidInput-audit outputConditions: - lastTransitionTime: '2025-06-03T19:49:44Z' message: output "logging-loki" is valid reason: ValidationSuccess status: 'True' type: observability.openshift.io/ValidOutput-logging-loki pipelineConditions: - lastTransitionTime: '2025-06-03T19:49:44Z' message: pipeline "logs-to-loki" is valid reason: ValidationSuccess status: 'True' type: observability.openshift.io/ValidPipeline-logs-to-loki
- clones
-
LOG-7279 Otel dataModel is enabled without the tech-preview annotation on CLF
-
- Closed
-
- links to