cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaya...@apache.org
Subject git commit: updated refs/heads/master to a5ada3f
Date Tue, 20 Aug 2013 12:03:35 GMT
Updated Branches:
  refs/heads/master ac7766086 -> a5ada3f36


CLOUDSTACK-4199 Fixed redundant router fail over

When master router down, the back up router is entered into FAIL state
but it supposed to enter into master.
This issue is happening because the the enable_pubip.sh script triying to
ifdown and ifup the eth2 interface. Which is failed. So master.sh script got
failed. Fixed by doing ifdown force


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a5ada3f3
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a5ada3f3
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a5ada3f3

Branch: refs/heads/master
Commit: a5ada3f363276f575122402feb6d8ab16964e7ae
Parents: ac77660
Author: Jayapal <jayapal@apache.org>
Authored: Tue Aug 20 17:17:15 2013 +0530
Committer: Jayapal <jayapal@apache.org>
Committed: Tue Aug 20 17:33:22 2013 +0530

----------------------------------------------------------------------
 patches/systemvm/debian/config/etc/init.d/cloud-early-config     | 4 ++--
 .../debian/config/root/redundant_router/enable_pubip.sh.templ    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a5ada3f3/patches/systemvm/debian/config/etc/init.d/cloud-early-config
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/etc/init.d/cloud-early-config b/patches/systemvm/debian/config/etc/init.d/cloud-early-config
index 5aa9621..0a76b7f 100755
--- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config
+++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config
@@ -484,7 +484,7 @@ disable_hvc() {
 
 enable_vpc_rpsrfs() {
     local enable=$1
-    if [ $eanble -eq 0]
+    if [ $enable -eq 0 ]
     then
         echo 0 > /etc/rpsrfsenable
     else
@@ -497,7 +497,7 @@ enable_vpc_rpsrfs() {
 enable_rpsrfs() {
   local enable=$1
 
-  if [ $eanble -eq 0]
+  if [ $enable -eq 0 ]
   then
       echo 0 > /etc/rpsrfsenable
       return 0

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a5ada3f3/patches/systemvm/debian/config/root/redundant_router/enable_pubip.sh.templ
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/root/redundant_router/enable_pubip.sh.templ b/patches/systemvm/debian/config/root/redundant_router/enable_pubip.sh.templ
index 0e42ec4..3e22c0d 100644
--- a/patches/systemvm/debian/config/root/redundant_router/enable_pubip.sh.templ
+++ b/patches/systemvm/debian/config/root/redundant_router/enable_pubip.sh.templ
@@ -23,7 +23,7 @@ while read i
 do
     if [ "$i" == "eth2" ]
     then
-        ifdown $i
+        ifdown $i --force
         ifup $i
     else
         ifconfig $i down


Mime
View raw message