• 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
.github Loading commit data...
Godeps Loading commit data...
api Loading commit data...
build-tools Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
contrib Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
staging Loading commit data...
test Loading commit data...
third_party Loading commit data...
vendor Loading commit data...
www Loading commit data...
.generated_docs Loading commit data...
.gitignore Loading commit data...
BUILD Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIB.md Loading commit data...
CONTRIBUTING.md Loading commit data...
DESIGN.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
WORKSPACE Loading commit data...
code-of-conduct.md Loading commit data...
labels.yaml Loading commit data...