kubernetes/pkg/volume
Kubernetes Submit Queue f171683242 Merge pull request #44537 from FengyunPan/fix-volume-bug
Automatic merge from submit-queue (batch tested with PRs 45374, 44537, 45739, 44474, 45888)

Fix attach volume to instance repeatedly

1.When volume's status is 'attaching', controllermanager will attach
    it again and return err. So it is necessary to check volume's
    status before attach/detach volume.

   2. When volume's status is 'attaching', its attachments will be None,
    controllermanager can't get device path and make some failed event.
    But it is normal, so don't return err when attachments is None

Fix bug: #44536
2017-05-16 18:10:55 -07:00
..
aws_ebs Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
azure_dd Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
azure_file Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
cephfs Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
cinder Don't return err when volume's status is 'attaching' 2017-05-12 19:53:50 +08:00
configmap Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +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 Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
flocker Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
gce_pd Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
git_repo Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
glusterfs Recreate endpoint/service if it lost in between. 2017-05-16 19:51:21 +05:30
host_path Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
iscsi Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
nfs nfs.go: cleancode err 2017-05-06 19:06:27 +08:00
photon_pd Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
portworx Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
projected Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
quobyte Merge pull request #41799 from johscheuer/fix-quobyte-example 2017-05-08 13:25:22 -07:00
rbd Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
scaleio Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
secret Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
testing Fix reconciler test of attaching volume 2017-05-13 15:19:34 +08:00
util Don't return err when volume's status is 'attaching' 2017-05-12 19:53:50 +08:00
validation Define const annotation variable once 2017-04-24 11:54:21 +08:00
vsphere_volume fix implementation of VolumesAreAttached function 2017-05-10 10:16:13 -07:00
BUILD Remove unused chmod/chown abstractions 2017-04-23 20:25:23 -03: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 Merge pull request #44491 from NickrenREN/volume-MountOptionAnnotation 2017-04-25 12:51:39 -07:00
plugins_test.go Impement bulk polling of volumes 2017-03-02 14:59:59 -05:00
util.go Define const annotation variable once 2017-04-24 11:54:21 +08:00
util_test.go Define const annotation variable once 2017-04-24 11:54:21 +08: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