Skip to content

Namespace deletion fails if a cassdc exists #812

@adejanovski

Description

@adejanovski

What happened?

If a namespace deletion is initiated while a cassdc exists in it, it will never go through because of a couple TerminalErrors that will prevent the reconciliation to go through as the finalizer will not be removed.
This is due to secrets being deleted as part of the namespace deletion, before the CassDc can be deleted.

What did you expect to happen?

Namespace deletion should go through with the cassdc being removed despite race conditions in object deletions.

How can we reproduce it (as minimally and precisely as possible)?

Create a cassdc in a specific namespace, then delete the namespace.
Terminal errors will be reported and namespace deletion won't go through.

cass-operator version

1.25.0

Kubernetes version

1.31

Method of installation

No response

Anything else we need to know?

No response

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions