-
Notifications
You must be signed in to change notification settings - Fork 148
second mount on same smb server address would fail on Windows #38
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
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Comments
should not an issue now |
works well with 5 replicas running on 2 nodes:
|
Pro tip: WHAT DID YOU DO!? You need to say what you fixed... |
Can you please specify which version to upgrade to get this fix? |
second mount on same smb server would not fail on Windows now with csi-proxy v0.2.2, while there is another issue due to windows node reboot: #219 (comment), close this issue now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened:
Create two PVs referencing same smb server address, and mount those two PVs on the same node, the second mount would fail like following:
Windows server don't allow two
New-SmbGlobalMapping
mount with same remote-path:https://github.com/kubernetes-csi/csi-driver-smb/blob/master/pkg/smb/smb_common_windows.go#L34
What you expected to happen:
Second mount should succeed even there is already a mount on the node.
related workaround fix in k8s v1.14.8: https://github.com/kubernetes/kubernetes/blob/211047e9a1922595eaa3a1127ed365e9299a6c23/pkg/util/mount/mount_windows.go#L94-L105
How to reproduce it:
Anything else we need to know?:
Environment:
kubectl version
):uname -a
):The text was updated successfully, but these errors were encountered: