Replies: 2 comments
-
I think it is just how the ZooKeeper implements the hostname verification. It is probably much more secure ... but it also generates a lot more false negatives. But you can probably ask in some ZooKeeper forum to check on their exact motivation. The reason why it somewhere works and somewhere not, is just in the networking configuration. |
Beta Was this translation helpful? Give feedback.
-
I wish someone had better hints. But I think I got something, but I need to talk with an k8s expert. Maybe this helps someone: Even all zookeeper are in the name namespace, they are not in the same network. When I make a traceroute from zookeeper-0 to zookeeper-1 I see that the traffic takes some hops:
It seems that k8s
This is in the failing work environment. Unfortunately the images in my working private test environment have no tracepath, so it would be quiet time consuming to test it. |
Beta Was this translation helpful? Give feedback.
-
I am investigating for too long a strimzi-kafka installation and why the zookeeper compares the ip address of the target system´s certificate common / alt name. In this way the communication fails. This has been discussed in at least three issues:
Broker cannot connect to Zookeeper #3111
[Question] Zookeeper failed to verify host address after upgraded to 0.18.0 #3099
Kafka PODs are not appearing, only zookeeper pods are running. #3155
In one cluster the zookeeper communication fails:
In another cluster it works fine:
I can get the zookeeper communication to work by setting the javaSystemProperties:
to false. But I would like to make it work without this workaround. Has anyone experienced this behaviour before, understood the problem and found a solution?
Here are some additional information:
This log is interesting, because the ip make the following reverse lookup:
It must be a general ingress ip. I guess this is communication from the kafka-operator. Operator and Kafka run in different namespaces.
This is the configuration I deployed:
helm upgrade --install strimzi-eval strimzi/strimzi-kafka-operator -n kafka-operator -f values-operator.yaml
values-operator.yaml
In this way I deployed Kafka:
k apply -n kafka-test -f values-kafka.yaml
values-kafka.yaml
Beta Was this translation helpful? Give feedback.
All reactions