kubernetes/pkg/volume
Kubernetes Submit Queue fcf183dcaa Merge pull request #46239 from mtanino/issue/45394
Automatic merge from submit-queue

Log out from multiple target portals when using iscsi storage plugin

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

When using iscsi storage with multiple target portal (TP) addresses
and multipathing the volume manager logs on to the IQN for all
portal addresses, but when a pod gets destroyed the volume manager
only logs out for the primary TP and sessions for another TPs are
always remained.

This patch adds mount points for all TPs, and then log out from all
TPs when a pod is destroyed. If a TP is referred from another pods,
the connection will be remained as usual.



**Which issue this PR fixes** 
fixes #45394

**Special notes for your reviewer**:

**Release note**:

```
NONE
```
2017-06-02 23:27:14 -07:00
..
aws_ebs Add createdby annotation for rbd and quobyte and make dynamical createdby key const 2017-05-26 16:55:11 +08:00
azure_dd Add createdby annotation for rbd and quobyte and make dynamical createdby key const 2017-05-26 16:55:11 +08:00
azure_file Add createdby annotation for rbd and quobyte and make dynamical createdby key const 2017-05-26 16:55:11 +08:00
cephfs Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
cinder Wait for detach operation to complete 2017-05-31 07:52:15 +08:00
configmap Migrate kubelet configmap management logic to an interface 2017-05-31 10:39:36 +02:00
downwardapi Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
empty_dir Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
fc Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
flexvolume Pass pod metadata to flex plugin 2017-05-18 00:49:18 -04:00
flocker Add createdby annotation for rbd and quobyte and make dynamical createdby key const 2017-05-26 16:55:11 +08:00
gce_pd Add createdby annotation for rbd and quobyte and make dynamical createdby key const 2017-05-26 16:55:11 +08:00
git_repo Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
glusterfs Remove glusterfs fuse client mount library version check 2017-05-30 14:13:25 +05:30
host_path remove redundant carriage return (cont'd) 2017-05-30 16:29:21 +08:00
iscsi Log out from multiple portals with iscsi storage plugin 2017-05-31 16:53:47 -04:00
local Address review comments 2017-05-26 11:48:31 -07:00
nfs nfs.go: cleancode err 2017-05-06 19:06:27 +08:00
photon_pd Add createdby annotation for rbd and quobyte and make dynamical createdby key const 2017-05-26 16:55:11 +08:00
portworx Add createdby annotation for rbd and quobyte and make dynamical createdby key const 2017-05-26 16:55:11 +08:00
projected Migrate kubelet configmap management logic to an interface 2017-05-31 10:39:36 +02:00
quobyte Add createdby annotation for rbd and quobyte and make dynamical createdby key const 2017-05-26 16:55:11 +08:00
rbd Add createdby annotation for rbd and quobyte and make dynamical createdby key const 2017-05-26 16:55:11 +08:00
scaleio Add createdby annotation for rbd and quobyte and make dynamical createdby key const 2017-05-26 16:55:11 +08:00
secret Migrate kubelet configmap management logic to an interface 2017-05-31 10:39:36 +02:00
testing Migrate kubelet configmap management logic to an interface 2017-05-31 10:39:36 +02:00
util Merge pull request #44897 from msau42/local-storage-plugin 2017-05-30 23:20:02 -07:00
validation Define const annotation variable once 2017-04-24 11:54:21 +08:00
vsphere_volume Add createdby annotation for rbd and quobyte and make dynamical createdby key const 2017-05-26 16:55:11 +08:00
BUILD Local volume plugin 2017-05-22 14:44:51 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
metrics_cached.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics_du.go add volume timestamps 2017-03-02 15:01:59 -08:00
metrics_du_test.go add volume timestamps 2017-03-02 15:01:59 -08:00
metrics_errors.go Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
metrics_nil.go Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
metrics_nil_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics_statfs.go add volume timestamps 2017-03-02 15:01:59 -08:00
metrics_statfs_test.go add volume timestamps 2017-03-02 15:01:59 -08:00
OWNERS Merge pull request #45295 from rootfs/vol-owner 2017-05-09 04:13:00 -07:00
plugins.go Migrate kubelet configmap management logic to an interface 2017-05-31 10:39:36 +02:00
plugins_test.go Impement bulk polling of volumes 2017-03-02 14:59:59 -05:00
util.go Added func ValidateZone 2017-05-24 10:48:10 +02:00
util_test.go Added func ValidateZone 2017-05-24 10:48:10 +02:00
volume.go Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
volume_linux.go Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
volume_unsupported.go Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00