Setting internal_vip to same as external_vip causes high rate of vrrp pkt storm
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.1 |
Fix Committed
|
High
|
Ignatious Johnson Christopher | |||
R3.2 |
Fix Committed
|
High
|
Ignatious Johnson Christopher | |||
Trunk |
Fix Committed
|
High
|
Ignatious Johnson Christopher |
Bug Description
R3.0.2.x Build 13
It is possible that users might set internal_vip to be same as external_vip in env.ha section of testbed.py(when there is no separate ctrl/data network)
It was seen then that keepalived.conf ends up with duplicate VIP config. keepalived starts to generate a very high rate of vrrp advertisements (~15K per sec!) and can cause problems in the network.
We should just skip adding duplicate vips, if any.
vrrp_instance INTERNAL_
interface p1p1
state MASTER
advert_int 1
priority 99
}
}
}
p1p1
}
}
vrrp_instance EXTERNAL_
interface p1p1
state MASTER
advert_int 1
priority 99
}
}
}
p1p1
}
}
-----
15:30:14.250933 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.252026 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.253128 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.254231 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.255351 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.256460 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.257561 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.258686 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.259775 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.260874 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.261976 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.263078 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.264210 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.265323 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.266425 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.267527 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.268629 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.269748 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.270851 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.271948 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.273050 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.274153 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.275272 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.276374 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.277492 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.278585 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.279711 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.280813 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.281915 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.283016 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.284103 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.285194 00:25:90:c3:0a:f2 > 01:00:5e:00:00:12, ethertype IPv4 (0x0800), length 54: 10.204.216.58 > 224.0.0.18: VRRPv2, Advertisement, vrid 156, prio 99, authtype none, intvl 1s, length 20
15:30:14.286313 00:25:90:c3:0a:f2 > 0
Changed in juniperopenstack: | |
milestone: | none → r4.0 |
Section "Supported Cluster Topologies for High Availability " in http:// www.juniper. net/techpubs/ en_US/contrail2 .1/topics/ concept/ high-avail- support. html
Customers should not provide both the VIP's in the testbed.py
However it will be useful to compare the control_data section and env.ha section and abort provisioning in the pre_check task will be helpful.