]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix multipath device discovery when UFN is enabled.
authorLee Yarwood <lyarwood@redhat.com>
Thu, 2 Apr 2015 14:46:38 +0000 (15:46 +0100)
committerLee Yarwood <lyarwood@redhat.com>
Thu, 2 Apr 2015 15:39:57 +0000 (16:39 +0100)
commit2fe4de571e925e26c77bffbda908f16e375b8a83
tree30096960c8da21e353affd1d52c2c627ab61b016
parentebe3234d9efc949979dd8097ab25e70b6c5ff09b
Fix multipath device discovery when UFN is enabled.

This currently returns an invalid path of `/dev/mapper/${WWID}`
when UFN is enabled leading to failures later on when we attempt to
use the device.

The output of `multipath -l ${path}` or `multipath -l ${wwid}`
should always list the correct device identifier to use with this
path as the first word on the first line.

Closes-Bug: 1401799
Change-Id: Ib371b699fadcbbbb666e08eb0124c442e94a55e8
cinder/brick/initiator/linuxscsi.py
cinder/tests/brick/test_brick_linuxscsi.py