Hello everyone,
I'm having trouble while setting up SEBA in a Box using the make file. The major problem is with the cord-Kafka-0 pod which isn't coming up. The error seems to be with the communication between Kafka and the zookeeper pod. The Kafka pod isn't able to connect to the zookeeper pod and the pod goes into CrashLoopBackoff state.
Here is the error that make file displays:
touch /tmp/milestones/kafka
kubectl wait "pod/cord-kafka-0" --for condition=Ready --timeout=180s
error: timed out waiting for the condition
Makefile:173: recipe for target '/tmp/milestones/kafka-running' failed
make: *** [/tmp/milestones/kafka-running] Error 1
I'm attaching the logs for the cord-Kafka pod:
[main-SendThread(cord-kafka-zookeeper:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server cord-kafka-zookeeper:2181. Will not attempt to authenticate using SASL (unknown error)
[main-SendThread(cord-kafka-zookeeper:2181)] WARN org.apache.zookeeper.ClientCnxn - Session 0x0 for server cord-kafka-zookeeper:2181, unexpected error, closing socket connection and attempting reconnect
java.nio.channels.UnresolvedAddressException
at sun.nio.ch.Net.checkAddress(Net.java:101)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:622)
at org.apache.zookeeper.ClientCnxnSocketNIO.registerAndConnect(ClientCnxnSocketNIO.java:277)
at org.apache.zookeeper.ClientCnxnSocketNIO.connect(ClientCnxnSocketNIO.java:287)
at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1021)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1064)
Here are the events from the cord-kafka pod:
Events:
---- ------ ---- ---- -------
Normal Scheduled 2m32s default-scheduler Successfully assigned default/cord-kafka-0 to ubuntu
Normal Pulling 2m31s kubelet, ubuntu pulling image "confluentinc/cp-kafka:5.0.1"
Normal Pulled 110s kubelet, ubuntu Successfully pulled image "confluentinc/cp-kafka:5.0.1"
Normal Created 52s (x2 over 110s) kubelet, ubuntu Created container
Normal Started 52s (x2 over 110s) kubelet, ubuntu Started container
Normal Killing 52s kubelet, ubuntu Killing container with id docker://kafka-broker:Container failed liveness probe.. Container will be killed and recreated.
Normal Pulled 52s kubelet, ubuntu Container image "confluentinc/cp-kafka:5.0.1" already present on machine
Warning Unhealthy 9s (x5 over 79s) kubelet, ubuntu Liveness probe failed:
Warning Unhealthy 5s (x5 over 75s) kubelet, ubuntu Readiness probe failed: dial tcp 192.168.0.6:9092: connect: connection refused
If possible could anybody provide me the file for making a clean installation using the make file because every time I run the make file it exists with the error stating the pods are already in use.