<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:23:58 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-1397] SNAT - UDP connection to External Gateway From SNAT VM Instance fails in itm-direct-tunnels jobs</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-1397</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;The test randomly fails across the three vms.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-pike-upstream-stateful-itm-direct-tunnels-oxygen/21/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-pike-upstream-stateful-itm-direct-tunnels-oxygen/21/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/netvirt-csit/job/netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-itm-direct-tunnels-fluorine/26/robot/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/netvirt-csit/job/netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-itm-direct-tunnels-fluorine/26/robot/&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="30571">NETVIRT-1397</key>
            <summary>SNAT - UDP connection to External Gateway From SNAT VM Instance fails in itm-direct-tunnels jobs</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="10000">Done</resolution>
                                        <assignee username="xcheara">Chetan Arakere Gowdru</assignee>
                                    <reporter username="shague">Sam Hague</reporter>
                        <labels>
                            <label>csit:failures</label>
                    </labels>
                <created>Tue, 7 Aug 2018 19:08:31 +0000</created>
                <updated>Wed, 19 Sep 2018 12:41:20 +0000</updated>
                            <resolved>Wed, 19 Sep 2018 12:41:19 +0000</resolved>
                                                    <fixVersion>Fluorine-SR1</fixVersion>
                                    <component>natservice</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="64661" author="xcheara" created="Fri, 17 Aug 2018 06:44:15 +0000"  >&lt;p&gt;Hi Edwin/Hema,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I tried to narrow down this issue are following are the observation.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Ref: &lt;a href=&quot;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-gate-stateful-itm-direct-tunnels-fluorine/1/robot-plugin/log_03_external_network.html.gz#s1-t19&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-gate-stateful-itm-direct-tunnels-fluorine/1/robot-plugin/log_03_external_network.html.gz#s1-t19&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;An UDP packet is sent from Non-Napt Switch and enter via Tunnel-interface -tunaad8f9c7a1b. &lt;b&gt;Note here the lport been set with value 2&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;cookie=0x8000001, duration=2756.820s, table=0, n_packets=6223, n_bytes=583936, priority=5,in_port=2 &lt;b&gt;actions=write_metadata:0x20000000001&lt;/b&gt;/0xfffff0000000001,goto_table:36&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Now this packet entered NAT pipeline and been punted to ODL for programming SNAT flows.&lt;/li&gt;
	&lt;li&gt;While sending packet the packet back to pipeline, using lport tag, we query the &lt;b&gt;operational/odl-interface-meta:if-indexes-interface-map&lt;/b&gt; DS to get the interface name and found wrong interface name.&lt;/li&gt;
&lt;/ol&gt;


{ &quot;if-index&quot;: 2, &quot;interface-name&quot;: &quot;66664030340515:br-physnet1-pa:trunk&quot;}

&lt;p&gt;&#160;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;As a result, the packet is sent back to wrong dpn/interface(66664030340515:br-physnet1-pa) instead of sending back to tunnel port(tunaad8f9c7a1b).&lt;/li&gt;
	&lt;li&gt;NAT first attempts to get the value from the above DS and if not found, will try to fetch from the packet. Since, in this case, if found an interface-name for a given lporttag, it sent to wrong interface(br-physnet1-pa) instead of sending to tunnel interface.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Question: Why the table 0-&amp;gt;36 setting the lporttag with value 2 which is not valid for tunnel interface - tunaad8f9c7a1b ?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Chetan&lt;/p&gt;</comment>
                            <comment id="64698" author="xcheara" created="Tue, 21 Aug 2018 15:25:33 +0000"  >&lt;p&gt;Hi Chetan,&lt;/p&gt;

&lt;p&gt;&#160; When you are using ITM direct tunnels,,all tunnel related information is stored by ITM and not interface manager. If you are referring to lport tag for a tunnel interface, then you should refer to &lt;b&gt;operational/odl-itm-meta:if-indexes-tunnel-map.&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The interface corresponding to the lport that you found in interface manager&#8217;s ifindexes map is that of vm interfaces and not tunnel interface.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Hema&lt;/p&gt;</comment>
                            <comment id="64699" author="xcheara" created="Tue, 21 Aug 2018 15:25:44 +0000"  >&lt;p&gt;Hi Hema,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks for the input.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Is the if-index used for the tunnel-interface and other interface is not unique across these two DS(&lt;b&gt;if-indexes-tunnel-map/&lt;/b&gt; &lt;b&gt;if-indexes-interface-map&lt;/b&gt;) ??&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Chetan&lt;/p&gt;</comment>
                            <comment id="64700" author="xcheara" created="Tue, 21 Aug 2018 15:25:54 +0000"  >&lt;p&gt;Hi Chetan,&lt;/p&gt;

&lt;p&gt;&#160; Yes, ifIndex has to be unique across tunnel and VM interfaces. In downstream ITM uses the same ID POOL as interface manager. This was not up-streamed correctly. I will raise a patch for this. Thanks for pointing this.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Hema&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|i03hpz:</customfieldvalue>

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