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
Automated cherry pick of #103154: Update mounter interface in volume manager #106553
Automated cherry pick of #103154: Update mounter interface in volume manager #106553
Conversation
Update mounter interface in volume manager's ActualStateOfWorld every time. Otherwise kubelet uses the first mounter it gets, which may not have the latest information. This fixes set up of CSI volumes, which store information about SELinux support in their `mounter` interface implementation. With each MountVolume() retry, a new mounter is instantiated and only the final mounter that succeeds has the right info if the volume supports SELinux or not and can later return the right attributes on GetAttributes() call.
1fd0fd8
to
a458411
Compare
/sig storage |
/kind bug |
/retests |
/lgtm |
/retest |
ping @kubernetes/release-managers, PTAL |
For some reason, the release note was not inherited from the master PR. Can you please update the PR description to add the release note? |
@xmudrii, release note updated |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jsafrane, xmudrii The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Cherry pick of #103154 on release-1.21.
#103154: Update mounter interface in volume manager
For details on the cherry pick process, see the cherry pick requests page.
Kubernetes 1.22 already has the fix.