Blame SOURCES/ha-cloud-support-google.patch
|
|
d4ebfc |
diff --color -uNr a/agents/gce/fence_gce.py b/agents/gce/fence_gce.py
|
|
|
d4ebfc |
--- a/agents/gce/fence_gce.py 2021-06-03 13:10:44.752999470 +0200
|
|
|
d4ebfc |
+++ b/agents/gce/fence_gce.py 2021-06-03 13:10:36.512971619 +0200
|
|
|
d4ebfc |
@@ -9,7 +9,6 @@
|
|
|
d4ebfc |
#
|
|
|
d4ebfc |
|
|
|
d4ebfc |
import atexit
|
|
|
d4ebfc |
-import httplib2
|
|
|
d4ebfc |
import logging
|
|
|
d4ebfc |
import json
|
|
|
d4ebfc |
import re
|
|
|
d4ebfc |
@@ -30,6 +29,8 @@
|
|
|
d4ebfc |
|
|
|
d4ebfc |
from fencing import fail_usage, run_delay, all_opt, atexit_handler, check_input, process_input, show_docs, fence_action
|
|
|
d4ebfc |
try:
|
|
|
d4ebfc |
+ sys.path.insert(0, '/usr/lib/fence-agents/support/google')
|
|
|
d4ebfc |
+ import httplib2
|
|
|
d4ebfc |
import googleapiclient.discovery
|
|
|
d4ebfc |
import socks
|
|
|
d4ebfc |
try:
|
|
|
d4ebfc |
Binary files a/agents/gce/.fence_gce.py.swp and b/agents/gce/.fence_gce.py.swp differ
|