]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Bump Req timeout to 30 seconds in SolidFire Driver
authorJohn Griffith <john.griffith8@gmail.com>
Fri, 14 Nov 2014 18:26:07 +0000 (11:26 -0700)
committerJohn Griffith <john.griffith8@gmail.com>
Fri, 14 Nov 2014 18:26:07 +0000 (11:26 -0700)
Local SolidFire CI system seems to have various networking
disconnects during runs.  This appears to be a problem with
latencies in our lab.

Currently have resources working on this, but in the meantime
bumping the timeout value in requests to see if we can address
it that way and get CI running again.  We'll either get to root
cause in our network or add this as a formal config option later
that will be used only for SolidFire CI system.

Change-Id: I0a13ac2e60c7053fc935922bfb28127ade858392

cinder/volume/drivers/solidfire.py

index fe228133b7f394aa7d66c158eb3ef80566e38131..fac5167b4e998893250071cc4190ccdd399154d0 100644 (file)
@@ -166,7 +166,7 @@ class SolidFireDriver(SanISCSIDriver):
                             data=json.dumps(payload),
                             auth=(endpoint['login'], endpoint['passwd']),
                             verify=False,
-                            timeout=2)
+                            timeout=30)
 
         response = req.json()
         req.close()