[Bug 1585940] Fix merged to os-brick (stable/mitaka)

OpenStack Infra 1585940 at bugs.launchpad.net
Fri Nov 11 13:37:06 UTC 2016


Reviewed:  https://review.openstack.org/391225
Committed: https://git.openstack.org/cgit/openstack/os-brick/commit/?id=b56ca528dd6a6644992cfc818fad1140b1ab22c2
Submitter: Jenkins
Branch:    stable/mitaka

commit b56ca528dd6a6644992cfc818fad1140b1ab22c2
Author: Peter Wang <peter.wang13 at emc.com>
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

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-os-brick in Ubuntu.
https://bugs.launchpad.net/bugs/1585940

Title:
  [SRU] ERROR "can't get udev device" when iscsi multipath enabled

Status in Ubuntu Cloud Archive:
  Invalid
Status in Ubuntu Cloud Archive mitaka series:
  Fix Committed
Status in os-brick:
  Fix Released
Status in python-os-brick package in Ubuntu:
  Invalid
Status in python-os-brick source package in Xenial:
  Fix Committed

Bug description:
  SUMMARY:
  Wrong path used when detecting multipath id

  ANALYSE:
  when 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 detect multipath id via 'multipath -l <device path>'

  but this cause error:
  : can't get udev device

  actually, we should use its real path like /dev/sdb, dev/sda to detect
  the multipath id.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1585940/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list