k3s/pkg
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
..
admission autogenerated 2016-10-21 17:32:32 -07:00
api Replace apps/v1alpha1 with apps/v1beta1 and manually remove generated apps/v1alpha1 files 2016-11-02 15:16:23 -07:00
apimachinery autogenerated 2016-10-21 17:32:32 -07:00
apis Merge pull request #35821 from vishh/gci-mounter-scope 2016-11-03 04:32:19 -07:00
apiserver Merge pull request #35840 from caesarxuchao/hide-new-versions 2016-11-02 04:49:56 -07:00
auth fix tests by declaring testdata 2016-10-21 17:32:32 -07:00
capabilities autogenerated 2016-10-21 17:32:32 -07:00
client (Auto-gen) Run hack/update-all & update-bazel & update linted packages 2016-11-02 15:16:41 -07:00
cloudprovider Merge pull request #33270 from hpcloud/bug/33128 2016-11-03 07:16:49 -07:00
controller Merge pull request #35739 from foxish/migrating-the-annotation 2016-11-02 09:58:00 -07:00
conversion autogenerated 2016-10-21 17:32:32 -07:00
credentialprovider Merge pull request #35013 from justinsb/us_east_2 2016-11-01 18:47:07 -07:00
dns autogenerated 2016-10-24 14:47:27 -07:00
fieldpath autogenerated 2016-10-21 17:32:32 -07:00
fields autogenerated 2016-10-21 17:32:32 -07:00
generated Merge pull request #35821 from vishh/gci-mounter-scope 2016-11-03 04:32:19 -07:00
genericapiserver Add BindNetwork to GenericApiServer.Config 2016-11-02 08:27:37 +01:00
healthz autogenerated 2016-10-21 17:32:32 -07:00
httplog autogenerated 2016-10-21 17:32:32 -07:00
hyperkube autogenerated 2016-10-21 17:32:32 -07:00
kubectl Merge pull request #30091 from rootfs/azure-storage 2016-11-01 17:27:14 -07:00
kubelet Merge pull request #31546 from derekwaynecarr/systemd-pod-cgroups 2016-11-03 03:56:56 -07:00
kubemark Revert "Adding a root filesystem override for kubelet mounter" 2016-11-02 15:18:09 -07:00
labels autogenerated 2016-10-21 17:32:32 -07:00
master (Auto-gen) Run hack/update-all & update-bazel & update linted packages 2016-11-02 15:16:41 -07:00
metrics autogenerated 2016-10-24 14:47:27 -07:00
probe autogenerated 2016-10-21 17:32:32 -07:00
proxy Log portal IP in error info. 2016-11-01 05:26:16 -04:00
quota quota controller uses informers if available for pod calculation 2016-10-31 11:38:22 -04:00
registry (Auto-gen) Run hack/update-all & update-bazel & update linted packages 2016-11-02 15:16:41 -07:00
routes autogenerated 2016-10-21 17:32:32 -07:00
runtime Unversioned types should decode no matter what the requested version is 2016-11-01 22:55:59 -04:00
security fix tests by declaring testdata 2016-10-21 17:32:32 -07:00
securitycontext autogenerated 2016-10-21 17:32:32 -07:00
selection autogenerated 2016-10-21 17:32:32 -07:00
serviceaccount autogenerated 2016-10-21 17:32:32 -07:00
ssh Merge pull request #35323 from mikkeloscar/decode-pem 2016-10-27 02:59:29 -07:00
storage Increase etcd3 compaction frequency 2016-10-31 08:40:13 +01:00
types autogenerated 2016-10-21 17:32:32 -07:00
util Revert "Adding a root filesystem override for kubelet mounter" 2016-11-02 15:18:09 -07:00
version rename build/ to build-tools/ 2016-10-24 14:41:56 -07:00
volume Don't rely on device name provided by Cinder 2016-11-02 18:48:11 +01:00
watch move watch.ListWatchUntil to its own package to avoid future import cycle 2016-10-30 13:14:20 -07:00
OWNERS