<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:39 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>[OPNFLWPLUG-501] flows not removed from the switch when 80k flows configured</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-501</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;tested odl: Lithium RC1 June15 version&lt;/p&gt;

&lt;p&gt;steps:&lt;br/&gt;
1 connect mininet, 63 switches, &lt;br/&gt;
2) runs the script &lt;br/&gt;
test/tools/odl-mdsal-clustering-tests/clustering-performance-test/flow_stats_stability_monitor.py  --host 10.25.2.9 --auth --fpr 20  --config_monitor 750 --deconfig_monitor 200 --monitor_period 30 --flows 16000 --threads 5 --bulk-delete&lt;br/&gt;
3) once 80k flows configured, restart mininet&lt;/p&gt;


&lt;p&gt;this is not replicable on demand, it happened once&lt;br/&gt;
after flows were deconfigured, 2520 were not removed from the switch&lt;/p&gt;



&lt;p&gt;linux-gnu&amp;gt;./get-total-found.sh &lt;br/&gt;
Switch s1: 0 flows&lt;br/&gt;
Switch s2: 0 flows&lt;br/&gt;
...&lt;br/&gt;
Switch s19: 0 flows&lt;br/&gt;
Switch s20: 0 flows&lt;br/&gt;
Switch s21: 0 flows&lt;br/&gt;
Switch s22: 1260 flows&lt;br/&gt;
Switch s23: 0 flows&lt;br/&gt;
Switch s24: 0 flows&lt;br/&gt;
Switch s25: 0 flows&lt;br/&gt;
Switch s26: 0 flows&lt;br/&gt;
Switch s27: 0 flows&lt;br/&gt;
Switch s28: 0 flows&lt;br/&gt;
Switch s29: 0 flows&lt;br/&gt;
Switch s30: 1260 flows&lt;br/&gt;
Switch s31: 0 flows&lt;br/&gt;
Switch s32: 0 flows&lt;br/&gt;
...&lt;br/&gt;
Switch s61: 0 flows&lt;br/&gt;
Switch s62: 0 flows&lt;br/&gt;
Switch s63: 0 flows&lt;/p&gt;

&lt;p&gt;Total: 2520&lt;/p&gt;


&lt;p&gt;The switches with flows are mentioned in the log more times than usual switch &lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;odl@pce-guest32 distribution-karaf-0.3.0-Lithium-RC1-v201506150016&amp;#93;&lt;/span&gt;$ grep -r openflow:30 | wc -l&lt;br/&gt;
13&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;odl@pce-guest32 distribution-karaf-0.3.0-Lithium-RC1-v201506150016&amp;#93;&lt;/span&gt;$ grep -r openflow:22 | wc -l&lt;br/&gt;
13&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;odl@pce-guest32 distribution-karaf-0.3.0-Lithium-RC1-v201506150016&amp;#93;&lt;/span&gt;$ grep -r openflow:11 | wc -l&lt;br/&gt;
9&lt;/p&gt;


&lt;p&gt;I have not foung anythong suspicious, please have a look why this happened&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27769">OPNFLWPLUG-501</key>
            <summary>flows not removed from the switch when 80k flows configured</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="batky">Jozef Bacigal</assignee>
                                    <reporter username="pgubka@cisco.com">Peter Gubka</reporter>
                        <labels>
                    </labels>
                <created>Mon, 15 Jun 2015 13:23:26 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:35 +0000</updated>
                            <resolved>Tue, 15 Mar 2016 08:26:37 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="57096" author="pgubka@cisco.com" created="Mon, 15 Jun 2015 13:23:26 +0000"  >&lt;p&gt;Attachment stdout.log has been added with description: test stdout&lt;/p&gt;</comment>
                            <comment id="57097" author="pgubka@cisco.com" created="Mon, 15 Jun 2015 13:23:56 +0000"  >&lt;p&gt;Attachment karaf.log has been added with description: karaf.log&lt;/p&gt;</comment>
                            <comment id="57086" author="abhijit2511" created="Tue, 16 Jun 2015 01:09:05 +0000"  >&lt;p&gt;From meeting minutes of the meeting June 15:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=3735&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=3735&lt;/a&gt; &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-501&quot; title=&quot;flows not removed from the switch when 80k flows configured&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-501&quot;&gt;&lt;del&gt;OPNFLWPLUG-501&lt;/del&gt;&lt;/a&gt; - flows not removed from the switch when 80k flows configured (abhijitkumbhare, 16:18:55)&lt;br/&gt;
