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
This commit is contained in:
Hahyun 2015-03-31 09:31:00 +09:00
parent 00ca77befe
commit 4f887bf630
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

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