Blame SOURCES/ha-cloud-support-gcloud.patch

811adb
diff --color -uNr a/heartbeat/gcp-pd-move.in b/heartbeat/gcp-pd-move.in
811adb
--- a/heartbeat/gcp-pd-move.in	2021-08-19 09:37:57.000000000 +0200
811adb
+++ b/heartbeat/gcp-pd-move.in	2021-08-25 13:50:54.461732967 +0200
811adb
@@ -32,6 +32,7 @@
811adb
 from ocf import logger
811adb
 
811adb
 try:
811adb
+  sys.path.insert(0, '/usr/lib/fence-agents/support/google')
811adb
   import googleapiclient.discovery
811adb
 except ImportError:
811adb
   pass
811adb
diff --color -uNr a/heartbeat/gcp-vpc-move-route.in b/heartbeat/gcp-vpc-move-route.in
811adb
--- a/heartbeat/gcp-vpc-move-route.in	2021-08-19 09:37:57.000000000 +0200
811adb
+++ b/heartbeat/gcp-vpc-move-route.in	2021-08-25 13:51:17.489797999 +0200
811adb
@@ -45,6 +45,7 @@
811adb
 from ocf import *
811adb
 
811adb
 try:
811adb
+  sys.path.insert(0, '/usr/lib/fence-agents/support/google')
811adb
   import googleapiclient.discovery
811adb
   import pyroute2
811adb
   try:
811adb
diff --color -uNr a/heartbeat/gcp-vpc-move-vip.in b/heartbeat/gcp-vpc-move-vip.in
811adb
--- a/heartbeat/gcp-vpc-move-vip.in	2021-08-19 09:37:57.000000000 +0200
811adb
+++ b/heartbeat/gcp-vpc-move-vip.in	2021-08-25 13:51:35.012847487 +0200
811adb
@@ -29,6 +29,7 @@
811adb
 from ocf import *
811adb
 
811adb
 try:
811adb
+  sys.path.insert(0, '/usr/lib/fence-agents/support/google')
811adb
   import googleapiclient.discovery
811adb
   try:
811adb
     from google.oauth2.service_account import Credentials as ServiceAccountCredentials