← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1362916] Re: _rescan_multipath construct wrong parameter for "multipath -r"

 

** Also affects: nova/icehouse
   Importance: Undecided
       Status: New

-- 
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/1362916

Title:
  _rescan_multipath construct wrong parameter for "multipath -r"

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) icehouse series:
  New

Bug description:
  At https://github.com/openstack/nova/blob/master/nova/virt/libvirt/volume.py#L590, the purpose of "self._run_multipath('-r', check_exit_code=[0, 1, 21]") is to setup a command to reconstruct multipath devices.
  But the result of it is "multipath - r", not the right format "multipath -r".

  I think brackets is missed for '-r', it should be modified to
  "self._run_multipath(['-r'], check_exit_code=[0, 1, 21])"

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


References