Upgrade v1beta2 to v1 - Kafka Listener Authentication #12361
Replies: 2 comments · 3 replies
-
|
I'm not entirely sure what exactly is the problem in your case.
The TLS preparation scripts are not run by design as the PKCS12 stores that were being prepared by them are not used anymore. We now use the PEM files directly. |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Thank you for the quick response! When I'm trying to deploy the new version, the Kafka controller is working as expected, but the pod of the broker is failing entering in a state of CrashLoopBackOff because of the error above. v1: I will share here the following:
Kafka resource configuration: Kafka nodepool resource configuration: Full logs from the broker: ConfigMap generated by Kafka NodePool: Kafka controller nodepool resource configuration: ConfigMap generated by Kafka controller NodePool: |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
@mstruk any idea what yould this mean Marko? |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
It looks like the listener configuration needs the following config parameter:
It's something the operator used to automatically add, but now has to be added manually. |
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 1
-
|
This config parameter worked and it fixed the problem. I really appreciate your help, thank you very much both of you! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I encounter an error when I'm trying to upgrade the Kafka CR from v1beta2 to v1.
I'm currently using Strimzi Kafka Operator 0.49.0 and Kafka 4.1.0, with the current broker configuration:
Using this configuration the Kafka broker and Strimzi Operator are working just fine, also without any errors in logs.
Now I'm trying to upgrade the Kafka CR to the v1, following this example from the documentation. Here is how my broker configuration looks:
I tried the following methods:
In every case I have the following error in the Kafka Broker logs:
Strimzi Operator logs:
One thing that I noticed it is that in version 0.48.0 and below there were some init scripts (like
kafka_tls_prepare_certificates.sh,tls_utils.sh) that were adding certificates to the truststore:And also i could see the
client-ca-certs,cluster-ca-certsandbroker-certsin/opt/kafka.In version 0.49.0 I see that these scripts are not executed anymore and I can't see these folders on the disk anymore.
But I'm not sure if this can cause my error or not.
Do you have any idea how to resolve this problem, please?
Beta Was this translation helpful? Give feedback.
All reactions