<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:43 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-918] Regression: Controller fails to delete 100K flows from switches</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-918</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;This issue is happening in Carbon/Nitrogen (not in Boron), it is tracked here:&lt;/p&gt;

&lt;p&gt;To reproduce:&lt;/p&gt;

&lt;p&gt;1) Start mininet linear 32:&lt;br/&gt;
 sudo mn --controller &apos;remote,ip=192.168.0.1,port=6633&apos; --topo linear,32&lt;/p&gt;

&lt;p&gt;2) Push 100K flows (script available in int/test repo):&lt;br/&gt;
 python odl_tester.py --threads 5 --flows 100000 --no-delete --fpr 200&lt;/p&gt;

&lt;p&gt;Observe after 100K flows are added and controller is stable CPU is still very high.&lt;/p&gt;

&lt;p&gt;3) Remove flows from inventory:&lt;br/&gt;
 DELETE http://&lt;tt&gt;controller&lt;/tt&gt;:8181/restconf/config/opendaylight-inventory:nodes/&lt;/p&gt;

&lt;p&gt;Observe after 100K flows are removed and controller is stable, there are still flows in operational that never get removed.&lt;/p&gt;

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

&lt;p&gt;CSIT job for this test : &lt;a href=&quot;https://jenkins.opendaylight.org/releng/job/openflowplugin-csit-1node-periodic-scale-stats-collection-daily-only-carbon/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ttps://jenkins.opendaylight.org/releng/job/openflowplugin-csit-1node-periodic-scale-stats-collection-daily-only-carbon/&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28186">OPNFLWPLUG-918</key>
            <summary>Regression: Controller fails to delete 100K flows from switches</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="10003" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Confirmed</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="Avishnoi">Anil Vishnoi</assignee>
                                    <reporter username="ecelgp">Luis Gomez</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Jul 2017 05:04:14 +0000</created>
                <updated>Mon, 27 Sep 2021 09:28:22 +0000</updated>
                                            <version>Nitrogen</version>
                    <version>Oxygen</version>
                    <version>Fluorine</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="59039" author="ecelgp" created="Tue, 4 Jul 2017 20:17:10 +0000"  >&lt;p&gt;Forgot to add the link:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/job/openflowplugin-csit-1node-periodic-scale-stats-collection-daily-only-carbon/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/job/openflowplugin-csit-1node-periodic-scale-stats-collection-daily-only-carbon/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59040" author="tomas.slusny@pantheon.tech" created="Wed, 12 Jul 2017 08:49:16 +0000"  >&lt;p&gt;So it looks like on nitrogen this is already working, and on carbon it will be working after this cherry-pick will be merged: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/60196/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/60196/1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59041" author="tomas.slusny@pantheon.tech" created="Wed, 12 Jul 2017 08:50:34 +0000"  >&lt;p&gt;Oh sorry, wrong 100k flows bug, this was meant for 6755 one.&lt;/p&gt;</comment>
                            <comment id="59042" author="ecelgp" created="Mon, 31 Jul 2017 17:09:34 +0000"  >&lt;p&gt;This issue only happens in Carbon now and it is FRM related because flows are not removed from switch when we delete them in the inventory.&lt;/p&gt;</comment>
                            <comment id="59043" author="abhijit2511" created="Mon, 28 Aug 2017 16:25:41 +0000"  >&lt;p&gt;This is a regression for Carbon (throughout Carbon) - works in Boron and in Nitrogen.&lt;/p&gt;</comment>
                            <comment id="59044" author="tomas.slusny@pantheon.tech" created="Wed, 13 Sep 2017 14:30:40 +0000"  >&lt;p&gt;This is sporadically failing on Nitrogen too. Anyway, here is patch that will resolve this issue: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/63101/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/63101/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59045" author="ecelgp" created="Thu, 14 Sep 2017 04:37:32 +0000"  >&lt;p&gt;Yeah, also if you look at the karaf logs when it fails, there are few switch disconnects after DS is cleared in case of nitrogen and a bunch of disconnects in case of carbon. This means the controller gets so busy with the DS clear operation that it misses the ECHO requests from switches and these start to disconnect and reconnect aggravating the problem. If we do not fix this for nitrogen, i will open a blocker for carbon as the issue is much more apparent in carbon.&lt;/p&gt;</comment>
                            <comment id="59046" author="ecelgp" created="Sun, 17 Sep 2017 21:43:13 +0000"  >&lt;p&gt;BTW, to support my observation I started couple of tests with switch ECHO message disabled, and both passed in carbon and nitrogen:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-gate-scale-stats-collection-daily-only-carbon/154/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-gate-scale-stats-collection-daily-only-carbon/154/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-gate-scale-stats-collection-daily-only-nitrogen/281/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-gate-scale-stats-collection-daily-only-nitrogen/281/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;</comment>
                            <comment id="59047" author="tomas.slusny@pantheon.tech" created="Mon, 18 Sep 2017 06:59:51 +0000"  >&lt;p&gt;This was caused because of heavy load on Netty thread, what was caused probably by single-layer serialization. Explanation: with multi-layer, we are doing conversion on different thread and then serializing simple OFJ data structure. In single-layer, we are doing everything on Netty thread. Overall, it is faster by around 1/3 based on YourKit observations what I did during 100k flow test locally, but all load is on Netty thread, so it disconnects. My patch that I mentioned before solves this by pre-serializing data coming via single-layer and then sending raw bytes to netty thread, what causes almost no load on Netty thread.&lt;/p&gt;</comment>
                            <comment id="59048" author="ecelgp" created="Mon, 18 Sep 2017 16:58:19 +0000"  >&lt;p&gt;Right, you patch works in oxygen:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-gate-scale-stats-collection-daily-only-oxygen/13/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-gate-scale-stats-collection-daily-only-oxygen/13/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Do you want to cherry-pick to other branches now to test? or later when your patch is merged in master?&lt;/p&gt;</comment>
                            <comment id="59049" author="tomas.slusny@pantheon.tech" created="Fri, 22 Sep 2017 07:09:53 +0000"  >&lt;p&gt;After it will be merged probably.&lt;/p&gt;</comment>
                            <comment id="59050" author="tomas.slusny@pantheon.tech" created="Mon, 25 Sep 2017 12:47:33 +0000"  >&lt;p&gt;Created cherry-pick for stable/nitrogen: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/63491/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/63491/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cherry-pick to stable/carbon will come after that.&lt;/p&gt;</comment>
                            <comment id="59051" author="tomas.slusny@pantheon.tech" created="Mon, 25 Sep 2017 14:45:52 +0000"  >&lt;p&gt;stable/carbon: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/63496/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/63496/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59052" author="tomas.slusny@pantheon.tech" created="Tue, 26 Sep 2017 07:36:58 +0000"  >&lt;p&gt;Alright, updated the patch for stable/carbon, again I forgot to actually load the configuration flag to enable the preserialization.&lt;/p&gt;</comment>
                            <comment id="59053" author="shague@redhat.com" created="Tue, 26 Sep 2017 14:04:47 +0000"  >&lt;p&gt;Tomas, does this patch also cover what was in &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/62792/?&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/62792/?&lt;/a&gt; that patch also had bug-8787 and was abandoned.&lt;/p&gt;

