From: Hahyun Date: Tue, 31 Mar 2015 00:31:00 +0000 (+0900) Subject: Fix wrong command for _rescan_multipath X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=4f887bf630f8de6c1d81d9b936a054a8af6efff6;p=openstack-build%2Fcinder-build.git 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 --- diff --git a/.mailmap b/.mailmap index 93dd4409a..f1a4bb40c 100644 --- a/.mailmap +++ b/.mailmap @@ -28,6 +28,7 @@ + diff --git a/cinder/brick/initiator/connector.py b/cinder/brick/initiator/connector.py index ba469d622..180a68e35 100644 --- a/cinder/brick/initiator/connector.py +++ b/cinder/brick/initiator/connector.py @@ -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):