Skip to content

fix: retry finalizer removal on http 422 #2776

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

Merged
merged 6 commits into from
Apr 30, 2025
Merged

Conversation

csviri
Copy link
Collaborator

@csviri csviri commented Apr 28, 2025

this can happen if there are multiple finalizers present and multiple reconilers competent to remove their finalizer, since we remove the finalizer with JSON Patch

Signed-off-by: Attila Mészáros [email protected]

this can happen if there are multiple finalizers present and multiple reconilers competent to remove their finalizer, since we remove the finalizer with JSON Patch

Signed-off-by: Attila Mészáros <[email protected]>
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 28, 2025
@csviri
Copy link
Collaborator Author

csviri commented Apr 28, 2025

see: #2759 (comment)

csviri added 2 commits April 28, 2025 18:03
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
@csviri csviri marked this pull request as ready for review April 29, 2025 15:28
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 29, 2025
@openshift-ci openshift-ci bot requested review from metacosm and xstefank April 29, 2025 15:28
Signed-off-by: Attila Mészáros <[email protected]>
@csviri
Copy link
Collaborator Author

csviri commented Apr 29, 2025

cc @tomdw , checking the logs in the integration test I was able to confirm that indeed this happens with 422. Thank you for reporting.

@csviri csviri changed the title fix: retry finalizer on http 422 fix: retry finalizer removal on http 422 Apr 29, 2025
metacosm and others added 2 commits April 30, 2025 12:39
Co-authored-by: Martin Stefanko <[email protected]>
@csviri csviri merged commit a92bf98 into main Apr 30, 2025
24 of 25 checks passed
@csviri csviri deleted the improve-finalizer-removal branch April 30, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Patch of resource fails due to 'the server rejected our request due to an error in our request'
3 participants