-
Notifications
You must be signed in to change notification settings - Fork 8
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
fix(CSI-270): filesystem-backed volumes cannot be deleted due to stale NFS permissions #344
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @sergeyberezansky and the rest of your teammates on Graphite |
Graphite Automations"Request reviewers once CI passes" took an action on this PR • (09/26/24)1 reviewer was added to this PR based on Sergey Berezansky's automation. |
sergeyberezansky
force-pushed
the
sergey/add-nfs-sanity
branch
from
September 26, 2024 15:32
d7d36d6
to
fcc9275
Compare
sergeyberezansky
force-pushed
the
sergey/delete-nfs-perms-on-fs-delete
branch
7 times, most recently
from
September 27, 2024 10:05
9b93534
to
62384c3
Compare
sergeyberezansky
changed the base branch from
sergey/add-nfs-sanity
to
sergey/override-nfs-target-ips
September 27, 2024 10:05
sergeyberezansky
force-pushed
the
sergey/delete-nfs-perms-on-fs-delete
branch
from
September 27, 2024 10:30
62384c3
to
c0ad603
Compare
sergeyberezansky
force-pushed
the
sergey/delete-nfs-perms-on-fs-delete
branch
2 times, most recently
from
September 27, 2024 12:27
a7995be
to
865370d
Compare
Merge activity
|
sergeyberezansky
changed the base branch from
sergey/override-nfs-target-ips
to
graphite-base/344
September 27, 2024 12:58
sergeyberezansky
force-pushed
the
sergey/delete-nfs-perms-on-fs-delete
branch
from
September 27, 2024 13:06
865370d
to
a89fce2
Compare
sergeyberezansky
force-pushed
the
sergey/delete-nfs-perms-on-fs-delete
branch
from
September 27, 2024 13:08
a89fce2
to
28837a9
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TL;DR
Enhanced NFS support, improved error handling, and added filesystem deletion safeguards.
What changed?
EnsureNoNfsPermissionsForFilesystem
function to remove NFS permissions before filesystem deletion.NodeUnpublishVolume
to remove the target path if it exists but is not a Weka mount.NodeStageVolume
andNodeUnstageVolume
as unimplemented features.How to test?
NodeUnpublishVolume
when the target path exists but is not a Weka mount.NodeStageVolume
andNodeUnstageVolume
return unimplemented status.Why make this change?
These changes improve the robustness of the CSI driver, particularly when using NFS transport. They address potential issues with filesystem deletion when NFS permissions are present and enhance error handling and logging for better diagnostics. The updates also align the driver with expected CSI behavior for certain operations.