*michal_rehak says probably clean the device of flows when switch connects (but will need to be configurable - which will need API change) (abhijitkumbhare, 16:21:05)&lt;/li&gt;
	&lt;li&gt;abhijitkumbhare &amp;amp; LuisGomez say this is not a blocker (abhijitkumbhare, 16:22:42)&lt;/li&gt;
	&lt;li&gt;Clarification: abhijitkumbhare thinks this may be too late to fix (abhijitkumbhare, 16:24:38)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;We will not be fixing this in Lithium release - as it was decided in the meeting this needs more thought and needs to be done in Beryllium.&lt;/p&gt;</comment>
                            <comment id="57087" author="pgubka@cisco.com" created="Thu, 18 Jun 2015 14:59:46 +0000"  >&lt;p&gt;the issue was initially observed when testing Lithium RC1 from June 15 for Lithium designed plugin (odl-openflowplugin-flow-services-ui-li)&lt;/p&gt;


&lt;p&gt;The issue was also observed today while testing distribution-karaf-0.3.0-Lithium-RC1-v201506180115.tar.gz and the old-designed plugin (odl-openflowplugin-flow-services-ui). Log in attachment.&lt;/p&gt;</comment>
                            <comment id="57098" author="pgubka@cisco.com" created="Thu, 18 Jun 2015 14:59:46 +0000"  >&lt;p&gt;Attachment karaf.log has been added with description: He designed log&lt;/p&gt;</comment>
                            <comment id="57088" author="hariharan_sethuraman@dell.com" created="Tue, 28 Jul 2015 15:16:06 +0000"  >&lt;p&gt;Will start looking into this.&lt;/p&gt;</comment>
                            <comment id="57089" author="hariharan_sethuraman@dell.com" created="Fri, 7 Aug 2015 16:20:41 +0000"  >&lt;p&gt;Hi Peter,&lt;/p&gt;

&lt;p&gt;Need more information on this bug.&lt;/p&gt;

&lt;p&gt;1)	Pasted the steps from the bug summary. Could you let me know if the script was  running bulk-delete while you restarted the mininet? &lt;br/&gt;
2)	Generally when you restart the mininet, the flows will be reprogrammed onto the switch as flows are still in configuration data-store. I wonder why other switches don&#8217;t show flows count.&lt;br/&gt;
3)	Does it mean the bulk-delete haven&#8217;t completed (on switches under question) while you took the snapshot of get-total-found.sh output?&lt;/p&gt;

&lt;p&gt;Michal, &lt;br/&gt;
I see your suggestion is to have a configurable function which will delete the flows when operational data-store don&#8217;t have flows. Hope you suggested to delete the flows from configuration data store &#8211; correct?&lt;/p&gt;

&lt;p&gt;&amp;lt;Snipped from bug description&amp;gt;&lt;/p&gt;

&lt;p&gt;steps:&lt;br/&gt;
1 connect mininet, 63 switches, &lt;br/&gt;
2) runs the script &lt;br/&gt;
test/tools/odl-mdsal-clustering-tests/clustering-performance-test/flow_stats_stability_monitor.py  --host 10.25.2.9 --auth --fpr 20  --config_monitor 750 --deconfig_monitor 200 --monitor_period 30 --flows 16000 --threads 5 --bulk-delete&lt;br/&gt;
3) once 80k flows configured, restart mininet&lt;/p&gt;


&lt;p&gt;this is not replicable on demand, it happened once&lt;br/&gt;
after flows were deconfigured, 2520 were not removed from the switch&lt;/p&gt;


