Smb driver gets Access is Denied error #622
-
Hi Team, On the windows node, during nodestage volume.
During node publish volume {"message":"failed to generate container \"f5f006e6ec08126a8a7d0d3db777a39bfb95da58f2730ce08f4ecaf327ab8d27\" spec: failed to generate spec: failed to stat \"c:\\\\var\\\\lib\\\\kubelet\\\\pods\\\\cc2ce367-fa43-4514-9863-be74ee4a7847\\\\volumes\\\\kubernetes.io Error: failed to generate container "cdd8d39a5a15ed1b5c949d4b5ce4579d0992a2fd324370c083a6d799614f62bd" spec: failed to generate spec: failed to stat "c:\var\lib\kubelet\pods\cc2ce367-fa43-4514-9863-be74ee4a7847\volumes\kubernetes.io Has anyone seen this earlier? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
have you installed csi-proxy on the windows node? |
Beta Was this translation helpful? Give feedback.
-
Yes.
…On Thu, May 18, 2023 at 1:12 PM Andy Zhang ***@***.***> wrote:
have you installed csi-proxy on the windows node?
—
Reply to this email directly, view it on GitHub
<#622 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6P6NH6YBCVFM23JT5QSQ3TXGXHFPANCNFSM6AAAAAAYF62CYI>
.
You are receiving this because you authored the thread.Message ID:
<kubernetes-csi/csi-driver-smb/repo-discussions/622/comments/5936362@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Thanks Andy.
Use New-SmbGlobalMapping worked. I am trying to play around with the driver
by making some modifications of my own.
regards,
Phani.
…On Thu, May 18, 2023 at 9:41 PM Andy Zhang ***@***.***> wrote:
you should use New-SmbGlobalMapping to mount smb share instead of
new-smbmapping since if you are using new-smbmapping, you cannot fetch
the smb credentials inside container while if you use New-SmbGlobalMapping,
it should work.
btw, why are you forking this smb csi driver?
—
Reply to this email directly, view it on GitHub
<#622 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6P6NH6EXUCHC5GCRJ3M2DTXGZC3LANCNFSM6AAAAAAYF62CYI>
.
You are receiving this because you authored the thread.Message ID:
<kubernetes-csi/csi-driver-smb/repo-discussions/622/comments/5940330@
github.com>
|
Beta Was this translation helpful? Give feedback.
you should use
New-SmbGlobalMapping
to mount smb share instead ofnew-smbmapping
since if you are usingnew-smbmapping
, you cannot fetch the smb credentials inside container while if you useNew-SmbGlobalMapping
, it should work.btw, why are you forking this smb csi driver?