Closed jichenjc closed 3 years ago
the issue is findmnt not work under some situations (return “” after node -publish even if the device existing but not able to find it ) we should use upstream util functions as much as we can such as to avoid further isuses like this
https://github.com/kubernetes/mount-utils/blob/master/mount_linux.go#L321 https://github.com/kubernetes/mount-utils/blob/77a9b3dc97f9e87135fbdc74e84ab9611bcf9a1c/mount_linux.go#L556
Is this a BUG REPORT or FEATURE REQUEST?:
What happened:
https://github.com/kubernetes-csi/csi-test/blob/master/pkg/sanity/node.go#L731
failed,
What you expected to happen:
How to reproduce it:
Anything else we need to know?:
Environment: