From: John Griffith Date: Wed, 17 Jul 2013 00:27:19 +0000 (-0600) Subject: Increase timeout period for clone volume. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9ce7cdbaeb73031d841cb0943ca1812b149d1c19;p=openstack-build%2Fcinder-build.git 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 --- 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