-
Notifications
You must be signed in to change notification settings - Fork 89
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
pb-4093 Deleting the volumesnapshotcontent in the case of failed native CSI backup. #1460
Conversation
Can one of the admins verify this patch? |
CSI backup - Adding the vsc name in the map in CleanupBackupResources with out any status check ( success/failure/in-progress) - In SnapshotStatus() also removed the check for ready state to add the volumesnapshotcontent name in the snapshotInfo. If the status volumesnapshotcontent is present, we will add the VSC name in the snapshotInfo.
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #1460 +/- ##
==========================================
- Coverage 66.68% 66.61% -0.07%
==========================================
Files 43 43
Lines 4991 4991
==========================================
- Hits 3328 3325 -3
- Misses 1339 1341 +2
- Partials 324 325 +1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is similar change required in px-backup delete path also?
In the case of delete path, if the snapshot itself fails, we will not have snapshot.json. Then we will not apply any VS or VSC. |
In case the backup was successful, but during delete the volumesnapshotcontent did not become ready, are we going to delete the applied VS and VSC CRs even though they are in failed condition? If yes, then it looks fine. |
Merge the PR as Functional test is blocking. Will track, it if we see any failure. |
What type of PR is this?
What this PR does / why we need it:
Does this PR change a user-facing CRD or CLI?:
no
Is a release note needed?:
Does this change need to be cherry-picked to a release branch?:
Yes.
23.7 branch and 23.7.1 branch.
Testing:
Vaidated the fix on IBM setup with timeout error.