-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cruise Control Not Recreated On Deletion #990
Comments
I also tried going onto you slack group but it seems you need a Cisco email address 🥲 |
Seems the reason is due to the CC Topic creation: {
"level":"info",
"ts":"2023-06-06T11:12:13.412Z",
"logger":"webhooks.KafkaTopic",
"msg":"rejected",
"name":"kafka-cruise-control-topic",
"namespace":"default",
"invalid field(s)":"spec.name: Invalid value: \"__CruiseControlMetrics\": topic \"__CruiseControlMetrics\" already exists on kafka cluster and it is not managed by Koperator,\n\t\t\t\t\tif you want it to be managed by Koperator so you can modify its configurations through a KafkaTopic CR,\n\t\t\t\t\tadd this \"managedBy: koperator\" annotation to this KafkaTopic CR"
} |
Okay for anybody that runs into this, there seems to be a race condition, when cruise control Is deleted and the kubectl run kafka-topic -it \
--image=ghcr.io/banzaicloud/kafka:2.13-3.1.0 \
--rm=true \
--restart=Never \
-- /opt/kafka/bin/kafka-topics.sh --bootstrap-server kafka-headless:29092 --topic __CruiseControlMetrics --delete This deleted the topic and reconcile logic then created the Cruise Control Deployment, I think the issue arises from a race condition here |
@Spazzy757 thank you for reporting this issue and the information! Please don't hesitate to open a PR for the fix if you found the root-cause already. About the Slack issue, can you please share a screen to show why it would take Cisco email for you to join so we can get it fixed by our admins? In the meantime, please feel free to join via this temporary link: https://emergingtechcommunity.slack.com/archives/CK75ATB29 |
@Spazzy757 Did you try with Google or Apple? I just tried with a fake Google account and I was able to join our Slack with the link we have in README https://eti.cisco.com/slack |
yes it works for me, the other one I got was from a comment from an issue, hence probably why it was not working |
Description
I updated the Helm Chart to Latest and KOperator to 0.24.1 and was having some issue with the dpeloyment/upgrade
During this process Cruise Control Was deleted, however I cant seem to get the operator to recreate it.
I see there is an issue here: #740 but it says that it started working again, but Im on the latest version and have this issue
Expected Behavior
Cruise Control Should be Recreated
Actual Behavior
Cruise Control Does not exist and I keep getting errors:
Affected Version
0.24.1
Steps to Reproduce
Checklist
The text was updated successfully, but these errors were encountered: