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/4.2 to 8c68660
Date Tue, 20 Aug 2013 12:03:03 GMT
Updated Branches:
  refs/heads/4.2 836f09361 -> 8c6866053


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/8c686605
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8c686605
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8c686605

Branch: refs/heads/4.2
Commit: 8c686605378f80d2a8e338df9579824774369e75
Parents: 836f093
Author: Jayapal <jayapal@apache.org>
Authored: Tue Aug 20 17:17:15 2013 +0530
Committer: Jayapal <jayapal@apache.org>
Committed: Tue Aug 20 17:32:51 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/8c686605/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/8c686605/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