Skip to content

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Aug 7, 2023

This PR contains a snapshot of yoga from upstream.

cubeek and others added 3 commits August 3, 2023 08:43
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

Conflicts:
	neutron/plugins/ml2/drivers/openvswitch/agent/ovs_dvr_neutron_agent.py

Signed-off-by: Jakub Libosvar <libosvar@redhat.com>
Change-Id: I3ce026054286c8e28ec1500f1a4aa607fe73f337
(cherry picked from commit ba6f7bf)
In the test_port_deletion_prevention_handles_missing_port test which is
part of the classes:
* neutron.tests.unit.extensions.test_l3.L3NatDBSepTestCase
* neutron.tests.unit.extensions.test_extraroute.ExtraRouteDBSepTestCase

it is needed to call pecan application to e.g. create network to make
all models to be ready. Otherwise things like port_forwarding attribute
in the Port class, which is loaded in lazy mode isn't available and test
was failing when was run in the isolated environment.
It wasn't failing in the gate as there were other tests run by the same
worker before this one and then it was all initialized properly.

Closes-Bug: #2028285
Change-Id: Ie2382540d7c0a8813f093ddf51d82fe530026d71
(cherry picked from commit 14b2f4f)
@github-actions github-actions bot requested a review from a team as a code owner August 7, 2023 08:22
@github-actions github-actions bot added automated Automated action performed by GitHub Actions synchronisation labels Aug 7, 2023
@markgoddard markgoddard merged commit ef4c4ec into stackhpc/yoga Aug 7, 2023
@markgoddard markgoddard deleted the upstream/yoga-2023-08-07 branch August 7, 2023 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated Automated action performed by GitHub Actions synchronisation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants