← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1362916] [NEW] _rescan_multipath construct wrong parameter for “multipath -r”

 

Public bug reported:

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])"

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: libvirt volume

-- 
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):
  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


Follow ups

References