Comment 5 for bug 2028795

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/890228
Committed: https://opendev.org/openstack/neutron/commit/6f8dc124c4ec1ca026ebe1e5f00aef21cbaa70dc
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 6f8dc124c4ec1ca026ebe1e5f00aef21cbaa70dc
Author: Jakub Libosvar <email address hidden>
Date: Wed Jul 26 18:28:29 2023 +0000

    dvr: Avoid installing non-dvr openflow rule on startup

    The tunneling bridge uses different openflow rules depending if the
    agent is running in DVR mode or not. With DVR enabled initial rule was
    installed that caused traffic coming from the integration bridge to be
    flooded to all tunnels. After a few miliseconds this flow was replaced
    by a DVR specific flow, correctly dropping the traffic. This small time
    window caused a network loop on the compute node with restarted agent.

    This patch skips installing the non-dvr specific flow in case OVS agent
    is working in DVR mode. Hence the traffic is never flooded to the
    tunnels.

    Closes-bug: #2028795

    Signed-off-by: Jakub Libosvar <email address hidden>
    Change-Id: I3ce026054286c8e28ec1500f1a4aa607fe73f337
    (cherry picked from commit ba6f7bf83e6f17048a97f781aa16bf4a643a53d2)