From 2bebb7f8a38c3ef94bbd55c69d7ec1070450dc22 Mon Sep 17 00:00:00 2001 From: Wilder Rodrigues Date: Sat, 12 Dec 2015 16:26:00 +0100 Subject: [PATCH] CLOUDSTACK-9151 - Removes the replacement of the VRID in the CsRedundant file - Just like with RVRs, use the VRID 51 instead of making it dependent on the VPCID - Reason: arbitary unique number 0..255 used to differentiate multiple instances of vrrpd running on the same NIC (and hence same socket). virtual_router_id 51 --- systemvm/patches/debian/config/opt/cloud/bin/cs/CsRedundant.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsRedundant.py b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsRedundant.py index 505b520fbcf8..d853eb9f74d0 100755 --- a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsRedundant.py +++ b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsRedundant.py @@ -137,8 +137,6 @@ def _redundant_on(self): " router_id ", " router_id %s" % self.cl.get_name()) keepalived_conf.search( " interface ", " interface %s" % guest.get_device()) - keepalived_conf.search( - " virtual_router_id ", " virtual_router_id %s" % self.cl.get_router_id()) keepalived_conf.greplace("[RROUTER_BIN_PATH]", self.CS_ROUTER_DIR) keepalived_conf.section("authentication {", "}", [ " auth_type AH \n", " auth_pass %s\n" % self.cl.get_router_password()])