-
Notifications
You must be signed in to change notification settings - Fork 4
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
DFBUGS-319: Fix rdspec and protectedpvcs condition #387
base: release-4.17
Are you sure you want to change the base?
Conversation
Fix an issue where the VRG resource was frequently updated, causing the RDSpec to alternate between an empty and non-empty list. This behavior directly impacted failover and relocation. If the list was empty during these actions, PVC restore was skipped, leading to incomplete recovery. Signed-off-by: Benamar Mekhissi <[email protected]> (cherry picked from commit a974756)
This commit modifies the utility function that creates the ManifestWork to return an additional value indicating the last operation result alongside the error. The result can be one of three values: created, updated, or none. This change is needed to track whether the ManifestWork resource was newly created, updated, or left unchanged. Signed-off-by: Benamar Mekhissi <[email protected]> (cherry picked from commit c46cc59)
Signed-off-by: Benamar Mekhissi <[email protected]> (cherry picked from commit fcf6be9)
In certain edge cases, ProtectedPVCs may fail to add the PVsRestored condition permanently, causing the relocate process to get stuck in the WaitForReadiness progression. Signed-off-by: Benamar Mekhissi <[email protected]> (cherry picked from commit d7f0b8f)
Signed-off-by: Benamar Mekhissi <[email protected]> (cherry picked from commit aae3695)
When ensuring the VRG ManifestWork, the process now begins by retrieving the VRG from an existing ManifestWork, if available, and updating it as needed. If the ManifestWork does not exist, it will be created. This update-instead-of-create approach avoids overwriting other fields unintentionally and ensures consistency by always starting from a base VRG state. Signed-off-by: Benamar Mekhissi <[email protected]> (cherry picked from commit b05e435)
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: BenamarMk The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@BenamarMk: This pull request references Bugzilla bug 2319334, which is invalid:
Comment In 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. |
1 similar comment
@BenamarMk: This pull request references Bugzilla bug 2319334, which is invalid:
Comment In 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. |
@BenamarMk: An error was encountered updating to the POST state for bug 2321510 on the Bugzilla server at https://bugzilla.redhat.com. No known errors were detected, please see the full error message for details. Full error message.
code 109: You are not permitted to edit bugs in product Red Hat OpenShift Data Foundation.
Please contact an administrator to resolve this issue, then request a bug refresh with In 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. |
@BenamarMk: This pull request references Bugzilla bug 319, which is invalid:
Comment In 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. |
@BenamarMk: No Bugzilla bug is referenced in the title of this pull request. In 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. |
@BenamarMk: This pull request references [Jira Issue DFBUGS-319](https://issues.redhat.com//browse/DFBUGS-319), which is invalid:
Comment In 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. |
@BenamarMk: No Bugzilla bug is referenced in the title of this pull request. In 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. |
@BenamarMk: No Jira issue is referenced in the title of this pull request. In 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. |
@BenamarMk: No Bugzilla bug is referenced in the title of this pull request. In 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. |
@BenamarMk: This pull request references [Jira Issue DFBUGS-319](https://issues.redhat.com//browse/DFBUGS-319), which is invalid:
Comment In 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. |
@BenamarMk: No Bugzilla bug is referenced in the title of this pull request. In 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. |
@BenamarMk: No Bugzilla bug is referenced in the title of this pull request. In 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. |
1 similar comment
@BenamarMk: No Bugzilla bug is referenced in the title of this pull request. In 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. |
@BenamarMk: This pull request references [Jira Issue DFBUGS-319](https://issues.redhat.com//browse/DFBUGS-319), which is invalid:
Comment In 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. |
@BenamarMk: No Bugzilla bug is referenced in the title of this pull request. In 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. |
@BenamarMk: This pull request references [Jira Issue DFBUGS-319](https://issues.redhat.com//browse/DFBUGS-319), which is invalid:
Comment In 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. |
@BenamarMk: No Bugzilla bug is referenced in the title of this pull request. In 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. |
@BenamarMk: This pull request references [Jira Issue DFBUGS-319](https://issues.redhat.com//browse/DFBUGS-319), which is invalid:
Comment In 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 |
@kseegerrh: This pull request references [Jira Issue DFBUGS-319](https://issues.redhat.com//browse/DFBUGS-319), which is invalid:
Comment In 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 |
@kseegerrh: This pull request references [Jira Issue DFBUGS-319](https://issues.redhat.com//browse/DFBUGS-319), which is invalid:
Comment In 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 |
@BenamarMk: This pull request references [Jira Issue DFBUGS-319](https://issues.redhat.com//browse/DFBUGS-319), which is invalid:
Comment In 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. |
This PR includes critical fixes for Cephfs workloads that occasionally caused the relocation to stall forever in the WaitForReadiness progression.
Key Changes:
Fix for RDSpec List Alternation
Addressed an issue where frequent VRG resource updates caused the RDSpec list to alternate between empty and non-empty list. This inconsistency was leading to incomplete PVC restores during failover or relocation, halting the recovery process.
Fix for ProtectedPVC
PVsRestored
ConditionIn certain edge cases, ProtectedPVCs were failing to add the PVsRestored condition permanently, which caused the relocate process to get stuck in the WaitForReadiness progression. This fix ensures the condition is consistently applied, preventing the relocation from stalling.
Refactor of ManifestWork Creation Function
The utility function that creates ManifestWork has been refactored to return the last operation result (created, updated, or none) alongside any errors. This change allows tracking of whether a ManifestWork resource was newly created, updated, or left unchanged.
JIRA: https://issues.redhat.com//browse/DFBUGS-319