Change SCSI device removal backoff rate
This patch updates the backoff rate for looking for a removal of a SCSI device. Some CI's are failing to detect the removal of the device within the current 3 retries with a backoff of 1 second per wait. Change-Id: I7af08563ef496e29394ade58d6ff074455063c13
This commit is contained in:
parent
d99fb09ee3
commit
a8587dc6e7
|
@ -70,7 +70,7 @@ class LinuxSCSI(executor.Executor):
|
|||
self.echo_scsi_command(path, "1")
|
||||
|
||||
@utils.retry(exceptions=exception.VolumePathNotRemoved, retries=3,
|
||||
backoff_rate=1)
|
||||
backoff_rate=2)
|
||||
def wait_for_volume_removal(self, volume_path):
|
||||
"""This is used to ensure that volumes are gone."""
|
||||
LOG.debug("Checking to see if SCSI volume %s has been removed.",
|
||||
|
|
Loading…
Reference in New Issue