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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user