From: John Griffith Date: Fri, 14 Nov 2014 18:26:07 +0000 (-0700) Subject: Bump Req timeout to 30 seconds in SolidFire Driver X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=2712b42b3f130b75b939087447cdfc24307e3ff3;p=openstack-build%2Fcinder-build.git Bump Req timeout to 30 seconds in SolidFire Driver 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 --- diff --git a/cinder/volume/drivers/solidfire.py b/cinder/volume/drivers/solidfire.py index fe228133b..fac5167b4 100644 --- a/cinder/volume/drivers/solidfire.py +++ b/cinder/volume/drivers/solidfire.py @@ -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()