[Bug]: Single node Kraft migration #10174
Replies: 2 comments 5 replies
-
This is not a bug. Kafka doesn't support migration to dual-role node KRaft and it also stated in our documentation https://strimzi.io/docs/operators/latest/deploying#proc-deploy-migrate-kraft-str |
Beta Was this translation helpful? Give feedback.
-
Hi @scholzj, we are also trying to migrate to KRaft, as next Strimzi version only supports KRaft. I see during the migrate we have to create dedicated My question is, can I remove this newly created |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Description
I am trying to migrate a single broker cluster to Kraft with dual role nodes and running into an error:
java.lang.NullPointerException: Cannot invoke "io.strimzi.operator.cluster.operator.resource.KafkaQuorumCheck.quorumLeaderId()" because "restartContext.quorumCheck" is null
Start state is a Kafka resource with node-pools enabled and kraft disabled.
1 broker replica and 3 zookeeper replicas
I followed the migration steps as in: https://strimzi.io/blog/2024/03/22/strimzi-kraft-migration/
Which leaves me with a broker nodepool with 1 replica and a controller nodepool with 3 replicas.
If i try to add the controller role to the broker nodepool I get the above error.
You also get this error if you try the migration process with a dual role pool
Steps to reproduce
Expected behavior
For this to work.
I get that its not a recommended configuration, but for dev/test environments it saves a lot of resources!
Strimzi version
0.41
Kubernetes version
v1.29
Installation method
Helm
Infrastructure
EKS
Configuration files and logs
This is the working Kraft configuration with 1 broker, 3 controllers.
Adding the controller role to the broker pool is where the problems start
Operator error log
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions