From 1772bd15f0def2e8e041fad417bd6c04be998a96 Mon Sep 17 00:00:00 2001 From: Avishay Traeger Date: Thu, 14 Mar 2013 13:44:19 +0200 Subject: [PATCH] Fix ISCSIDriver rescan. Cinder fails to rescan iSCSI targets after running copy_image_to_volume or copy_volume_to_image with the generic iSCSI implementation, due to a missing comma. Change-Id: I726e8da1f0221e47bae2593e03bc88a47c487814 Fixes: bug 1144591 --- cinder/volume/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/driver.py b/cinder/volume/driver.py index d293985d8..fba35164b 100644 --- a/cinder/volume/driver.py +++ b/cinder/volume/driver.py @@ -439,7 +439,7 @@ class ISCSIDriver(VolumeDriver): locals()) # The rescan isn't documented as being necessary(?), but it helps - self._run_iscsiadm(iscsi_properties, ("--rescan")) + self._run_iscsiadm(iscsi_properties, ("--rescan",)) tries = tries + 1 if not os.path.exists(host_device): -- 2.45.2