&lt;p&gt;That abandoned patch was also supposed to fix &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=7826&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=7826&lt;/a&gt;, but it didn&apos;t so also wondering if 7826 is fixed in this patch now?&lt;/p&gt;</comment>
                            <comment id="59054" author="tomas.slusny@pantheon.tech" created="Tue, 26 Sep 2017 14:49:14 +0000"  >&lt;p&gt;No, the flow-related patch tried to improve performance of flow deletion, but it did not (and also caused more issues) so I abandoned it as current method for flow deletion what we are using seems more performant. Also, that patch was never supposed to solve &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-858&quot; title=&quot;Data validation failed for path /(nodes/node/node/../group-id&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-858&quot;&gt;&lt;del&gt;OPNFLWPLUG-858&lt;/del&gt;&lt;/a&gt; i just told Sunil about it because he was looking at device registries and I did some modifications to registries and deletion of marks there.&lt;/p&gt;

&lt;p&gt;This current patch that solves this issue do not modifies the registry at all, so it will not help the &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-858&quot; title=&quot;Data validation failed for path /(nodes/node/node/../group-id&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-858&quot;&gt;&lt;del&gt;OPNFLWPLUG-858&lt;/del&gt;&lt;/a&gt; after it will be merged.&lt;/p&gt;</comment>
                            <comment id="59055" author="ecelgp" created="Wed, 27 Sep 2017 15:40:45 +0000"  >&lt;p&gt;Last patch seems to work so we can close this bug after it is merged.&lt;/p&gt;</comment>
                            <comment id="59056" author="tomas.slusny@pantheon.tech" created="Fri, 29 Sep 2017 11:27:08 +0000"  >&lt;p&gt;The patches was not working for extensions, so updated them to include real calls to serialization registry. Unfortunately that required changes in OFJ, and for stable/carbon it is stil separate project, so here is additional patch for OFJ for stable/carbon: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/63843/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/63843/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59057" author="ecelgp" created="Wed, 4 Oct 2017 02:07:06 +0000"  >&lt;p&gt;We have this issue in all branches because no patch has been merged yet.&lt;/p&gt;</comment>
                            <comment id="59058" author="abhijit2511" created="Mon, 16 Oct 2017 16:10:25 +0000"  >&lt;p&gt;Moving it to Arun.&lt;/p&gt;</comment>
                            <comment id="59843" author="abhijit2511" created="Mon, 30 Oct 2017 16:12:01 +0000"  >&lt;p&gt;Anil reviewing these set of patches:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:bug/8787+status:open&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:bug/8787+status:open&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="61432" author="ecelgp" created="Tue, 6 Mar 2018 06:00:12 +0000"  >&lt;p&gt;From last test results:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Carbon controller is not able to delete flows from switches: this is where we see switches disconnecting.&lt;/li&gt;
	&lt;li&gt;Nitrogen and Oxygen controller delete flows from switches but stats are not correct (show flows in operational inventory).&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="63379" author="ecelgp" created="Mon, 11 Jun 2018 01:03:19 +0000"  >&lt;p&gt;This job started to work after adjusting 2 things:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;poll stats interval: 3 -&amp;gt; 10 sec.&lt;/li&gt;
	&lt;li&gt;disable switch echo messages.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I think we still have issue of echo messages not responded when controller is busy, so I will leave this bug open for now reducing severity to Major.&lt;/p&gt;</comment>
                            <comment id="63389" author="vishnoianil@gmail.com" created="Mon, 11 Jun 2018 16:11:43 +0000"  >&lt;p&gt;Ideally this test should with without the above mentioned workaround. This bug is kept open to address this issue without the above workaround.&lt;/p&gt;</comment>
                            <comment id="63663" author="vishnoianil@gmail.com" created="Mon, 25 Jun 2018 15:55:48 +0000"  >&lt;p&gt;Given that we have a workaround for this issue, reducing the priority.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="28158">OPNFLWPLUG-890</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8787</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=8787]]></customfieldvalue>

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

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