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: smb valid path error #95583
fix: smb valid path error #95583
Conversation
/retest |
@jingxu97 looks like the flush disk operation did not fix the data corruption issue on Windows:
|
/test pull-kubernetes-e2e-azure-disk-windows |
1 similar comment
/test pull-kubernetes-e2e-azure-disk-windows |
So this test already has the fix I assume? My test failed mostly with empty file like ""\x00\x00\x00\x00\x00\x00\x..." without having the hello world context at all. The tetst is creating a pod with a volume, delete it, and create a second one to read the context. What your test is doing? |
@jingxu97 it's |
/test pull-kubernetes-e2e-azure-disk-windows |
y, it is random. But it always happen if you run a number of times. I remember after adding writevolumecache call, it will not happen again for my case. |
@jingxu97 could you review this PR? thanks. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx, jingxu97 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 |
What type of PR is this?
/kind bug
What this PR does / why we need it:
fix: smb valid path error, ported from kubernetes/utils#188
isValidPath
func error should be ignored since if password changed, it would return following access error:By that case, should remove original SMB remote path and mount again.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
/assign @jingxu97
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/priority important-soon
/sig storage
/triage accepted