Cruise control w/ default configuration won't generate a proposal.
See original GitHub issueDescribe the bug I’ve deployed a Kafka crd with the default cruiseControl configuration. Cruise Control starts, but doesn’t generate proposals.
To Reproduce Steps to reproduce the behavior:
- Deploy Kafka object
- Deploy KafkaRebalance object
- Describe KafkaRebalance object
- Observe that Status.Conditions.Type=PendingProposal
- Observe that the cruise control pod has errors
operationLogger:742 - Task [e2feb1d4-e0f7-45df-8c20-c8f971948701] calculation fails, exception:
java.util.concurrent.ExecutionException: Operation 'Rebalance' received exception. com.linkedin.kafka.cruisecontrol.exception.KafkaCruiseControlException: com.linkedin.cruisecontrol.exception.NotEnoughValidWindowsException: There is no window available in range [-1, 1657129787915] (index [1, -1]). Wind
[report-06-07-2022_15-19-51.zip](https://github.com/strimzi/strimzi-kafka-operator/files/9058096/report-06-07-2022_15-19-51.zip)
ow index (current: 0, oldest: 0).
Expected behavior A KafkaRebalance object should have a rebalance proposal generated.
Environment (please complete the following information):
- Strimzi version: 0.29.0
- Installation method: Helm chart strimzi-kafka-operator-0.29.0
- Kubernetes cluster: Kubernetes 1.21.12
- Infrastructure: Self hosted cluster w/ 6 nodes tainted for exclusive use by Kafka
YAML files and logs attached
Issue Analytics
- State:
- Created a year ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
kafka-cruise-control/Lobby - Gitter
Hey folks. I'm working on integrating Cruise Control into our CI suite as a first step for adoption but I'm running into an...
Read more >Operating Apache Kafka with Cruise Control - Cloudera Blog
It uses a heuristic method to generate optimization proposals based on the goals provided by the users and the workload model emitted by...
Read more >Configuring Strimzi
Optional configuration for Cruise Control, which is used to rebalance the Kafka cluster. Create or update the resource: kubectl apply -f < ...
Read more >Eclipse autocomplete not working - Stack Overflow
Make sure Other Java Proposals is ticked/checked. ... This is mere configuration issue of eclipse. reinstallation would fix it. Thanks.
Read more >Configuring Marlin
LCD controller brand and model; Add-ons and custom components. Configuration.h. The core and default settings of Marlin live in the Configuration ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Glad it is working now @benmathews! So from what understand this, the solution was to configure the Kubernetes nodes to use the same cgroups version either
cgroups v1
by settingsystemd.unified_cgroup_hierarchy=0
orcgroups v2
by settingsystemd.unified_cgroup_hierarchy=1
.Unfortunately, environment issues like this are not something that Strimzi can easily detect. That being said, the updates that are coming with OpenJDK
11.0.16
may have been able to help mitigate this particular issue but the cluster would still have been vulnerable to other cgroup issues[1] https://bugs.openjdk.org/browse/JDK-8230305
@kyguy thanks a lot for walking me through diagnosing and resolving this.