strimzi-kafka-operator
strimzi-kafka-operator copied to clipboard
Handled `AnnotatedRouteNoHostException` causing the `KafkaRebalance` to get into `NotReady` state when CC is enabled form Disabled state
Signed-off-by: ShubhamRwt [email protected]
Type of change
- Bugfix
Description
This PR fixes the issue for KafkaRebalance
going into NotReady
state when CC is enabled from Disabled state due to the AnnotatedRouteNoHostException
Checklist
Please go through this checklist and make sure all applicable tasks have been done
- [ ] Write tests
- [ ] Make sure all tests pass
- [ ] Update documentation
- [ ] Check RBAC rights for Kubernetes / OpenShift roles
- [ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
- [ ] Reference relevant issue(s) and close them after merging
- [ ] Update CHANGELOG.md
- [ ] Supply screenshots for visual changes, such as Grafana dashboards
/azp run regression
Azure Pipelines successfully started running 1 pipeline(s).
Added the tests @scholzj . I refactored the createKafkaRebalance
method in KafkaRebalanceStateMachineTest
class so that I can add Exception to the status and see the state change
@ShubhamRwt Can you please fix the build and the DCO signoff?
Sure @scholzj . Actually we need some discussion on this PR and yesterday Tom and I decided to have a meeting today regarding this
I have made the new changes @ppatierno @tomncooper
@tomncooper @ppatierno Does this PR need more changes?
/azp run regression
Azure Pipelines successfully started running 1 pipeline(s).