commit 30f4fc763ea5c7298cd51398fa7464524531140b
Author: Peter Wang <email address hidden>
Date: Thu Jun 2 01:57:01 2016 +0000
Fix wrong path used in iscsi "multipath -l"
When iSCSI multipath device path was not found via LUN wwn,
os-brick would use device path like below:
/dev/disk/by-path/ip-192.168.3.52:3260-iscsi-iqn.1992-04.com.emc:cx.apm00153906536.b5-lun-155
to detch multipath id via 'multipath -l'.
This causes error: "can't get udev device"
This fix will use path like '/dev/sda' to discover mpath id.
Reviewed: https:/ /review. openstack. org/324248 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=30f4fc763ea 5c7298cd51398fa 7464524531140b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 30f4fc763ea5c72 98cd51398fa7464 524531140b
Author: Peter Wang <email address hidden>
Date: Thu Jun 2 01:57:01 2016 +0000
Fix wrong path used in iscsi "multipath -l"
When iSCSI multipath device path was not found via LUN wwn, disk/by- path/ip- 192.168. 3.52:3260- iscsi-iqn. 1992-04. com.emc: cx.apm001539065 36.b5-lun- 155
os-brick would use device path like below:
/dev/
to detch multipath id via 'multipath -l'.
This causes error: "can't get udev device"
This fix will use path like '/dev/sda' to discover mpath id.
Change-Id: I1177d846a9f6f2 8b2276aae2ff91a f9d4ea5849e
Closes-bug: #1585940