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

KUDO ignores reconcile request for Deletion of StatefulSet #1321

Closed
ANeumann82 opened this issue Jan 31, 2020 · 0 comments · Fixed by #1322
Closed

KUDO ignores reconcile request for Deletion of StatefulSet #1321

ANeumann82 opened this issue Jan 31, 2020 · 0 comments · Fixed by #1322
Labels

Comments

@ANeumann82
Copy link
Member

What happened:
I tried to write an upgrade plan for an operator.
The upgrade Plan has a step to delete the StatefulSet, and another step to recreate the StatefulSet with different settings.

The delete step COMPLETED successfully, and the recreate step started. This step failed a couple times with

Step node [ERROR] (A transient error when executing task upgrade.reinstall.node.node. Will retry. failed to apply StrategicMergePatch to object sanity-test-namespace/cassandra-instance-node: StatefulSet.apps "cassandra-instance-node" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden)

This is expected, as the pods of the old StatefulSet are deleted one by one and the StatefulSet can't be updated. After the final Delete of the StatefulSet, no reconcile request came through to trigger a retry of the recreate step.

After update of another resource (a service), the retry worked and the step was executed

What you expected to happen:

The deletion of the StatefulSet should trigger a reconcile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant