mirror of https://github.com/apache/cloudstack.git
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
This commit is contained in:
parent
ac77660864
commit
a5ada3f363
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ while read i
|
|||
do
|
||||
if [ "$i" == "eth2" ]
|
||||
then
|
||||
ifdown $i
|
||||
ifdown $i --force
|
||||
ifup $i
|
||||
else
|
||||
ifconfig $i down
|
||||
|
|
|
|||
Loading…
Reference in New Issue