-
Notifications
You must be signed in to change notification settings - Fork 42.1k
Remove devicePath dependency for CSI volumes #71095
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
Conversation
|
/hold |
|
/priority important-soon |
|
/lgtm |
saad-ali
left a comment
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.
/lgtm
/approve
/milestone 1.13
Thanks @msau42!!
|
@saad-ali: The provided milestone is not valid for this repository. Milestones in this repository: [ Use 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/test-infra repository. |
95bb751 to
919316c
Compare
|
Fixing lint errors |
|
/lgtm |
|
/test pull-kubernetes-integration |
|
/hold |
|
Bump comment for |
|
I discussed with @jsafrane offline. devicePath has had problems in the past, and we may find more problems in the future. In general, if a plugin doesn't need to pass information between AD controller and kubelet in this way, then it should not use devicePath reduce the risk of future issues because of it. So for CSI, we should continue with this approach. @jsafrane suggested that we should also not set devicePath for CSI plugins in Node.status.volumesAttached to completely eliminate that flow from CSI. I will try this out and see if returning an empty devicePath could cause other issues. |
|
/lgtm |
|
/priority critical-urgent |
|
@jsafrane I cannot remove attachID from Attach() call for another 2 releases due to backwards compatibility with older kubelets. I can deprecate it for 1.13 and we can remove it in 1.15. I've tested and saved the commit to remove attachId from Attach() here: msau42@068278f. |
919316c to
974d47e
Compare
|
Opened #71164 to track the AD controller work |
|
/lgtm |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: msau42, saad-ali The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/remove-priority important-soon |
…-upstream-release-1.12 Automated cherry pick of #71095: Remove devicePath dependency for CSI volumes
What type of PR is this?
/kind bug
/kind failing-test
/kind flake
@kubernetes/sig-storage-pr-reviews
What this PR does / why we need it:
CSI doesn't need the devicePath to generate the attachID
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #65246
Special notes for your reviewer:
Does this PR introduce a user-facing change?: