<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:22:54 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[NETVIRT-966] In conntrack mode, SNAT communication fails if router gateway is set before virtual NW creation or VM creation in a fresh environment.</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-966</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;We found the following issue when running test with ODL Carbon SR2.&lt;br/&gt;
 In conntrack mode, SNAT communication fails if route gateway is set before virtual NW&#160; creation or VM creation in a fresh environment.&lt;br/&gt;
 The following WARN karaf log message shows when configuring router gateway and interface.&lt;br/&gt;
&#160; &#160;2017-10-24 10:09:47,079 | WARN | nPool-1-worker-0 | ExternalNetworksChangeListener | 369&lt;br/&gt;
&#160; &#160;org.opendaylight.netvirt.natservice-impl - 0.4.2.Carbon | associateExternalNetworkWithVPN :&lt;br/&gt;
&#160; &#160;primary napt Switch not found for router Uuid &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=e81d29f5-19cb-412b-aa7e-4c9377e00ee4&amp;#93;&lt;/span&gt; on dpn: 0&lt;br/&gt;
&#160; &#160;2017-10-24 10:11:10,857 | WARN | eChangeHandler-0 | AbstractSnatService | 369&lt;br/&gt;
&#160; &#160;org.opendaylight.netvirt.natservice-impl - 0.4.2.Carbon | getTunnelInterfaceName :&lt;br/&gt;
&#160; &#160;RPC Call to getTunnelInterfaceId returned with Errors []&lt;/p&gt;

&lt;p&gt;&#9675;Possible cause&lt;br/&gt;
 &#12288;By checking both OVS and ODL logs, we think that the cause might be as follows&lt;br/&gt;
 &#12288;&#12288;It seems that in controller node the patch ports of br-int br-ex are created when creating the first virtual NW.&lt;br/&gt;
 &#12288;&#12288;And in compute node, the patch ports are created when creating the first VW in this node.&lt;br/&gt;
 &#12288;&#12288;The processes are not finished correctly when router gateway is set before patch ports are created on each node.&lt;/p&gt;

