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

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