k3s/pkg/volume
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
..
aws_ebs Merge pull request #51387 from alrs/fix-storageos-swallowed-err 2017-09-13 11:10:24 -07:00
azure_dd Merge pull request #52260 from andyzhangx/azuremounter-issue 2017-09-15 02:00:03 -07:00
azure_file enable azure disk mount on windows node 2017-09-12 01:52:48 +00:00
cephfs Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
cinder Add storageClass.mountOptions and use it in all applicable plugins 2017-08-29 11:37:36 -04:00
configmap Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
downwardapi Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
empty_dir Fix pagesize mount option name 2017-09-12 14:34:39 +02:00
fc Merge pull request #52691 from mtanino/issue/52690 2017-09-20 10:01:42 -07:00
flexvolume Merge pull request #49539 from avagin/flexvol 2017-09-22 21:20:51 -07:00
flocker Merge branch 'fix-aws-ebs-swallowed-errors' into fix-storageos-swallowed-err 2017-08-26 14:45:45 -07:00
gce_pd Merge pull request #51387 from alrs/fix-storageos-swallowed-err 2017-09-13 11:10:24 -07:00
git_repo Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
glusterfs Checking GlusterFS error output https://github.com/kubernetes/kubernetes/issues/50463 2017-09-22 08:31:18 +02:00
host_path Merge pull request #52246 from dixudx/suspect_hostpathtype_nil_ptr 2017-09-20 22:22:45 -07:00
iscsi Merge pull request #51628 from jsafrane/fix-iscsi-attach 2017-09-01 00:11:12 -07:00
local Fix local storage code to follow go style 2017-08-31 22:09:41 +08:00
nfs Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
photon_pd Add storageClass.mountOptions and use it in all applicable plugins 2017-08-29 11:37:36 -04:00
portworx Merge pull request #52132 from portworx/kubelet_weird_output_fix 2017-09-20 14:32:59 -07:00
projected Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
quobyte Add storageClass.mountOptions and use it in all applicable plugins 2017-08-29 11:37:36 -04:00
rbd Merge pull request #51869 from cofyc/fix_persistent_rbd 2017-09-20 07:50:41 -07:00
scaleio ScaleIO - Specify SDC GUID value via node label 2017-09-07 16:44:32 -04:00
secret Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
storageos Merge branch 'fix-aws-ebs-swallowed-errors' into fix-storageos-swallowed-err 2017-08-26 14:45:45 -07:00
testing WaitForAttach refactoring for iSCSI attacher/detacher 2017-08-26 17:21:34 -04:00
util Merge pull request #51387 from alrs/fix-storageos-swallowed-err 2017-09-13 11:10:24 -07:00
validation Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
vsphere_volume Add storageClass.mountOptions and use it in all applicable plugins 2017-08-29 11:37:36 -04:00
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
OWNERS remove deads2k from volume reviewer 2017-07-25 08:52:25 -04:00
doc.go
metrics_cached.go
metrics_du.go
metrics_du_test.go switch from package syscall to x/sys/unix 2017-07-21 12:14:42 +02:00
metrics_errors.go
metrics_nil.go
metrics_nil_test.go
metrics_statfs.go
metrics_statfs_test.go
plugins.go Implement controller for resizing volumes 2017-09-04 09:02:34 +02:00
plugins_test.go Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
util.go Modify VolumeZonePredicate to handle multi-zone PV 2017-09-04 20:13:32 -07:00
util_test.go Modify VolumeZonePredicate to handle multi-zone PV 2017-09-04 20:13:32 -07:00
volume.go WaitForAttach refactoring for iSCSI attacher/detacher 2017-08-26 17:21:34 -04:00
volume_linux.go Fixes cross platform build failure 2017-08-26 09:58:51 -04:00
volume_unsupported.go Fixes cross platform build failure 2017-08-26 09:58:51 -04:00