Closed im-konge closed 4 years ago
As from documentation https://strimzi.io/docs/operators/master/using.html#ref-cruise-control-configuration-str you can specify Number, Boolean, or a String in the cruise control configuration fields. The goals
is a String field and it represents a comma-separated list of goals classes as described in the cruise control official documentation.
I think it's not a bug that you see then. The status is just saying you that you cannot use a "List" (because { }
actually represents an empty List) as value.
@ppatierno This is still a bug if the documentation gives you an example of using goals: {}
and it needs to be fixed.
I didn't notice it was on the doc @PaulRMellor @laidan6000
@ppatierno yes it's in examples and that was core of my question. I was wondering if it's a bug or mistake in documentation.
Bug addressed in #3107.
I removed goals: {}
from the example Cruise Control configuration shown in "Deploying Cruise Control".
Describe the bug When we want to deploy CruiseControl with empty
goals
ordefault.goals
, Kafka will have error in it's status:To Reproduce Steps to reproduce the behavior:
goals: {}
ordefault.goals: {}
to CC configYAML files and logs
https://gist.github.com/im-konge/98b1a2649b4d48ac088763c6399ae3ae