← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1466444] Re: multipath device action incorrectly being parsed as the device name

 

** Changed in: os-brick
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1466444

Title:
  multipath device action incorrectly being parsed as the device name

Status in OpenStack Compute (nova):
  In Progress
Status in os-brick:
  Fix Released

Bug description:
  multipath device action incorrectly being parsed as the device name.

  The first word on the first line of `multipath -l $path` is currently
  being used as the name of a given multipath device.

  https://github.com/openstack/nova/blob/master/nova/storage/linuxscsi.py#L118
  https://github.com/openstack/os-brick/blob/master/os_brick/initiator/linuxscsi.py#L145

  This however can be an `action:` string when the device is being
  created,  reloaded, resized etc. [1][2][3]

  [1] https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/DM_Multipath/MPIO_output.html
  [2] http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=libmultipath/print.c;h=5d63ed34d2a8816a5e287bdeb1bd90cdb026bb9e;hb=HEAD#l929
  [3] http://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=libmultipath/configure.h;h=c014b5533226d9a56571f87b9123de91c5ff1d2f;hb=HEAD

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1466444/+subscriptions


References