kubernetes/pkg/volume
Kubernetes Submit Queue 1dfe2e8bff
Merge pull request #67140 from NetApp/multipath-race-fix
Automatic merge from submit-queue (batch tested with PRs 67017, 67190, 67110, 67140, 66873). 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>.

Add wait loop for multipath devices to appear

It takes a variable amount of time for the multipath daemon
to create /dev/dm-XX in response to new LUNs being discovered.
The old iscsi_util code only discovered the multipath device
if it was created quickly enough, but in a significant number
of cases, kubelet would grab one of the individual paths and
put a filesystem it on before multipathd could construct a
multipath device.

This change waits for the multipath device to get created for
up to 10 seconds, but only if the PV actually had more than
one portal.

fixes #60894

```release-note
Dynamic provisions that create iSCSI PVs can ensure that multipath is used by specifying 2 or more target portals in the PV, which will cause kubelet to wait up to 10 seconds for the multipath device. PVs with just one portal continue to work as before, with kubelet not waiting for the multipath device and just using the first disk it finds.
```
2018-08-10 17:01:16 -07:00
..
aws_ebs Merge pull request #67184 from linyouchong/pr-0809 2018-08-09 12:18:21 -07:00
azure_dd Parse zoned first before using it 2018-08-09 10:23:53 +08:00
azure_file Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
cephfs Add UT Test to cephfs 2018-07-25 10:40:16 +08:00
cinder Avoid overflowing int64 in RoundUpSize and return error if overflow int 2018-07-23 13:48:45 -04:00
configmap Remove unused io util writer & volume host GetWriter() 2018-07-09 14:09:48 -07:00
csi CSI plugin now calls NodeGetInfo() to get driver's node ID 2018-08-08 13:15:43 -07:00
downwardapi Stop sorting downward api file lines 2018-07-09 15:44:03 -04:00
empty_dir Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
fc kubernetes: fix printf format errors 2018-07-11 00:10:15 +03:00
flexvolume Implement fixes for flexvolume when kubelet is contanerized 2018-07-03 14:04:52 -04:00
flocker Avoid overflowing int64 in RoundUpSize and return error if overflow int 2018-07-23 13:48:45 -04:00
gce_pd Merge pull request #66832 from msau42/udev 2018-08-01 17:13:03 -07:00
git_repo Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
glusterfs Provide an option to supply log-file mount option for gluster plugin. 2018-08-02 22:09:49 +05:30
host_path fixformat 2018-07-14 10:34:21 +08:00
iscsi Add wait loop for multipath devices to appear 2018-08-08 00:44:45 -04:00
local Merge pull request #65310 from wenlxie/upstream.master.fixlocalvolumevmnotfound 2018-06-29 20:14:12 -07:00
nfs Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
photon_pd Avoid overflowing int64 in RoundUpSize and return error if overflow int 2018-07-23 13:48:45 -04:00
portworx kubernetes: fix printf format errors 2018-07-11 00:10:15 +03:00
projected Merge pull request #65429 from WanLinghao/projected_error_return_fix 2018-07-16 13:52:54 -07:00
quobyte Merge pull request #66202 from tanshanshan/fixformat 2018-07-24 21:24:30 -07:00
rbd Merge pull request #66332 from jianglingxia/jlx-k8s-201807181704 2018-08-10 14:13:19 -07:00
scaleio Check presence of sioDiskIDPath before reading it 2018-07-17 09:55:46 -07:00
secret Remove unused io util writer & volume host GetWriter() 2018-07-09 14:09:48 -07:00
storageos Avoid overflowing int64 in RoundUpSize and return error if overflow int 2018-07-23 13:48:45 -04:00
testing extend FakeVolumePlugin to implement VolumePluginWithAttachLimits interface 2018-07-16 09:09:48 -07:00
util Add DynamicProvisioningScheduling support for EBS 2018-08-01 09:00:03 -07:00
validation Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
vsphere_volume Fixed vsphere volume plugin unsafe type cast; added unit tests 2018-08-09 16:15:59 -07:00
BUILD Remove unused io util writer & volume host GetWriter() 2018-07-09 14:09:48 -07:00
doc.go
metrics_cached.go
metrics_du.go Rename Du() to DiskUsage() for more expressive 2018-05-22 10:52:06 +08:00
metrics_du_test.go
metrics_errors.go
metrics_nil.go
metrics_nil_test.go
metrics_statfs.go update import 2018-02-27 20:23:35 +08:00
metrics_statfs_test.go
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
plugins.go Remove unused io util writer & volume host GetWriter() 2018-07-09 14:09:48 -07:00
plugins_test.go correct the expected value in plugintest 2018-02-25 15:14:55 +08:00
volume.go Merge pull request #63193 from lichuqiang/provision_0425 2018-06-05 15:31:58 -07:00
volume_linux.go Add more volume types in e2e and fix part of them. 2018-05-02 10:31:42 +08:00
volume_unsupported.go Add more volume types in e2e and fix part of them. 2018-05-02 10:31:42 +08:00