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
This commit is contained in:
Avishay Traeger
2013-03-14 13:44:19 +02:00
parent 2d84a97df2
commit 1772bd15f0

View File

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