-
Notifications
You must be signed in to change notification settings - Fork 39k
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
PersistentVolumeClaims never finish unmounting on Windows nodes #68512
Comments
/sig azure |
@BCLAU what's your PVC type? is it azure disk? |
@BCLAU thanks for reporting. I have identified that this is a regression introduced by UnmountDevice common code mainly for linux: kubernetes/pkg/volume/util/operationexecutor/operation_generator.go Lines 756 to 758 in 426ef9d
the root cause is kubernetes/pkg/util/mount/mount_windows.go Lines 461 to 466 in 426ef9d
Error code is like following:
I have a different implementation for |
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
/sig windows
What happened:
After creating pods having PersistentVolumeClaims and deleting them, the logs are getting filled with errors regarding
operationExecutor.UnmountDevice
failing to unmount the volume [1]. Additionally, tests requiring PVCs will hang several minutes while waiting the PV to unmount [2].[1] https://paste.ubuntu.com/p/GpJqGMjCQk/
[2] https://paste.ubuntu.com/p/CSfTFNjyzs/
What you expected to happen:
There shouldn't be any issues while unmounting the volume, the tests shouldn't have to wait several minutes waiting for the volume to be unmounted.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl version
): v1.11.2kubernetes.json
: https://paste.ubuntu.com/p/qcTNh5tKfp/ )uname -a
):The text was updated successfully, but these errors were encountered: