Comment 3 for bug 1819160

Revision history for this message
LIU Yulong (dragon889) wrote :

@Slawek,
For the first thing:
for that 2 routers creation, we have this:
https://github.com/openstack/neutron/blob/master/neutron/tests/common/l3_test_common.py#L164
They will finally have same VRRP virtual_router_id 1. We can say it is one router. So for only one test case it is fine.
But for concurrently running of same logical, it will still have such virtual_router_id 1, this does not make sense.

Then it raises your second question:
test case 1 has master VRRP instance in that 'master-agent1',
test case 2 will also try to use same virtual_router_id 1 to wait another master VRRP instance is up in 'master-agent1'.
They have same virtual_router_id 1, and our router is non-preemptive, so test case 2 will not get that router up in agent1.

Make sense?

I will try to give each failover case an independent vrrp_id to avoid such issue.