[fullstack] OVS interface events isolation error with more than one OVS agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Rodolfo Alonso |
Bug Description
In fullstack test, unlike in a real deployment, more than one OVS agent is spawned in the same host, reading from the same OVS database. That could lead to isolation errors when receiving notifications. For example, OVS has a thread monitoring the new ports added to the host, using the shell CLI:
"ovsdb-client monitor Interface name,ofport,
In a fullstack test, two OVS agents running in the same host will have independent integration bridges (randomly generated names). But when a port is added to one of those integration bridges, both agents will receive the event of a new port (interface) added. The OVS agent where the port is not added, won't find it in its own integration bridge and will treat it as dead port [1], sending a "update_
This behavior could clash with the correct update sent from the other OVS agent, setting the port up. E.g.: in log [2] we can see how the first OVS agent sets the port UP and one second later, the second OVS agent sets the port down [3]. That will make this test fail.
[1]https:/
[2]https:/
[3]http://
Changed in neutron: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
Changed in neutron: | |
importance: | Undecided → Low |
tags: | added: fullstack gate-failure ovs |
Changed in neutron: | |
status: | In Progress → Fix Released |
Fix proposed to branch: master /review. opendev. org/738446
Review: https:/