k3s/pkg/cloudprovider
Kubernetes Submit Queue 3fe8db8651 Merge pull request #33270 from hpcloud/bug/33128
Automatic merge from submit-queue

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-03 07:16:49 -07:00
..
providers Merge pull request #33270 from hpcloud/bug/33128 2016-11-03 07:16:49 -07:00
BUILD autogenerated 2016-10-21 17:32:32 -07:00
OWNERS update pkg/cloudprovider OWNERS to spread the load 2016-09-08 15:13:21 -07:00
cloud.go Use strongly-typed types.NodeName for a node name 2016-09-27 10:47:31 -04:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
plugins.go kubeadm: refactor config 2016-10-03 14:44:18 -07:00