Skip to content
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

K8SSAND-1806 ⁃ User keyspaces shouldn't be altered automatically during a DC decommission #699

Closed
adejanovski opened this issue Sep 27, 2022 · 0 comments · Fixed by #700
Labels
zh:Ready-For-Review Issues in the ZenHub pipeline 'Ready-For-Review'

Comments

@adejanovski
Copy link
Contributor

adejanovski commented Sep 27, 2022

Removing a DC from the K8ssandraCluster spec currently alters all keyspaces (system and user) to remove replicas from that DC, and then deletes the CassandraDatacenter object.
This can create bad surprises in multi tenant clusters where a team could delete a DC without asking all tenants if they're ok with it.
We want to add safety and prevent DC decommissions if any user keyspace still has replicas on it, informing the operators of the nature of the issue.
Since network calls are involved and due to the nature of multi cluster deployments, we cannot rely on webhooks for this and have to accept the patches. Instead, we'll create events to notify ops of the problem, and potentially enrich the K8ssandraCluster object status with the reconcile error message.

┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1806
┆priority: Medium

@sync-by-unito sync-by-unito bot changed the title User keyspaces shouldn't be altered automatically during a DC decommission K8SSAND-1806 ⁃ User keyspaces shouldn't be altered automatically during a DC decommission Sep 27, 2022
@adejanovski adejanovski added the zh:In-Progress Issues in the ZenHub pipeline 'In-Progress' label Sep 27, 2022
@adejanovski adejanovski mentioned this issue Sep 27, 2022
5 tasks
@adejanovski adejanovski added zh:Ready-For-Review Issues in the ZenHub pipeline 'Ready-For-Review' and removed zh:In-Progress Issues in the ZenHub pipeline 'In-Progress' labels Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
zh:Ready-For-Review Issues in the ZenHub pipeline 'Ready-For-Review'
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant