26 lines
971 B
Diff
26 lines
971 B
Diff
|
From 9b763accb5c4c4a1cf60a19592a4033bcedec500 Mon Sep 17 00:00:00 2001
|
||
|
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
|
||
|
Date: Fri, 15 Jun 2018 15:15:36 +0200
|
||
|
Subject: [PATCH] fence_vmware_soap: fix Python 3 suds issue
|
||
|
|
||
|
---
|
||
|
agents/vmware_soap/fence_vmware_soap.py | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/agents/vmware_soap/fence_vmware_soap.py b/agents/vmware_soap/fence_vmware_soap.py
|
||
|
index 6a3b592f..b90edc9b 100644
|
||
|
--- a/agents/vmware_soap/fence_vmware_soap.py
|
||
|
+++ b/agents/vmware_soap/fence_vmware_soap.py
|
||
|
@@ -56,7 +56,7 @@ def soap_login(options):
|
||
|
atexit.register(remove_tmp_dir, tmp_dir)
|
||
|
|
||
|
try:
|
||
|
- headers = {"Content-Type" : "text/xml;charset=UTF-8", "SOAPAction" : ""}
|
||
|
+ headers = {"Content-Type" : "text/xml;charset=UTF-8", "SOAPAction" : "vim25"}
|
||
|
conn = Client(url + "/vimService.wsdl", location=url, transport=RequestsTransport(verify=verify), headers=headers)
|
||
|
|
||
|
mo_ServiceInstance = Property('ServiceInstance')
|
||
|
--
|
||
|
2.17.1
|
||
|
|