Blame SOURCES/bz1787178-2-fence_vmware_soap-login-timeout-15s.patch
|
|
776db4 |
From 2d4b3ea47fa7a9a301d34cefc8f279cae7df4afd Mon Sep 17 00:00:00 2001
|
|
|
776db4 |
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
|
|
|
776db4 |
Date: Thu, 26 Jan 2023 13:19:16 +0100
|
|
|
776db4 |
Subject: [PATCH] fence_vmware_soap: set login_timeout lower than default
|
|
|
776db4 |
pcmk_monitor_timeout (20s) to remove tmp dirs on fail
|
|
|
776db4 |
|
|
|
776db4 |
---
|
|
|
776db4 |
agents/vmware_soap/fence_vmware_soap.py | 2 +-
|
|
|
776db4 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
776db4 |
|
|
|
776db4 |
diff --git a/agents/vmware_soap/fence_vmware_soap.py b/agents/vmware_soap/fence_vmware_soap.py
|
|
|
776db4 |
index b1d27a9fb..4a4ec1780 100644
|
|
|
776db4 |
--- a/agents/vmware_soap/fence_vmware_soap.py
|
|
|
776db4 |
+++ b/agents/vmware_soap/fence_vmware_soap.py
|
|
|
776db4 |
@@ -57,7 +57,7 @@ def soap_login(options):
|
|
|
776db4 |
|
|
|
776db4 |
try:
|
|
|
776db4 |
headers = {"Content-Type" : "text/xml;charset=UTF-8", "SOAPAction" : "vim25"}
|
|
|
776db4 |
- login_timeout = int(options["--login-timeout"]) or 60
|
|
|
776db4 |
+ login_timeout = int(options["--login-timeout"]) or 15
|
|
|
776db4 |
conn = Client(url + "/vimService.wsdl", location=url, transport=RequestsTransport(verify=verify), headers=headers, timeout=login_timeout)
|
|
|
776db4 |
|
|
|
776db4 |
mo_ServiceInstance = Property('ServiceInstance')
|