-
I have a very similar problem described here. I used the latest version of pstrimzi 0.33.2 as I remember. I tried to deploy a simple cluster with 2 Kafka nodes and 2 Zookeeper nodes. But the Zookeeper instances don't want to come up and they are constantly restarting. They try to match certificates, for the host machine, and obviously, that is failing. Here is the error message, but the full log is also attached: report-06-03-2023_22-28-20.zip Any ideas are appreciated. How can this be fixed? Probably something is wrong in my configuration, but what? I followed the step by step guides from the web page, I just changed the number of replicas and persistent volume sizes. Those, I believe, can't cause this issue. Using the fix suggested in the similar issue kind of worked, but that's just a workaround. I don't really want to do similar things in production. Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This is essentially an issue with how your DNS is configured. ZooKeeper does TLS hostname verification through a reverse DNS lookup. So essentially:
You have two options how to fix it:
|
Beta Was this translation helpful? Give feedback.
-
This configuration works. Thanks @kdavid76 |
Beta Was this translation helpful? Give feedback.
This is essentially an issue with how your DNS is configured. ZooKeeper does TLS hostname verification through a reverse DNS lookup. So essentially:
tao-zookeeper-0.tao-zookeeper-nodes.kafka.svc
192.168.29.161
192.168.29.161
and checks if the DNS name it gets back is in the TLS certificate subject alternative names. And in your case, the DNS tells it that this IP belongs toapps.besztercekk.hu
=> and that is obviously in the certificate as it has nothing to do with the actual address of the ZooKeeper nodes. So it fails.