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 bc0ab0fcd721d3fb01fd83291269a586f50efa0e)
Reviewed: https:/ /review. opendev. org/708748 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=aee87e72b1d 456da66d719ccf1 9054ac1f285a7b
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit aee87e72b1d456d a66d719ccf19054 ac1f285a7b
Author: Darragh O'Reilly <email address hidden>
Date: Fri Jan 24 16:19:30 2020 +0000
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: Iccc4fe4a785ee0 42fd76a663d0e76 a27facd1809 b01fd83291269a5 86f50efa0e)
Closes-Bug: #1853613
(cherry picked from commit bc0ab0fcd721d3f