k3s/pkg/volume/iscsi
Kubernetes Submit Queue 855c5e0e93 Merge pull request #51628 from jsafrane/fix-iscsi-attach
Automatic merge from submit-queue (batch tested with PRs 51628, 51637, 51490, 51279, 51302)

Fix iSCSI WaitForAttach not mounting a volume

WaitForAttach failed consistently with this error:
```
Heuristic determination of mount point failed:stat /var/lib/kubelet/plugins/kubernetes.io/iscsi/iface-default/10.128.0.3:3260-iqn.2003-01.org.linux-iscsi.f21.x8664:sn.4b0aae584f7c-lun-0: no such file or directory
```

We should ignore "no such file or directory" eror, the directory is created just few lines below.

Fixes: #51625



**Release note**:

```release-note
NONE
```

/sig storage
/assign @mtanino
2017-09-01 00:11:12 -07:00
..
BUILD Support iscsi volume attach and detach 2017-08-26 17:23:47 -04:00
OWNERS remove deads2k from volume reviewer 2017-07-25 08:52:25 -04:00
attacher.go Support iscsi volume attach and detach 2017-08-26 17:23:47 -04:00
disk_manager.go Merge pull request #51361 from yastij/iscsi-handle-failedMount 2017-08-30 03:59:30 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
iscsi.go Support iscsi volume attach and detach 2017-08-26 17:23:47 -04:00
iscsi_test.go Support iscsi volume attach and detach 2017-08-26 17:23:47 -04:00
iscsi_util.go Fix iSCSI WaitForAttach not mounting a volume 2017-08-30 15:34:49 +02:00
iscsi_util_test.go Support iscsi volume attach and detach 2017-08-26 17:23:47 -04:00