k3s/pkg/kubelet/volumemanager
Jing Xu 31a70b8598 Fix race condition between actual and desired state in kublet volume manager
This PR fixes the issue #75345. This fix modified the checking volume in
actual state when validating whether volume can be removed from desired state or not. Only if volume status is already mounted in actual state, it can be removed from desired state.
For the case of mounting fails always, it can still work because the
check also validate whether pod still exist in pod manager. In case of
mount fails, pod should be able to removed from pod manager so that
volume can also be removed from desired state.
2019-04-23 19:22:59 -07:00
..
cache Rename ExandFS to NodeExpand 2019-03-08 09:21:44 -05:00
metrics Improve usability of CSI plugin metrics 2018-11-12 09:21:49 +08:00
populator Fix race condition between actual and desired state in kublet volume manager 2019-04-23 19:22:59 -07:00
reconciler Distinguish volume path with mount path 2019-02-27 19:31:26 +08:00
BUILD Add unit tests for volumesinuse during node status update 2019-02-12 13:46:30 -08:00
OWNERS Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
volume_manager.go Fix bug with volume getting marked as not in-use with pending op 2018-11-20 11:58:47 -05:00
volume_manager_fake.go Add unit tests for volumesinuse during node status update 2019-02-12 13:46:30 -08:00
volume_manager_test.go Update all tests to account for BlockVolume enabled by default 2018-11-16 13:38:59 -05:00