<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:22:41 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-875] Flows of created NWs are deleted one flow at a time when creating new NW after 1000 NWs were created.</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-875</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;Environment Details:&lt;br/&gt;
  OpenStack Version: stable/ocata&lt;br/&gt;
  ODL Version: carbon-FR + L2GW related patches&lt;br/&gt;
  ODL MAX heap: JAVA_MAX_MEM=&quot;6144m&quot;&lt;/p&gt;

&lt;p&gt;Issue:&lt;br/&gt;
&#12288;Flows of created NWs are deleted one flow at a time when creating new NW after 1000 NWs were created.&lt;br/&gt;
&#12288;These deleted flows are flows in Controller Node.&lt;br/&gt;
&#12288;Below is an exmaple of deleted flow:&lt;br/&gt;
    cookie=0x8800001, table=55, priority=10,tun_id=0x1,metadata=0x10000000000/0xfffff0000000000 actions=drop&lt;/p&gt;

&lt;p&gt;Detailed Phenomenon:&lt;br/&gt;
     1st NW Creation: Flows of the 1st NW are successfully registered in br-int (controller node)&lt;br/&gt;
     2nd NW Creation: Flows of the 2nd NW are successfully registered in br-int&lt;br/&gt;
       .                       .&lt;br/&gt;
       .                       .&lt;br/&gt;
       .                       .&lt;br/&gt;
   999th NW Creation: Flows of the 999th NW are successfully registered in br-int&lt;br/&gt;
  1000th NW Creation: Flows of the 1000th NW are successfully registered in br-int&lt;br/&gt;
  1001th NW Creation: Flows of the 1001th NW are successfully registered in br-int&lt;br/&gt;
                      one flow of the 1st NW is deleted&lt;br/&gt;
  1002th NW Creation: Flows of the 1002th NW are successfully registered in br-int&lt;br/&gt;
                      one flow of the 2nd NW is deleted&lt;br/&gt;
    :                       :&lt;br/&gt;
  1010th NW Creation: Flows of the 1010th NW are successfully registered in br-int&lt;br/&gt;
                      one flow of the 10th NW is deleted&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;confirmed until the 1010th NW creation&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Attachment:&lt;br/&gt;
  ovs.tar.gz        ovs information (executed after the 1st, 2nd, 999th, 1000th, 1001th and 1002th NW creation)&lt;br/&gt;
                    ovs-vsctl show&lt;br/&gt;
                    ovs-ofctl -Oopenflow13 dump-flows  br-int&lt;br/&gt;
                    ovs-ofctl -Oopenflow13 show  br-int&lt;br/&gt;
                    ovs-ofctl -Oopenflow13 dump-groups  br-int&lt;br/&gt;
  xaa - xak         ODL logs (splited)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="20796">NETVIRT-875</key>
            <summary>Flows of created NWs are deleted one flow at a time when creating new NW after 1000 NWs were created.</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <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="-1">Unassigned</assignee>
                                    <reporter username="ran-xiao@vf.jp.nec.com">Ran Xiao</reporter>
                        <labels>
                    </labels>
                <created>Wed, 30 Aug 2017 05:24:34 +0000</created>
                <updated>Thu, 19 Oct 2017 21:29:11 +0000</updated>
                            <resolved>Tue, 3 Oct 2017 09:15:46 +0000</resolved>
                                    <version>Carbon</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="38364" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:25:37 +0000"  >&lt;p&gt;Attachment ovs.tar.gz has been added with description: ovs info&lt;/p&gt;</comment>
                            <comment id="38365" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:26:12 +0000"  >&lt;p&gt;Attachment xaa has been added with description: Karaf log 1&lt;/p&gt;</comment>
                            <comment id="38366" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:26:35 +0000"  >&lt;p&gt;Attachment xab has been added with description: Karaf log 2&lt;/p&gt;</comment>
                            <comment id="38367" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:27:00 +0000"  >&lt;p&gt;Attachment xac has been added with description: Karaf log 3&lt;/p&gt;</comment>
                            <comment id="38368" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:27:48 +0000"  >&lt;p&gt;Attachment xad has been added with description: Karaf log 4&lt;/p&gt;</comment>
                            <comment id="38369" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:28:26 +0000"  >&lt;p&gt;Attachment xae has been added with description: Karaf log 5&lt;/p&gt;</comment>
                            <comment id="38370" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:29:02 +0000"  >&lt;p&gt;Attachment xaf has been added with description: Karaf log 6&lt;/p&gt;</comment>
                            <comment id="38371" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:29:46 +0000"  >&lt;p&gt;Attachment xag has been added with description: Karaf log 7&lt;/p&gt;</comment>
                            <comment id="38372" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:30:30 +0000"  >&lt;p&gt;Attachment xah has been added with description: Karaf log 8&lt;/p&gt;</comment>
                            <comment id="38373" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:32:49 +0000"  >&lt;p&gt;Attachment xai has been added with description: Karaf log 9&lt;/p&gt;</comment>
                            <comment id="38374" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:33:35 +0000"  >&lt;p&gt;Attachment xaj has been added with description: Karaf log 10&lt;/p&gt;</comment>
                            <comment id="38375" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:34:11 +0000"  >&lt;p&gt;Attachment xak has been added with description: Karaf log 11&lt;/p&gt;</comment>
                            <comment id="38362" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 06:07:56 +0000"  >&lt;p&gt;The source codes caused this issue are:&lt;br/&gt;
