From a675bc620295cbff900a706800ef5d4fbd81e5eb Mon Sep 17 00:00:00 2001 From: micafer Date: Wed, 8 Nov 2017 16:09:31 +0100 Subject: [PATCH] Decrease detach volume timeout --- IM/connectors/OCCI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IM/connectors/OCCI.py b/IM/connectors/OCCI.py index bb59bd26e..00f60aaa0 100644 --- a/IM/connectors/OCCI.py +++ b/IM/connectors/OCCI.py @@ -680,7 +680,7 @@ def create_volume(self, size, name, auth_data): self.log_exception("Error creating volume") return False, str(ex) - def detach_volume(self, volume, auth_data, timeout=180, delay=5): + def detach_volume(self, volume, auth_data, timeout=90, delay=5): auth = self.get_auth_header(auth_data) headers = {'Accept': 'text/plain', 'Connection': 'close'} if auth: