k3s/pkg/volume/iscsi
Ben Swartzlander 39e52ddae5 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.
2018-08-08 00:44:45 -04:00
..
BUILD Avoid deleted iSCSI LUNs in the kernel 2018-07-24 23:58:19 -04:00
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
attacher.go Avoid deleted iSCSI LUNs in the kernel 2018-07-24 23:58:19 -04:00
disk_manager.go update import 2018-02-27 20:23:35 +08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
iscsi.go Avoid deleted iSCSI LUNs in the kernel 2018-07-24 23:58:19 -04:00
iscsi_test.go FIX the os.Stat() func in volume file/kind bug 2018-02-24 19:31:21 +08:00
iscsi_util.go Add wait loop for multipath devices to appear 2018-08-08 00:44:45 -04:00
iscsi_util_test.go Support iscsi volume attach and detach 2017-08-26 17:23:47 -04:00