kubernetes/pkg/volume
Kiall Mac Innes ce8eda94df Don't rely on device name provided by Cinder
See issue #33128

We can't rely on the device name provided by Cinder, and thus must perform
detection based on the drive serial number (aka It's cinder ID) on the
kubelet itself.

This patch re-works the cinder volume attacher to ignore the supplied
deviceName, and instead defer to the pre-existing GetDevicePath method to
discover the device path based on it's serial number and /dev/disk/by-id
mapping.

This new behavior is controller by a config option, as falling back
to the cinder value when we can't discover a device would risk devices
not showing up, falling back to cinder's guess, and detecting the wrong
disk as attached.
2016-11-02 18:48:11 +01:00
..
aws_ebs Add sync state loop in master's volume reconciler 2016-10-28 09:24:53 -07:00
azure_dd Merge pull request #30091 from rootfs/azure-storage 2016-11-01 17:27:14 -07:00
azure_file autogenerated 2016-10-21 17:32:32 -07:00
cephfs autogenerated 2016-10-21 17:32:32 -07:00
cinder Don't rely on device name provided by Cinder 2016-11-02 18:48:11 +01:00
configmap autogenerated 2016-10-21 17:32:32 -07:00
downwardapi autogenerated 2016-10-21 17:32:32 -07:00
empty_dir Update bazel configurations 2016-10-26 10:39:51 -04:00
fc autogenerated 2016-10-21 17:32:32 -07:00
flexvolume autogenerated 2016-10-21 17:32:32 -07:00
flocker autogenerated 2016-10-21 17:32:32 -07:00
gce_pd Add sync state loop in master's volume reconciler 2016-10-28 09:24:53 -07:00
git_repo autogenerated 2016-10-21 17:32:32 -07:00
glusterfs Merge pull request #35285 from humblec/glusterfs-stale-volumes 2016-10-31 04:06:43 -07:00
host_path autogenerated 2016-10-21 17:32:32 -07:00
iscsi autogenerated 2016-10-21 17:32:32 -07:00
nfs autogenerated 2016-10-21 17:32:32 -07:00
quobyte Require PV provisioner secrets to match type 2016-10-27 02:45:05 -04:00
rbd Require PV provisioner secrets to match type 2016-10-27 02:45:05 -04:00
secret autogenerated 2016-10-21 17:32:32 -07:00
testing Add sync state loop in master's volume reconciler 2016-10-28 09:24:53 -07:00
util Merge pull request #35675 from liggitt/pv-secrets 2016-10-30 02:41:05 -07:00
vsphere_volume Add sync state loop in master's volume reconciler 2016-10-28 09:24:53 -07:00
BUILD autogenerated 2016-10-21 17:32:32 -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_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics_du.go Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
metrics_errors.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_nil.go Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
metrics_statfs.go Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
OWNERS Update pkg/volume/OWNERS to include Jan Safranek 2016-10-20 12:21:06 -05:00
plugins_test.go Print/log pointers of structs with %#v instead of %+v 2016-08-01 22:27:56 +02:00
plugins.go Pass whole PVC to provisioner plugin 2016-10-12 12:22:01 +02:00
util_test.go Send recycle events from pod to pv. 2016-09-08 12:57:57 +02:00
util.go Rename PetSet API to StatefulSet 2016-10-27 17:25:10 -07:00
volume_linux.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
volume_unsupported.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
volume.go Add sync state loop in master's volume reconciler 2016-10-28 09:24:53 -07:00