Fix wrong command for _rescan_multipath

The _run_multipath command is wrong, it should be 'multipath -r'
not 'multipath - r'.

Closes-bug: 1437794

Change-Id: I9a40265ba2a53e024626829f892b523672160e07
changes/24/169124/3
Hahyun 8 years ago
parent 00ca77befe
commit 4f887bf630

@ -28,6 +28,7 @@
<ewan.mellor@citrix.com> <emellor@silver>
<gareth@unitedstack.com> <academicgareth@gmail.com>
<ghe@debian.org> <ghe.rivero@gmail.com>
<hfamily15@gmail.com> <hahyun0523@lgcns.com>
<itoumsn@nttdata.co.jp> <itoumsn@shayol>
<jake@ansolabs.com> <jake@markupisart.com>
<jake@ansolabs.com> <admin@jakedahn.com>

@ -645,7 +645,7 @@ class ISCSIConnector(InitiatorConnector):
check_exit_code=[0, 1, 21, 255])
def _rescan_multipath(self):
self._run_multipath('-r', check_exit_code=[0, 1, 21])
self._run_multipath(['-r'], check_exit_code=[0, 1, 21])
class ISERConnector(ISCSIConnector):

Loading…
Cancel
Save