You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: