k3s/pkg/volume/fc
Kubernetes Submit Queue a1a441f7b5 Merge pull request #52687 from mtanino/teardown-refactor
Automatic merge from submit-queue (batch tested with PRs 51902, 52718, 52687, 52137, 52697). 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>..

Refactoring and improvements for iSCSI and FC storage plugins

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

This PR makes following changes.

- Simplify volume tearDown path for iSCSI and FC using
  util.UnmountPath().
- Log lastErr during iscsi connection
  If iscsid fails to connect second portal, currently
  the error is ignored silently. The lastErr should be
  logged to find the root cause of problem.
- Remove iscsi plugin directory after iscsi connection
  is successfully closed.

**Which issue this PR fixes** : No related issues.

**Special notes for your reviewer**:

/cc @rootfs @jsafrane 

**Release note**:

```
NONE
```
2017-09-23 19:49:52 -07:00
..
BUILD fibre channel: Remove unused exe interface 2017-08-22 14:28:10 +02:00
OWNERS remove deads2k from volume reviewer 2017-07-25 08:52:25 -04:00
attacher.go WaitForAttach refactoring for iSCSI attacher/detacher 2017-08-26 17:21:34 -04:00
disk_manager.go Refactoring and improvements for iSCSI and FC 2017-09-18 21:33:11 -04:00
doc.go
fc.go Merge pull request #52687 from mtanino/teardown-refactor 2017-09-23 19:49:52 -07:00
fc_test.go Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
fc_util.go Fix FC WaitForAttach not mounting a volume 2017-09-18 22:42:02 -04:00
fc_util_test.go FC plugin: Support WWID for volume identifier 2017-08-10 09:59:31 -04:00