netvirt/vpnservice/elanmanager/elanmanager-impl/src/main/java/org/opendaylight/netvirt/elan/internal/ElanInterfaceManager.java&lt;/p&gt;

&lt;p&gt;The following two flows are added by setupFilterEqualsTable():&lt;br/&gt;
cookie=0x8800001, table=55, priority=10,tun_id=0x1,metadata=0x10000000000/0xfffff0000000000 actions=drop    * the deleted flow&lt;br/&gt;
cookie=0x8800001, table=55, priority=9,tun_id=0x1 actions=load:0x100-&amp;gt;NXM_NX_REG6[],resubmit(,220) &lt;/p&gt;

&lt;p&gt;The flow is generated as below:&lt;br/&gt;
Flow flow = MDSALUtil.buildFlowNew(NwConstants.ELAN_FILTER_EQUALS_TABLE,&lt;br/&gt;
        getFlowRef(NwConstants.ELAN_FILTER_EQUALS_TABLE, ifTag), 9, elanInfo.getElanInstanceName(), 0, 0,&lt;br/&gt;
        ElanConstants.COOKIE_ELAN_FILTER_EQUALS.add(BigInteger.valueOf(ifTag)),&lt;br/&gt;
        elanUtils.getTunnelIdMatchForFilterEqualsLPortTag(ifTag),&lt;br/&gt;
        elanUtils.getInstructionsInPortForOutGroup(interfaceInfo.getInterfaceName()));&lt;br/&gt;
Flow flowEntry = MDSALUtil.buildFlowNew(NwConstants.ELAN_FILTER_EQUALS_TABLE,&lt;br/&gt;
        getFlowRef(NwConstants.ELAN_FILTER_EQUALS_TABLE, 1000 + ifTag), 10, elanInfo.getElanInstanceName(), 0,&lt;br/&gt;
        0, ElanConstants.COOKIE_ELAN_FILTER_EQUALS.add(BigInteger.valueOf(ifTag)),&lt;br/&gt;
        getMatchesForFilterEqualsLPortTag(ifTag), MDSALUtil.buildInstructionsDrop());&lt;br/&gt;
*the 2nd argument is &apos;1000 + ifTag&apos;, fixed in the code.&lt;/p&gt;

&lt;p&gt;The 2nd argument of MDSALUtil.buildFlowNew() is String flowId for flow management which is generated by tableId + elanTag.&lt;br/&gt;
Therefore,&lt;br/&gt;
flowId of the 1st NW :     priority=9  flow, flowId=&quot;551&quot;&lt;br/&gt;
                           priority=10 flow, flowId=&quot;551001&quot;&lt;br/&gt;
flowId of the 1001th NW :  priority=9  flow, flowId=&quot;551001&quot;&lt;br/&gt;
                           priority=10 flow, flowId=&quot;552001&quot;&lt;/p&gt;

&lt;p&gt;Thus, the flowId of the 1001th network is duplicate with the flow of the 1st NW, &lt;br/&gt;
resulting the flow of the 1st NW being deleted(overwritten)&lt;/p&gt;</comment>
                            <comment id="38363" author="ran-xiao@vf.jp.nec.com" created="Tue, 12 Sep 2017 06:56:33 +0000"  >&lt;p&gt;Patch created:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/63015&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/63015&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Waiting for review.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12583" name="ovs.tar.gz" size="916778" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:25:37 +0000"/>
                            <attachment id="12584" name="xaa" size="1000000" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:26:12 +0000"/>
                            <attachment id="12585" name="xab" size="1000000" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:26:35 +0000"/>
                            <attachment id="12586" name="xac" size="1000000" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:27:00 +0000"/>
                            <attachment id="12587" name="xad" size="1000000" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:27:48 +0000"/>
                            <attachment id="12588" name="xae" size="1000000" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:28:26 +0000"/>
                            <attachment id="12589" name="xaf" size="1000000" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:29:02 +0000"/>
                            <attachment id="12590" name="xag" size="1000000" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:29:46 +0000"/>
                            <attachment id="12591" name="xah" size="1000000" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:30:30 +0000"/>
                            <attachment id="12592" name="xai" size="1000000" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:32:49 +0000"/>
                            <attachment id="12593" name="xaj" size="1000000" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:33:35 +0000"/>
                            <attachment id="12594" name="xak" size="68040" author="ran-xiao@vf.jp.nec.com" created="Wed, 30 Aug 2017 05:34:11 +0000"/>
                    </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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9077</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=9077]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01uhz:</customfieldvalue>

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