Functional test neutron.tests.functional.agent.l3.test_ha_router.LinuxBridgeL3HATestCase. test_ha_router_lifecycle failing
Bug #1816489 reported by
Slawek Kaplonski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Slawek Kaplonski |
Bug Description
Functional test neutron.
Example of failure: http://
Logstash query: http://
tags: | added: neutron-proactive-backport-potential |
tags: | added: neutron-easy-proactive-backport-potential |
tags: | removed: neutron-easy-proactive-backport-potential neutron-proactive-backport-potential |
To post a comment you must log in.
I looked into logs from 3 examples of this failure. /github. com/openstack/ neutron/ blob/master/ neutron/ tests/functiona l/agent/ l3/framework. py#L277 logs.openstack. org/68/ 623268/ 14/gate/ neutron- functional- python27/ 4dc7fb8/ logs/dsvm- functional- logs/neutron. tests.functiona l.agent. l3.test_ ha_router. L3HATestCase. test_ha_ router_ lifecycle. txt.gz# _2019-02- 18_14_29_ 25_033
In all cases it failed in https:/
and in all 3 cases I saw in logs that router was transitioned to master, e.g. here: http://
which shouldn't happen according to test code.
So my theory is that it's some race condition issue. Router is set as backup but then keepalived is spawned and switch router to be master. That triggers configuration of everything in router's namespace and it fails if that will happen "too fast"