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

Edward Hope-Morley edward.hope-morley at canonical.com
Thu Nov 24 14:55:55 UTC 2016


Verified on xenial mitaka (http://pastebin.ubuntu.com/23527553/).

** Description changed:

+ [Impact]
+ 
+  * Fallback device detection for multipath connections is currently
+ broken.
+ 
+ [Test Case]
+ 
+  * Enable cinder/nova multipath but do not make multiple paths available
+ (such that are no /dev/disk/path/by-id/dm* devices)
+ 
+  * Create a cinder volume and attach to Nova instance
+ 
+  * Check that volume was attached successfully and that /var/log/nova
+ /nova-compute.log does not display the error mentioned below.
+ 
+ [Regression Potential]
+ 
+  * None
+ 
+ 
  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.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
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:
  [Impact]

   * Fallback device detection for multipath connections is currently
  broken.

  [Test Case]

   * Enable cinder/nova multipath but do not make multiple paths
  available (such that are no /dev/disk/path/by-id/dm* devices)

   * Create a cinder volume and attach to Nova instance

   * Check that volume was attached successfully and that /var/log/nova
  /nova-compute.log does not display the error mentioned below.

  [Regression Potential]

   * None

  
  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