[NETVIRT-1008] In conntrack SNAT the FIB flows sprodically fails to program Created: 20/Nov/17  Updated: 03/May/18  Resolved: 08/Dec/17

Status: Resolved
Project: netvirt
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Aswin Suryanarayanan Assignee: Aswin Suryanarayanan
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

In conntrack SNAT when an NAPT switch is selected on a compute without any port in the router subnet not all necessary fob flows are programmed.

Steps to reproduce.

1)Create an external n/w and external subnet.
2)Create a router and and set the g/w( NAPT switch should be selected on a compute withour any router subnet. If not new router can be create until this is achieved.
3)Create an internal subnet and add to the router.

Expected Output.
FIB flows to direct the packet to DHCP NS should be present in the NAPT switch

Actual Output
FIB flows are not present always.



 Comments   
Comment by Aswin Suryanarayanan [ 08/Dec/17 ]

The SNAT flows addition fails in a switch which has no ports since there is race between tunnel creation and SNAT flow insertion. Since the compute have ports the tunnel creation happens when the pseudo port is added to the compute as a part of the tunnel creation. ThisĀ  issue will be solved when netvirt move to genius auto tunnel creation.

Comment by Aswin Suryanarayanan [ 08/Dec/17 ]

The bug NETVIRT-1009 [1]will resolve this as the tunnels will be created on the start.

[1]https://jira.opendaylight.org/browse/NETVIRT-1009

Generated at Wed Feb 07 20:23:00 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.