• 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 Loading commit data...
azure Loading commit data...
cloudstack Loading commit data...
fake Loading commit data...
gce Loading commit data...
mesos Loading commit data...
openstack Loading commit data...
ovirt Loading commit data...
rackspace Loading commit data...
vsphere Loading commit data...
BUILD Loading commit data...
providers.go Loading commit data...