neutron/neutron/tests/functional
Darragh O'Reilly 93e9dc5426 ovs agent: signal to plugin if tunnel refresh needed
Currently the ovs agent calls update_device_list with the
agent_restarted flag set only on the first loop iteration. Then the
server knows to send the l2pop flooding entries for the network to
the agent. But when a compute node with many instances on many
networks reboots, it takes time to readd all the active devices and
some may be readded after the first loop iteration. Then the server
can fail to send the flooding entries which means there will be no
flood_to_tuns flow and broadcasts like dhcp will fail.

This patch fixes that by renaming the agent_restarted flag to
refresh_tunnels and setting it if the agent has not received the
flooding entries for the network.

Change-Id: I607aa8fa399e72b037fd068ad4f02b6210e57e91
Closes-Bug: #1853613
2020-01-09 14:18:43 +00:00
..
agent ovs agent: signal to plugin if tunnel refresh needed 2020-01-09 14:18:43 +00:00
api Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
cmd Remove deprecated agent_type option 2019-11-01 18:59:37 +00:00
common All functional tests logs results now 2018-11-21 19:58:18 +00:00
db Add binding_index to NetworkDhcpAgentBinding 2019-08-29 12:52:07 +04:00
pecan_wsgi Fix bulk port functioning with requested security groups 2019-09-11 02:31:42 +00:00
plugins use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
privileged Avoid calling util.kill_process to kill "sleep" 2019-09-19 12:38:41 +00:00
sanity All functional tests logs results now 2018-11-21 19:58:18 +00:00
scheduler Add binding_index to NetworkDhcpAgentBinding 2019-08-29 12:52:07 +04:00
services HA race condition test for DHCP scheduling 2019-11-18 14:09:32 +01:00
tests NetcatTester.stop_processes skip "No such process" exception 2019-11-20 17:47:17 +00:00
__init__.py tests: removed 'retargetable' framework 2017-05-02 16:45:49 +00:00
base.py Do not use privsep context when listing the namespaces in functional 2019-07-04 15:12:04 +00:00
constants.py TrunkManager for the OVS agent 2016-08-24 02:52:17 -04:00
requirements.txt Don't return null-byte separated string from ExternalProcess.cmdline() 2017-03-08 07:50:51 +00:00
test_server.py Make Neutron gate great again 2019-09-06 07:44:29 +00:00
test_service.py Modify api and rpc default number of workers 2019-02-19 13:24:01 -07:00