[Bug]: Zookeeper can fail to bind port 3888 and 2888 because it cannot resolve its own full hostname. #10978
Replies: 4 comments 5 replies
-
We also expanded
|
Beta Was this translation helpful? Give feedback.
-
The start of the log is
|
Beta Was this translation helpful? Give feedback.
-
Strimzi does not support Istio. So if you use Istio, you should configure it to leave Strimzi alone an don't interfere with it. |
Beta Was this translation helpful? Give feedback.
-
I found the easiest way to reproduce the error Run the zookeeper pod as root remove the machine entry from Run
|
Beta Was this translation helpful? Give feedback.
-
Bug Description
If the pod only has a short hostname (i.e. no domain),
hostname -f
will resolve according to the DNS search domains.If these search domains have not been set yet (as these are created/updated) by Istio, the domain name will be set to
/<unresolved>
Then the log will fill with errors like
Steps to reproduce
Expected behavior
Zookeeper should fail to startup, or wait for the DNS system to come online.
It should NOT think that my domain name is
/<unresolved>
Strimzi version
0.39.0
Kubernetes version
1.29.6+rke2r1
Installation method
Helm chart
Infrastructure
No response
Configuration files and logs
No response
Additional context
We fixed the problem by adding an ENTRYPOINT to the strimzi-zookeeper image calling
waitForDNS.sh
waitForDNS.sh
Beta Was this translation helpful? Give feedback.
All reactions