k3s/pkg/volume/flexvolume
Kubernetes Submit Queue d6f76a000d Merge pull request #49539 from avagin/flexvol
Automatic merge from submit-queue (batch tested with PRs 47806, 49539, 48763, 47049, 50600). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>..

flexvolume: remove a mount directory in a error case

**What this PR does / why we need it**:

flexVolumeMounter.SetUpAt creates a directory, where a volume has to be
mounted, and we have to remove this directory in a error case. Otherwise
we see errors like this:

Orphaned pod 673b66d9-70f7-11e7-a5fa-525400307392 found, but volume paths are still present on disk

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

https://github.com/kubernetes/kubernetes/issues/49383

**Special notes for your reviewer**:

**Release note**:

Fix a rollback code for the flexvolume mount operation
2017-09-22 21:20:51 -07:00
..
BUILD Added basic Flexvolume dynamic plugin discovery e2e test; added Flexvolume prober unit tests. 2017-08-31 16:50:02 -07:00
OWNERS remove deads2k from volume reviewer 2017-07-25 08:52:25 -04:00
attacher-defaults.go SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
attacher.go WaitForAttach refactoring for iSCSI attacher/detacher 2017-08-26 17:21:34 -04:00
attacher_test.go WaitForAttach refactoring for iSCSI attacher/detacher 2017-08-26 17:21:34 -04:00
common_test.go update import 2017-07-20 11:03:49 -07:00
detacher-defaults.go Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
detacher.go Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
detacher_test.go
driver-call.go refactor(flexvolume): simplify capabilities handling 2017-08-24 22:18:58 +11:00
driver-call_test.go refactor(flexvolume): simplify capabilities handling 2017-08-24 22:18:58 +11:00
fake_watcher.go Added basic Flexvolume dynamic plugin discovery e2e test; added Flexvolume prober unit tests. 2017-08-31 16:50:02 -07:00
flexvolume_test.go Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
mounter-defaults.go refactor(flexvolume): simplify capabilities handling 2017-08-24 22:18:58 +11:00
mounter.go Merge pull request #49539 from avagin/flexvol 2017-09-22 21:20:51 -07:00
mounter_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
plugin-defaults.go Added basic Flexvolume dynamic plugin discovery e2e test; added Flexvolume prober unit tests. 2017-08-31 16:50:02 -07:00
plugin.go Merge pull request #51474 from verult/ProberTest 2017-09-03 11:10:05 -07:00
plugin_test.go update import 2017-07-20 11:03:49 -07:00
probe.go Added basic Flexvolume dynamic plugin discovery e2e test; added Flexvolume prober unit tests. 2017-08-31 16:50:02 -07:00
probe_test.go Added basic Flexvolume dynamic plugin discovery e2e test; added Flexvolume prober unit tests. 2017-08-31 16:50:02 -07:00
unmounter-defaults.go
unmounter.go Allow unmounting bind-mounted directories. 2017-07-24 13:33:10 +02:00
unmounter_test.go
util.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
volume.go Pass pod metadata to flex plugin 2017-05-18 00:49:18 -04:00