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-1863 ⁃ startOneNodeRack does not handle decommissioned StatefulSets #437

Closed
burmanm opened this issue Oct 28, 2022 · 0 comments · Fixed by #438
Closed

K8SSAND-1863 ⁃ startOneNodeRack does not handle decommissioned StatefulSets #437

burmanm opened this issue Oct 28, 2022 · 0 comments · Fixed by #438
Assignees
Labels
bug Something isn't working

Comments

@burmanm
Copy link
Contributor

burmanm commented Oct 28, 2022

What happened?
k8ssandra/k8ssandra-operator#746 for more details

In short, the startOneNodePerRack is unable to handle situations where StatefulSet has 0 nodes, since it still tries to find one. It should detect that the rack is fine, since target node count is 0.

Without this check, it will do a nil pointer check and requeue forever.

Did you expect to see something different?

How to reproduce it (as minimally and precisely as possible):

Environment

  • Cass Operator version:

    Insert image tag or Git SHA here

    * Kubernetes version information:

    kubectl version

    * Kubernetes cluster kind:
insert how you created your cluster: kops, bootkube, etc.
  • Manifests:
insert manifests relevant to the issue
  • Cass Operator Logs:
insert Cass Operator logs relevant to the issue here

Anything else we need to know?:

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

@burmanm burmanm added the bug Something isn't working label Oct 28, 2022
@burmanm burmanm self-assigned this Oct 28, 2022
@sync-by-unito sync-by-unito bot changed the title startOneNodeRack does not handle decommissioned StatefulSets K8SSAND-1863 ⁃ startOneNodeRack does not handle decommissioned StatefulSets Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants