commit b56ca528dd6a6644992cfc818fad1140b1ab22c2
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.
Closes-bug: #1585940
(cherry picked from commit 30f4fc763ea5c7298cd51398fa7464524531140b)
Change-Id: I1177d846a9f6f28b2276aae2ff91af9d4ea5849e
Reviewed: https:/ /review. openstack. org/391225 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=b56ca528dd6 a6644992cfc818f ad1140b1ab22c2
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit b56ca528dd6a664 4992cfc818fad11 40b1ab22c2
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.
Closes-bug: #1585940 98cd51398fa7464 524531140b) 8b2276aae2ff91a f9d4ea5849e
(cherry picked from commit 30f4fc763ea5c72
Change-Id: I1177d846a9f6f2