&lt;p&gt;&#9675;Reproduction steps:&lt;br/&gt;
 1. neutron-server and related agent restart (controller node)&lt;br/&gt;
 2. OVS initialization (controller node and compute node)&lt;br/&gt;
 3. ODL initialization (all 3 odl nodes&#65289;&lt;br/&gt;
 4. ODL 3 node cluster start&lt;br/&gt;
 5. OVS configuration (controller node and compute node)&lt;br/&gt;
 6. External NW creation,&#12288;External NW subnet creation&lt;br/&gt;
 7. Virtual NW creation&lt;br/&gt;
 8. Router creation &lt;br/&gt;
 9. Router GW configuration&lt;br/&gt;
 10. Router IF configuration&lt;br/&gt;
 11. VM creation &lt;br/&gt;
 SNAT communication confirm&lt;br/&gt;
 12. All resources deletion&lt;br/&gt;
 13. OVS stop (controller node and compute node)&lt;br/&gt;
 14. ODL stop&lt;/p&gt;

&lt;p&gt;&#9675;log files&lt;br/&gt;
 We will upload them if necessary.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Environment Details:&lt;br/&gt;
  OpenStack Version: stable/ocata&lt;br/&gt;
  ODL Version: Carbon-SR2&lt;br/&gt;
  Node:&lt;br/&gt;
    OpenStack Controller Node: 1 node&lt;br/&gt;
    OpenStack Compute Node: 1 node&lt;br/&gt;
    ODL Node: 3 nodes(cluster)&lt;/p&gt;</environment>
        <key id="28622">NETVIRT-966</key>
            <summary>In conntrack mode, SNAT communication fails if router gateway is set before virtual NW creation or VM creation in a fresh environment.</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Cannot Reproduce</resolution>
                                        <assignee username="bertrandlow">Bertrand Low</assignee>
                                    <reporter username="RanXiao">Ran Xiao</reporter>
                        <labels>
                    </labels>
                <created>Tue, 24 Oct 2017 11:01:27 +0000</created>
                <updated>Thu, 5 Apr 2018 21:28:23 +0000</updated>
                            <resolved>Thu, 5 Apr 2018 21:28:23 +0000</resolved>
                                    <version>Carbon</version>
                                    <fixVersion>Carbon</fixVersion>
                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="60201" author="bertrandlow" created="Sun, 26 Nov 2017 00:43:13 +0000"  >&lt;p&gt;Hi there,&lt;/p&gt;

&lt;p&gt;the bug reproduction steps appear to contradict the bug title and description. Can you confirm&#160;if&#160;step 7 (Virtual NW creation) is in the correct order, or if it should come after step 9 or even 10 (as per title &quot;...SNAT communication fails if router gateway is set before creating virtual NW...&quot;)?&lt;/p&gt;

&lt;p&gt;thanks,&lt;/p&gt;

&lt;p&gt;Bertrand&lt;/p&gt;</comment>
                            <comment id="60202" author="ranxiao" created="Mon, 27 Nov 2017 04:28:36 +0000"  >&lt;p&gt;Hi Bertrand,&lt;br/&gt;
The bug reproduction steps are correct, as the issue is that SNAT communication only works when router gateway is set after both Virtual NW and VM creation.&lt;br/&gt;
The steps we shared above is one of resources creation orders that SNAT can not work.&lt;br/&gt;
Sorry for making you confused.&lt;br/&gt;
I&apos;ve modified the bug title and description.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="60277" author="bertrandlow" created="Wed, 29 Nov 2017 05:32:22 +0000"  >&lt;p&gt;Hi Ran,&lt;/p&gt;

&lt;p&gt;thanks for the clarification. How do you verify the SNAT communication?&lt;/p&gt;</comment>
                            <comment id="60280" author="yogalakshmi" created="Wed, 29 Nov 2017 10:19:07 +0000"  >&lt;p&gt;Hi Bert,&lt;/p&gt;

&lt;p&gt;To verify SNAT communication ,please follow the below steps:&lt;/p&gt;

&lt;p&gt;1. ODL initialization (all 3 odl nodes)&lt;br/&gt;
2. ODL 3 node cluster start&lt;br/&gt;
3. neutron-server and related agent restart (controller node)&lt;br/&gt;
4. OVS configuration (controller node and compute node)&lt;br/&gt;
5. Create Internal Network and Subnet (net1)&lt;br/&gt;
6. Create 2 VM&apos;s for this network.(vm1)&lt;br/&gt;
7. Create external network and subnet (externl_net1)&lt;br/&gt;
8. Create a router and set gateway to the external network and add a interface to the internal network (net1)&lt;br/&gt;
9. Check for the communication from vm1 to external host by Pinging from vm1 to the external host. In conntrack mode SNAT can be verified using PING.&lt;br/&gt;
&#160;&lt;/p&gt;</comment>
                            <comment id="60284" author="ranxiao" created="Thu, 30 Nov 2017 01:21:48 +0000"  >&lt;p&gt;Hi Yogalakshmi,&lt;/p&gt;

&lt;p&gt;Thanks for your quick&#160;reply to Bertrand&apos;s question.&lt;/p&gt;

&lt;p&gt;Hi Bertrand,&lt;/p&gt;

&lt;p&gt;The verify&#160;steps I executed are the same as&#160;Yogalakshmi shared.&lt;br/&gt;
If there is any other information i can provide, please let me know.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="60314" author="bertrandlow" created="Sun, 3 Dec 2017 01:43:48 +0000"  >&lt;p&gt;Hi Ran,&lt;/p&gt;

&lt;p&gt;I have followed the reproduction steps indicated in this bug report, and I have used both ssh and ping to test the SNAT connection from the VM instances to the external host.&lt;/p&gt;

&lt;p&gt;I can verify that the bug is no longer reproduced using the following snapshots:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;distribution-karaf-0.6.3-20171128.170008-250.tar.gz (Carbon)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;-&#160;karaf-0.7.1-20171122.210509-337.tar.gz (Nitrogen)&lt;/p&gt;

&lt;p&gt;SNAT communication is successful.&lt;/p&gt;

&lt;p&gt;I recommend closing this bug as it is no longer reproducible.&lt;/p&gt;

&lt;p&gt;thanks,&lt;/p&gt;

&lt;p&gt;Bertrand&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i036t3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>