Blob Blame History Raw
--- a/agents/gce/fence_gce.py	2022-04-28 13:03:37.740117897 +0200
+++ b/agents/gce/fence_gce.py	2022-04-28 13:05:47.180735990 +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, run_command
 try:
+  sys.path.insert(0, '/usr/lib/fence-agents/bundled/gce')
+  import httplib2
   import googleapiclient.discovery
   import socks
   try: