summaryrefslogtreecommitdiff
path: root/ha-cloud-support-google.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 14:21:23 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 14:21:23 +0000
commit247fc79a80bec95c23eac2c1d19b47ed30f7350b (patch)
tree59f40f8d3835d3954a48242fe49c7195f9cb55c5 /ha-cloud-support-google.patch
parent656cec46a0f3499446d93967253acac7c8acfe6f (diff)
automatic import of fence-agentsopeneuler24.03_LTS
Diffstat (limited to 'ha-cloud-support-google.patch')
-rw-r--r--ha-cloud-support-google.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/ha-cloud-support-google.patch b/ha-cloud-support-google.patch
new file mode 100644
index 0000000..5335073
--- /dev/null
+++ b/ha-cloud-support-google.patch
@@ -0,0 +1,21 @@
+diff --color -uNr a/agents/gce/fence_gce.py b/agents/gce/fence_gce.py
+--- a/agents/gce/fence_gce.py 2021-06-03 13:10:44.752999470 +0200
++++ b/agents/gce/fence_gce.py 2021-06-03 13:10:36.512971619 +0200
+@@ -9,7 +9,6 @@
+ #
+
+ import atexit
+-import httplib2
+ import logging
+ import json
+ import re
+@@ -30,6 +29,8 @@
+
+ from fencing import fail_usage, run_delay, all_opt, atexit_handler, check_input, process_input, show_docs, fence_action
+ try:
++ sys.path.insert(0, '/usr/lib/fence-agents/support/google')
++ import httplib2
+ import googleapiclient.discovery
+ import socks
+ try:
+Binary files a/agents/gce/.fence_gce.py.swp and b/agents/gce/.fence_gce.py.swp differ