• Kiall Mac Innes's avatar
    Don't rely on device name provided by Cinder · ce8eda94
    Kiall Mac Innes authored
    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.
    ce8eda94
Name
Last commit
Last update
..
aws_ebs Loading commit data...
azure_dd Loading commit data...
azure_file Loading commit data...
cephfs Loading commit data...
cinder Loading commit data...
configmap Loading commit data...
downwardapi Loading commit data...
empty_dir Loading commit data...
fc Loading commit data...
flexvolume Loading commit data...
flocker Loading commit data...
gce_pd Loading commit data...
git_repo Loading commit data...
glusterfs Loading commit data...
host_path Loading commit data...
iscsi Loading commit data...
nfs Loading commit data...
quobyte Loading commit data...
rbd Loading commit data...
secret Loading commit data...
testing Loading commit data...
util Loading commit data...
vsphere_volume Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...
metrics_cached.go Loading commit data...
metrics_du.go Loading commit data...
metrics_du_test.go Loading commit data...
metrics_errors.go Loading commit data...
metrics_nil.go Loading commit data...
metrics_nil_test.go Loading commit data...
metrics_statfs.go Loading commit data...
plugins.go Loading commit data...
plugins_test.go Loading commit data...
util.go Loading commit data...
util_test.go Loading commit data...
volume.go Loading commit data...
volume_linux.go Loading commit data...
volume_unsupported.go Loading commit data...