neutron/neutron
Darragh O'Reilly d1e2b840b5 ovs agent: signal to plugin if tunnel refresh needed
Patch https://review.opendev.org/#/c/697655/ cannot be backported
because it includes an RPC version change. This patch is for the
stable branches.

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 also setting the agent_restarted flag if
the agent has not received the flooding entries for a network.

Change-Id: Iccc4fe4a785ee042fd76a663d0e76a27facd1809
Closes-Bug: #1853613
(cherry picked from commit bc0ab0fcd7)
(cherry picked from commit aee87e72b1)
2020-02-24 13:34:08 +03:00
..
agent Merge "Check SG members instead of ports to skip flow update" into stable/rocky 2020-02-19 22:58:19 +00:00
api dhcp-agent: equalize port create_low/update/delete priority 2020-02-17 12:58:16 +00:00
cmd Secure dnsmasq process against external abuse 2019-02-01 09:07:14 +00:00
common DVR: Ignore DHCP port during DVR host query 2020-02-01 01:13:43 +00:00
conf DVR: Ignore DHCP port during DVR host query 2020-02-01 01:13:43 +00:00
core_extensions Refactor duplicated implementation of _get_policy_obj 2018-06-20 09:51:02 +08:00
db Merge "DVR: Ignore DHCP port during DVR host query" into stable/rocky 2020-02-18 17:03:07 +00:00
debug Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
extensions Improve invalid port ranges error message 2019-03-21 10:16:55 -04:00
hacking use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
ipam Allow first address in an IPv6 subnet as valid unicast 2019-05-24 17:32:08 -04:00
locale Imported Translations from Zanata 2018-11-30 09:16:33 +00:00
notifiers Fix W503 pep8 warnings 2018-04-17 14:22:58 +00:00
objects Handle ports assigned to routers without routerports 2019-10-15 10:44:54 +00:00
pecan_wsgi Set DB retry for quota_enforcement pecan_wsgi hook 2019-12-09 12:08:47 +00:00
plugins ovs agent: signal to plugin if tunnel refresh needed 2020-02-24 13:34:08 +03:00
privileged Check the namespace is ready in test_mtu_update tests 2019-09-16 09:30:43 +00:00
quota Set DB retry for quota_enforcement pecan_wsgi hook 2019-12-09 12:08:47 +00:00
scheduler Fetch specific columns rather than full ORM entities 2018-09-27 16:28:37 +00:00
server Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
services Merge "Ensure driver error preventing trunk port deletion is logged" into stable/rocky 2020-02-19 19:05:02 +00:00
tests Merge "Check SG members instead of ports to skip flow update" into stable/rocky 2020-02-19 22:58:19 +00:00
__init__.py
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py
manager.py Avoid loading same service plugin more than once 2019-04-12 08:33:38 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Merge "Remove deprecated cache_url" 2018-01-03 06:35:59 +00:00
policy.py List SG rules which belongs to tenant's SG 2020-01-29 08:04:16 +00:00
service.py Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00