yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60060
[Bug 1605966] Re: L3 HA: VIP doesn't changed if qr interface or qg interface was down
[Expired for neutron because there has been no activity for 60 days.]
** Changed in: neutron
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1605966
Title:
L3 HA: VIP doesn't changed if qr interface or qg interface was down
Status in neutron:
Expired
Bug description:
======= Problem Description ======
Currently, in L3 HA, we track "ha" interface to determine whether a
VIP address should be failover.
Unfortunately, if a qr or qg interface was down, VIP address will not
failover. Because we don't track these interfaces in a router.
======= How to reproduce =======
Create a HA router and attaching a subnet on it. So that there will be a keepalived process to monitor this router.
Go into the L3 router we created it above. Execute "ip link set qr-
xxx down". As we don't except, VIP address doesn't failover.
====== How to resolve it ======
In current keepalived configure file, like this:
vrrp_instance VR_2 {
state BACKUP
interface ha-c00c7b49-d5
virtual_router_id 2
priority 50
garp_master_delay 60
nopreempt
advert_int 2
track_interface {
ha-c00c7b49-d5
}
virtual_ipaddress {
169.254.0.2/24 dev ha-c00c7b49-d5
}
virtual_ipaddress_excluded {
2.2.2.1/24 dev qr-b312f788-9b
fe80::f816:3eff:feac:fa12/64 dev qr-b312f788-9b scope link
}
}
Track interfaces only include "ha" interface, so VIP will not changed
if "qr" or "qg" interface was down.
To address this, we track both "qr" and "qg" interfaces, like this:
vrrp_instance VR_2 {
state BACKUP
interface ha-c00c7b49-d5
virtual_router_id 2
priority 50
garp_master_delay 60
nopreempt
advert_int 2
track_interface {
qr-xxxxxxxxxxx
qg-xxxxxxxxxxx
ha-c00c7b49-d5
}
virtual_ipaddress {
169.254.0.2/24 dev ha-c00c7b49-d5
}
virtual_ipaddress_excluded {
2.2.2.1/24 dev qr-b312f788-9b
fe80::f816:3eff:feac:fa12/64 dev qr-b312f788-9b scope link
}
}
By doing this, if qr or qg interface was down unfortunately, HA router
will failover.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1605966/+subscriptions
References