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):
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.
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.
The patches for https://jira.opendaylight.org/browse/NETVIRT-1009 is merged upstream.
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.