-
Notifications
You must be signed in to change notification settings - Fork 35
DFBUGS-4760: [release-4.19] remove protected app annotation on DR unassignment #2432
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
base: release-4.19
Are you sure you want to change the base?
DFBUGS-4760: [release-4.19] remove protected app annotation on DR unassignment #2432
Conversation
|
@vbnrh: This pull request references [Jira Issue DFBUGS-4760](https://issues.redhat.com//browse/DFBUGS-4760), which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: vbnrh The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Changes:
- Add removeExperimentalAnnotationPromises to remove
PROTECTED_APP_ANNOTATION from placements in batch operations with
parallel placement fetching for performance
- Convert unAssignPromisesForManaged to async function enforcing
sequential execution: add PVC protection annotations first, then
delete DRPCs after PVCs are protected
- Update unAssignPromises to remove placement annotations before
proceeding with PVC protection and DRPC deletion
- Add experimentalAnnotationRemovalPatchPromise to single app removal
modal to remove annotation from placement via spec.placementRef
- Convert RemoveDisasterRecoveryModal onRemove handler to async/await
pattern for proper sequential execution
Execution order is now guaranteed:
1. Remove PROTECTED_APP_ANNOTATION from placements
2. Add PVC protection annotations to DRPCs
3. Delete DRPC resources
Signed-off-by: vbadrina <[email protected]>
0034a3c to
bcaa18b
Compare
|
/cherry-pick release-4.19-compatibility |
|
@vbnrh: once the present PR merges, I will cherry-pick it on top of DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/test odf-console-e2e-aws |
|
/jira refresh |
|
@vbnrh: This pull request references [Jira Issue DFBUGS-4760](https://issues.redhat.com//browse/DFBUGS-4760), which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@vbnrh: This pull request references [Jira Issue DFBUGS-4760](https://issues.redhat.com//browse/DFBUGS-4760), which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@vbnrh: This pull request references [Jira Issue DFBUGS-4760](https://issues.redhat.com//browse/DFBUGS-4760), which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@vbnrh: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
u need PR for compatibility branch as well... |
|
LGTM other than: #2432 (comment) |
Execution order is now guaranteed:
This ensures PVCs are protected before DRPC deletion and placements are unprotected before cleanup begins.