-
Bug
-
Resolution: Done-Errata
-
Major
-
Logging 5.8.3
-
False
-
None
-
False
-
NEW
-
NEW
-
-
-
-
Log Collection - Sprint 250, Log Collection - Sprint 251, Log Collection - Sprint 252, Log Collection - Sprint 253, Log Collection - Sprint 257, Log Collection - Sprint 258
Description of problem:
-Kafka: SSL handshake failed : unexpected eof while reading Error in Vector Collector.
-Logforwarding to kafka destination is not working with Vector Collector.
Version-Release number of selected component (if applicable):
How reproducible:
It can be reproduced:
Steps to Reproduce:
- Install RHOCP Cluster . (4.12, 4.13, 4.14)
- Install Cluster Logging Operator 5.8.3
- Create a ClusterLogging instance using Vector as collector.
- Create a secret and a CLF instance with Kafka brokers:
apiVersion: logging.openshift.io/v1 kind: ClusterLogForwarder metadata: name: instance namespace: openshift-logging spec: outputs: - name: kafka type: "kafka" secret: name: kafka-secret kafka: brokers: - tcp://XXXXX1:9093 - tcp://XXXXX2:9093 - tcp://XXXXX3:9093 topic: XXXX-demo pipelines: - name: XXXX-demo inputRefs: - XXXX-demo outputRefs: - kafka
5. Check the logs of collector pods:
2024-02-17T10:02:51.987537Z ERROR librdkafka: librdkafka: FAIL [thrd:sasl_ssl://KAFKA_BROKER_IP:9093/bootstrap]: sasl_ssl://KAFKA_BROKER_IP:9093/bootstrap: SSL handshake failed: error:0A000126:SSL routines::unexpected eof while reading (after 100ms in state SSL_HANDSHAKE, 13 identical error(s) suppressed) 2024-02-17T10:02:51.987595Z ERROR rdkafka::client: librdkafka: Global error: SSL (Local: SSL error): sasl_ssl://KAFKA_BROKER_IP:9093/bootstrap: SSL handshake failed: error:0A000126:SSL routines::unexpected eof while reading (after 100ms in state SSL_HANDSHAKE, 13 identical error(s) suppressed)
Actual results:
Collector pods are streaming above error logs.
Logs are not getting forwarded to Kafka destination.
Tried with a single kafka broker as well, but received same error logs.
Expected results:
ClusterLogFowarder needs to forward logs to Kafka destination.
Additional info:
- Same configuration is working fine with Fluentd as collector.
- Facing issue while using Vector as collector.
- Tried with a single kafka broker as well, but received same error logs.
- blocks
-
LOG-5112 BrokerTransportFailure Error for Kafka brokers when using Vector as collector
- Closed
- links to
-
RHBA-2024:5123 Logging for Red Hat OpenShift - 5.8.11
- mentioned on
(2 links to, 3 mentioned on)