Blame SOURCES/bz1787178-2-fence_vmware_soap-login-timeout-50s.patch
|
|
6ea3d6 |
From 8f71784c66e812f31fdc3e2523bd9abcc5d7cdcb Mon Sep 17 00:00:00 2001
|
|
|
6ea3d6 |
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
|
|
|
6ea3d6 |
Date: Fri, 11 Nov 2022 13:53:24 +0100
|
|
|
6ea3d6 |
Subject: [PATCH] fence_vmware_soap: set default login timeout less than
|
|
|
6ea3d6 |
Pacemakers default timeout to remove tmp dirs
|
|
|
6ea3d6 |
|
|
|
6ea3d6 |
---
|
|
|
6ea3d6 |
agents/vmware_soap/fence_vmware_soap.py | 2 +-
|
|
|
6ea3d6 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
6ea3d6 |
|
|
|
6ea3d6 |
diff --git a/agents/vmware_soap/fence_vmware_soap.py b/agents/vmware_soap/fence_vmware_soap.py
|
|
|
6ea3d6 |
index 51fb0f147..b1d27a9fb 100644
|
|
|
6ea3d6 |
--- a/agents/vmware_soap/fence_vmware_soap.py
|
|
|
6ea3d6 |
+++ b/agents/vmware_soap/fence_vmware_soap.py
|
|
|
6ea3d6 |
@@ -57,7 +57,7 @@ def soap_login(options):
|
|
|
6ea3d6 |
|
|
|
6ea3d6 |
try:
|
|
|
6ea3d6 |
headers = {"Content-Type" : "text/xml;charset=UTF-8", "SOAPAction" : "vim25"}
|
|
|
6ea3d6 |
- login_timeout = int(options["--login-timeout"]) or 60
|
|
|
6ea3d6 |
+ login_timeout = int(options["--login-timeout"]) or 50
|
|
|
6ea3d6 |
conn = Client(url + "/vimService.wsdl", location=url, transport=RequestsTransport(verify=verify), headers=headers, timeout=login_timeout)
|
|
|
6ea3d6 |
|
|
|
6ea3d6 |
mo_ServiceInstance = Property('ServiceInstance')
|