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

Crossed IPs handling #130

Open
jdonenine opened this issue Jul 7, 2021 · 1 comment
Open

Crossed IPs handling #130

jdonenine opened this issue Jul 7, 2021 · 1 comment
Labels
assess Issues in the state 'assess' bug Something isn't working casskop-compat zh:Assess/Investigate

Comments

@jdonenine
Copy link
Contributor

jdonenine commented Jul 7, 2021

Originally reported in https://github.com/datastax/cass-operator/issues/312 by cscetbon

Sometimes IPs from different cassandra nodes of the same cluster can be exchanged and in that case Cassandra refuses to start. CassKop introduced a fix to this issue described here.

What it does is store the host/ID map and when it sees that the map changed with an exchange of IPs from the previous time it collected it, it kills those pods and let k8s restart them.
The current code is available at https://github.com/Orange-OpenSource/casskop/blob/v1.0.0-release/pkg/controller/cassandracluster/reconcile.go#L708-L721 and https://github.com/Orange-OpenSource/casskop/blob/v1.0.0-release/pkg/controller/cassandracluster/reconcile.go#L751-L794).

The goal of this ticket is have it handled in cass-operator.

┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: CASS-59

@jdonenine jdonenine added bug Something isn't working casskop-compat labels Jul 7, 2021
@sync-by-unito sync-by-unito bot changed the title Crossed IPs handling K8SSAND-668 ⁃ Crossed IPs handling Apr 4, 2022
@bradfordcp
Copy link
Member

I'm curious what the exact step by step scenario is here to reproduce. I know we've been a bit fuzzy around what happens in this scenario and want to get this corner case covered.

@adejanovski adejanovski moved this to Assess/Investigate in K8ssandra Nov 8, 2022
@adejanovski adejanovski added the assess Issues in the state 'assess' label Sep 3, 2024
@sync-by-unito sync-by-unito bot changed the title K8SSAND-668 ⁃ Crossed IPs handling Crossed IPs handling Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assess Issues in the state 'assess' bug Something isn't working casskop-compat zh:Assess/Investigate
Projects
No open projects
Status: Assess/Investigate
Development

No branches or pull requests

3 participants