From 2712b42b3f130b75b939087447cdfc24307e3ff3 Mon Sep 17 00:00:00 2001 From: John Griffith Date: Fri, 14 Nov 2014 11:26:07 -0700 Subject: [PATCH] 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 --- 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 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() -- 2.45.2