File 0009-aws-vpc-move-ip-multiple-VPC-routing-tables-in-routi.patch of Package resource-agents.11510

From 1d2d451f11d3aa0e6823923376510202e348ee72 Mon Sep 17 00:00:00 2001
From: gguifelixamz <fguilher@amazon.com>
Date: Tue, 4 Dec 2018 14:54:21 +0000
Subject: [PATCH 2/3] aws-vpc-move-ip: multiple VPC routing tables in
 routing_tables parameter - adjusting sleep time

---
 heartbeat/aws-vpc-move-ip | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/heartbeat/aws-vpc-move-ip b/heartbeat/aws-vpc-move-ip
index be8ecf5c..981451c5 100755
--- a/heartbeat/aws-vpc-move-ip
+++ b/heartbeat/aws-vpc-move-ip
@@ -181,7 +181,7 @@ ec2ip_monitor() {
 				ocf_log warn "not routed to this instance ($EC2_INSTANCE_ID) but to instance $ROUTE_TO_INSTANCE on $rtb"
 				MON_RES="$MON_RES $rtb"
 			fi
-			sleep 0.5
+			sleep 1
 		done
 
 		if [ ! -z "$MON_RES" ]; then
@@ -228,7 +228,7 @@ ec2ip_get_and_configure() {
 			ocf_log warn "command failed, rc: $rc"
 			return $OCF_ERR_GENERIC
 		fi
-		sleep 0.5
+		sleep 1
 	done
 
 	# Reconfigure the local ip address
-- 
2.16.4

openSUSE Build Service is sponsored by