Page MenuHomePhabricator

Update prepare_cinder_volume to handle attached devices under
Closed, ResolvedPublic

Description

I haven't tested yet but with the scsi driver "block device names switch from /dev/vdX to /dev/sdX" which probably breaks prepare_cinder_volume.

Event Timeline

prepare_cinder_volume turns out to work fine with /dev/sdX devices; the only place that vda was hard-coded was in identifying the root device. The attached patch handles that.

Change 666662 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] prepare_cinder_volume: recognize /dev/sda as a primary volume

https://gerrit.wikimedia.org/r/666662

Change 666662 merged by Andrew Bogott:
[operations/puppet@production] prepare_cinder_volume: recognize /dev/sda as a primary volume

https://gerrit.wikimedia.org/r/666662