]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Increase timeout period for clone volume.
authorJohn Griffith <john.griffith@solidfire.com>
Wed, 17 Jul 2013 00:27:19 +0000 (18:27 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Wed, 17 Jul 2013 00:30:07 +0000 (18:30 -0600)
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

index b35d37ac286e19f5e99f09b75fe98cfa8bc310d5..6ae7803bbd9aecf74b24379635d36e329bcc385f 100644 (file)
@@ -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