From 9ce7cdbaeb73031d841cb0943ca1812b149d1c19 Mon Sep 17 00:00:00 2001 From: John Griffith Date: Tue, 16 Jul 2013 18:27:19 -0600 Subject: [PATCH] Increase timeout period for clone volume. Current timeout value for clone volume in the SolidFire driver is 20 seconds, this is fine in many cases however there seems to be a number of customers doing clones of volumes >= 400G. A populated 400G volume is taking upwards of 35 seconds to clone in some cases resulting in failure. There's no reason not to bump this timeout value up significantly to a worst case scenario (ie multi-terrabyte volume). Fixes bug: 1202007 Change-Id: I98c399f5d647e14f031018f7fc1cc43bb0d94c84 --- cinder/volume/drivers/solidfire.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/drivers/solidfire.py b/cinder/volume/drivers/solidfire.py index b35d37ac2..6ae7803bb 100644 --- a/cinder/volume/drivers/solidfire.py +++ b/cinder/volume/drivers/solidfire.py @@ -288,7 +288,7 @@ class SolidFire(SanISCSIDriver): found_volume = False iteration_count = 0 - while not found_volume and iteration_count < 10: + while not found_volume and iteration_count < 600: volume_list = self._get_volumes_by_sfaccount( sfaccount['accountID']) iqn = None -- 2.45.2