&lt;p&gt;linux-gnu&amp;gt;./get-total-found.sh &lt;br/&gt;
Switch s1: 0 flows&lt;br/&gt;
Switch s2: 0 flows&lt;br/&gt;
...&lt;br/&gt;
Switch s19: 0 flows&lt;br/&gt;
Switch s20: 0 flows&lt;br/&gt;
Switch s21: 0 flows&lt;br/&gt;
Switch s22: 1260 flows&lt;br/&gt;
Switch s23: 0 flows&lt;br/&gt;
Switch s24: 0 flows&lt;br/&gt;
Switch s25: 0 flows&lt;br/&gt;
Switch s26: 0 flows&lt;br/&gt;
Switch s27: 0 flows&lt;br/&gt;
Switch s28: 0 flows&lt;br/&gt;
Switch s29: 0 flows&lt;br/&gt;
Switch s30: 1260 flows&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Hari&lt;/p&gt;</comment>
                            <comment id="57090" author="hariharan_sethuraman@dell.com" created="Mon, 17 Aug 2015 04:45:04 +0000"  >&lt;p&gt;(In reply to Hariharan Sethuraman from comment #5)&lt;br/&gt;
&amp;gt; Hi Peter,&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Need more information on this bug.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; 1)	Pasted the steps from the bug summary. Could you let me know if the&lt;br/&gt;
&amp;gt; script was  running bulk-delete while you restarted the mininet? &lt;br/&gt;
&amp;gt; 2)	Generally when you restart the mininet, the flows will be reprogrammed&lt;br/&gt;
&amp;gt; onto the switch as flows are still in configuration data-store. I wonder why&lt;br/&gt;
&amp;gt; other switches don&#8217;t show flows count.&lt;br/&gt;
&amp;gt; 3)	Does it mean the bulk-delete haven&#8217;t completed (on switches under&lt;br/&gt;
&amp;gt; question) while you took the snapshot of get-total-found.sh output?&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Michal, &lt;br/&gt;
&amp;gt; I see your suggestion is to have a configurable function which will delete&lt;br/&gt;
&amp;gt; the flows when operational data-store don&#8217;t have flows. Hope you suggested&lt;br/&gt;
&amp;gt; to delete the flows from configuration data store &#8211; correct?&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &amp;lt;Snipped from bug description&amp;gt;&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; steps:&lt;br/&gt;
&amp;gt; 1 connect mininet, 63 switches, &lt;br/&gt;
&amp;gt; 2) runs the script &lt;br/&gt;
&amp;gt; test/tools/odl-mdsal-clustering-tests/clustering-performance-test/&lt;br/&gt;
&amp;gt; flow_stats_stability_monitor.py  --host 10.25.2.9 --auth --fpr 20 &lt;br/&gt;
&amp;gt; --config_monitor 750 --deconfig_monitor 200 --monitor_period 30 --flows&lt;br/&gt;
&amp;gt; 16000 --threads 5 --bulk-delete&lt;br/&gt;
&amp;gt; 3) once 80k flows configured, restart mininet&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; this is not replicable on demand, it happened once&lt;br/&gt;
&amp;gt; after flows were deconfigured, 2520 were not removed from the switch&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; linux-gnu&amp;gt;./get-total-found.sh &lt;br/&gt;
&amp;gt; Switch s1: 0 flows&lt;br/&gt;
&amp;gt; Switch s2: 0 flows&lt;br/&gt;
&amp;gt; ...&lt;br/&gt;
&amp;gt; Switch s19: 0 flows&lt;br/&gt;
&amp;gt; Switch s20: 0 flows&lt;br/&gt;
&amp;gt; Switch s21: 0 flows&lt;br/&gt;
&amp;gt; Switch s22: 1260 flows&lt;br/&gt;
&amp;gt; Switch s23: 0 flows&lt;br/&gt;
&amp;gt; Switch s24: 0 flows&lt;br/&gt;
&amp;gt; Switch s25: 0 flows&lt;br/&gt;
&amp;gt; Switch s26: 0 flows&lt;br/&gt;
&amp;gt; Switch s27: 0 flows&lt;br/&gt;
&amp;gt; Switch s28: 0 flows&lt;br/&gt;
&amp;gt; Switch s29: 0 flows&lt;br/&gt;
&amp;gt; Switch s30: 1260 flows&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Thanks,&lt;br/&gt;
&amp;gt; Hari&lt;/p&gt;

&lt;p&gt;I can reproduce it consistently. Please ignore my information request. Thanks.&lt;/p&gt;</comment>
                            <comment id="57091" author="hariharan_sethuraman@dell.com" created="Tue, 18 Aug 2015 05:00:40 +0000"  >&lt;p&gt;From the reproduced setup logs - device got disconnected just before nodes deletion from config data store. So, after deletion the device however reconnects and wont have any effect and flows in device remain intact. This should be covered as part of flow reconciliation.&lt;/p&gt;

&lt;p&gt;It is difficult to distinguish between the above explained scenario and manually flows programmed directly on the switch case.&lt;/p&gt;</comment>
                            <comment id="57092" author="hariharan_sethuraman@dell.com" created="Mon, 24 Aug 2015 04:44:35 +0000"  >&lt;p&gt;Will be auto-addressed when flow reconciliation is implemented&lt;/p&gt;</comment>
                            <comment id="57093" author="abhijit2511" created="Fri, 25 Sep 2015 17:22:35 +0000"  >&lt;p&gt;Since Hari&apos;s comments indicate this will be addressed as part of reconciliation&lt;/p&gt;</comment>
                            <comment id="57094" author="abhijit2511" created="Fri, 25 Sep 2015 17:28:12 +0000"  >&lt;p&gt;Lowering the priority of this. Luis &amp;amp; I were thinking this may not even be a bug - just keeping it to be explored when get a chance in future.&lt;/p&gt;</comment>
                            <comment id="57095" author="abhijit2511" created="Tue, 10 Nov 2015 20:29:21 +0000"  >&lt;p&gt;Muthu,&lt;/p&gt;

&lt;p&gt;Will this be fixed as part of reconciliation?&lt;/p&gt;

&lt;p&gt;Abhijit&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="27805">OPNFLWPLUG-537</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13998" name="karaf.log" size="967984" author="pgubka@cisco.com" created="Thu, 18 Jun 2015 14:59:46 +0000"/>
                            <attachment id="13997" name="karaf.log" size="296576" author="pgubka@cisco.com" created="Mon, 15 Jun 2015 13:23:56 +0000"/>
                            <attachment id="13996" name="stdout.log" size="3390" author="pgubka@cisco.com" created="Mon, 15 Jun 2015 13:23:26 +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>3735</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=3735]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10317"><![CDATA[Beryllium]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10312"><![CDATA[High]]></customfieldvalue>

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

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