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)
(cherry picked from commit aee87e72b1d456da66d719ccf19054ac1f285a7b)
(cherry picked from commit d1e2b840b57ba9425d5ea710a0509b677eefcc08)
Reviewed: https:/ /review. opendev. org/709446 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=576e76f209c e69d99606ce126c fd4a96d99f8e88
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 576e76f209ce69d 99606ce126cfd4a 96d99f8e88
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) a66d719ccf19054 ac1f285a7b) 25d5ea710a0509b 677eefcc08)
Closes-Bug: #1853613
(cherry picked from commit bc0ab0fcd721d3f
(cherry picked from commit aee87e72b1d456d
(cherry picked from commit d1e2b840b57ba94