From 4f887bf630f8de6c1d81d9b936a054a8af6efff6 Mon Sep 17 00:00:00 2001 From: Hahyun Date: Tue, 31 Mar 2015 09:31:00 +0900 Subject: [PATCH] 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 --- .mailmap | 1 + cinder/brick/initiator/connector.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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): -- 2.45.2