2022-11-08 06:31:11 +00:00
|
|
|
diff --color -uNr a/heartbeat/gcp-vpc-move-ip.in b/heartbeat/gcp-vpc-move-ip.in
|
|
|
|
--- a/heartbeat/gcp-vpc-move-ip.in 2022-06-16 09:45:21.419090782 +0200
|
|
|
|
+++ b/heartbeat/gcp-vpc-move-ip.in 2022-06-16 10:11:22.978648598 +0200
|
2021-02-16 07:41:01 +00:00
|
|
|
@@ -36,7 +36,7 @@
|
|
|
|
. ${OCF_FUNCTIONS_DIR}/ocf-shellfuncs
|
|
|
|
|
|
|
|
# Defaults
|
|
|
|
-OCF_RESKEY_gcloud_default="/usr/bin/gcloud"
|
|
|
|
+OCF_RESKEY_gcloud_default="/usr/bin/gcloud-ra"
|
|
|
|
OCF_RESKEY_configuration_default="default"
|
|
|
|
OCF_RESKEY_vpc_network_default="default"
|
|
|
|
OCF_RESKEY_interface_default="eth0"
|
2022-11-08 06:31:11 +00:00
|
|
|
diff --color -uNr a/heartbeat/gcp-vpc-move-route.in b/heartbeat/gcp-vpc-move-route.in
|
|
|
|
--- a/heartbeat/gcp-vpc-move-route.in 2022-06-16 09:45:21.420090788 +0200
|
|
|
|
+++ b/heartbeat/gcp-vpc-move-route.in 2022-06-16 10:11:22.978648598 +0200
|
2022-02-01 20:06:08 +00:00
|
|
|
@@ -45,6 +45,7 @@
|
2021-02-16 07:41:01 +00:00
|
|
|
from ocf import *
|
|
|
|
|
|
|
|
try:
|
|
|
|
+ sys.path.insert(0, '/usr/lib/resource-agents/bundled/gcp')
|
|
|
|
import googleapiclient.discovery
|
|
|
|
import pyroute2
|
2022-11-08 06:31:11 +00:00
|
|
|
try:
|
|
|
|
diff --color -uNr a/heartbeat/gcp-vpc-move-vip.in b/heartbeat/gcp-vpc-move-vip.in
|
|
|
|
--- a/heartbeat/gcp-vpc-move-vip.in 2022-06-16 09:45:21.420090788 +0200
|
|
|
|
+++ b/heartbeat/gcp-vpc-move-vip.in 2022-06-16 10:11:22.979648603 +0200
|
|
|
|
@@ -29,6 +29,7 @@
|
|
|
|
from ocf import *
|
|
|
|
|
|
|
|
try:
|
|
|
|
+ sys.path.insert(0, '/usr/lib/resource-agents/bundled/gcp')
|
|
|
|
import googleapiclient.discovery
|
|
|
|
try:
|
|
|
|
from google.oauth2.service_account import Credentials as ServiceAccountCredentials
|