Bug 2014098

Summary: [ovn][vlan] east/west traffic is not distributed
Product: Red Hat OpenStack Reporter: Eduardo Olivares <eolivare>
Component: python-networking-ovnAssignee: OSP Team <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: high    
Version: 16.2 (Train)CC: apevec, lhh, ltomasbo, majopela, mtomaska, pgrist, ralonsoh, scohen
Target Milestone: z3Keywords: TestOnly, Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-24 07:17:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2009222    
Bug Blocks:    

Description Eduardo Olivares 2021-10-14 13:21:24 UTC
Description of problem:
This bug depends on BZ2009222. OVN + VLAN tenant networks + DVR cannot be configured properly without fixing BZ2009222.

I applied some workarounds described in the comments from that bug and managed to configure an OSP16.2 environment with OVN+VLAN+DVR.
Then, I ran the ovn dvr tempest tests, which check that the n/s and e/w traffic are correctly routed, i.e. the traffic is distributed when expected. 

The tempest n/s tests pass.

The tempest e/w tests fail. It seems that e/w traffic is not routed properly. The scenario can be described like this:
1) VM1 spawned on comp-1 has a port connected to net1/subnet1
2) VM2 spawned on comp-2 has a port connected to net2/subnet2
3) a router connects subnet1 and subnet2
4) the traffic between the VMs (using internal IPs, not FIPs) is routed through the controller nodes unexpectedly
So, there is connectivity between VM1 and VM2, but the traffic is not actually distributed.



Version-Release number of selected component (if applicable):
RHOS-16.2-RHEL-8-20211006.n.1

How reproducible:
100%

Steps to Reproduce:
1. run the d/s tempest test neutron_plugin.tests.scenario.test_dvr_ovn.OvnDvrTest.test_validate_dvr_connectivity_live_migration_different_networks (or follow the steps described above)