Bug 1544651

Summary: Connectivity from an instance without Floating IP to an external IP fails
Product: Red Hat OpenStack Reporter: Itzik Brown <itbrown>
Component: opendaylightAssignee: Aswin Suryanarayanan <asuryana>
Status: CLOSED ERRATA QA Contact: Itzik Brown <itbrown>
Severity: high Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: mkolesni, nyechiel
Target Milestone: betaKeywords: Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: opendaylight-8.0.0-1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-27 13:44:34 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:

Description Itzik Brown 2018-02-13 07:33:39 UTC
Description of problem:

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 which cause the connectivity from an instance without an IP to external network to fail.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

1)Create an external network and external subnet.
2)Create a router and and set the g/w( NAPT switch should be selected on a compute without any router subnet)
3)Create an internal subnet and add to the router.

Actual results:

Expected results:

Additional info:

Comment 1 Aswin Suryanarayanan 2018-02-13 08:48:46 UTC
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.

Once the patches for https://jira.opendaylight.org/browse/NETVIRT-1009 is merged this bug should be resolved.

Comment 4 Aswin Suryanarayanan 2018-02-27 15:40:09 UTC
The patches for  https://jira.opendaylight.org/browse/NETVIRT-1009  is merged upstream.

Comment 6 Itzik Brown 2018-03-18 11:29:38 UTC
Verified with

Comment 8 errata-xmlrpc 2018-06-27 13:44:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.