Comment 17 for bug 1853613

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/queens)

Reviewed: https://review.opendev.org/709446
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=576e76f209ce69d99606ce126cfd4a96d99f8e88
Submitter: Zuul
Branch: stable/queens

commit 576e76f209ce69d99606ce126cfd4a96d99f8e88
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: Iccc4fe4a785ee042fd76a663d0e76a27facd1809
    Closes-Bug: #1853613
    (cherry picked from commit bc0ab0fcd721d3fb01fd83291269a586f50efa0e)
    (cherry picked from commit aee87e72b1d456da66d719ccf19054ac1f285a7b)
    (cherry picked from commit d1e2b840b57ba9425d5ea710a0509b677eefcc08)