<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:40 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-505] stats for 80k fows not collected properly after mininet restart</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-505</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;odl: &lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/automatedweeklyreleases-1065/org/opendaylight/integration/distribution-karaf/0.3.0-Lithium-RC1-v201506170015/distribution-karaf-0.3.0-Lithium-RC1-v201506170015.tar.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories/automatedweeklyreleases-1065/org/opendaylight/integration/distribution-karaf/0.3.0-Lithium-RC1-v201506170015/distribution-karaf-0.3.0-Lithium-RC1-v201506170015.tar.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;features: odl-openflowplugin-flow-services-ui&lt;/p&gt;


&lt;p&gt;steps to reproduce:&lt;br/&gt;
1) connect mininet with 63 switches&lt;br/&gt;
sudo mn --controller=remote,ip=10.25.2.9 --topo tree,6 --switch ovsk,protocols=OpenFlow13&lt;/p&gt;

&lt;p&gt;2) configure 80k flows using &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;/p&gt;

&lt;p&gt;3) once flows are configured you can restart mininet&lt;/p&gt;


&lt;p&gt;the script output looks like&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;Test summary:&lt;br/&gt;
    Elapsed time:    87.66s&lt;br/&gt;
    Peak requests/s: 46.98 OK, 46.98 Total&lt;br/&gt;
    Peak flows/s:    939.62 OK, 939.62 Total&lt;br/&gt;
    Avg. requests/s: 45.63 OK, 45.63 Total (97.13% of peak total)&lt;br/&gt;
    Avg. flows/s:    912.67 OK, 912.67 Total (97.13% of peak total)&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;Total flows added: 80000&lt;br/&gt;
    HTTP&lt;span class=&quot;error&quot;&gt;&amp;#91;OK&amp;#93;&lt;/span&gt; results:  4000&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;(1434538519.780677, 63, 29767, 26360)&lt;br/&gt;
(1434538547.42563, 63, 39727, 35980)&lt;br/&gt;
(1434538579.425267, 63, 52067, 48660)&lt;br/&gt;
(1434538611.199114, 63, 63947, 60860)&lt;br/&gt;
(1434538647.436588, 63, 74727, 72600)&lt;br/&gt;
(1434538679.702498, 63, 80567, 80000)&lt;br/&gt;
(1434538709.464098, 63, 80567, 80000)&lt;br/&gt;
Could not retrieve inventory, response not in JSON format  HERE MINIENT WAS RESTARTED&lt;br/&gt;
(1434538721.380539, 0, 0, 0)&lt;br/&gt;
Could not retrieve inventory, response not in JSON format  &lt;br/&gt;
(1434538751.394594, 0, 0, 0)&lt;br/&gt;
Could not retrieve inventory, response not in JSON format&lt;br/&gt;
(1434538781.423616, 0, 0, 0)&lt;br/&gt;
Could not retrieve inventory, response not in JSON format&lt;br/&gt;
(1434538811.434752, 0, 0, 0)&lt;br/&gt;
(1434538841.66587, 30, 1289, 1280)&lt;br/&gt;
(1434538873.432987, 54, 11801, 13020)&lt;br/&gt;
(1434538904.859306, 63, 18286, 22440)&lt;br/&gt;
(1434538936.936223, 63, 35583, 33900)&lt;br/&gt;
(1434538968.239737, 63, 43110, 42813)&lt;br/&gt;
(1434539000.265855, 63, 53202, 54133)&lt;br/&gt;
(1434539031.529655, 63, 62934, 62493)&lt;br/&gt;
(1434539063.868791, 63, 74335, 73813)&lt;br/&gt;
(1434539102.517058, 63, 80560, 79993)   only 79993 out of 80k present in the inventory&lt;br/&gt;
(1434539129.367053, 63, 80560, 79993)&lt;br/&gt;
(1434539159.691142, 63, 80560, 79993)&lt;br/&gt;
(1434539189.831279, 63, 80560, 79993)&lt;br/&gt;
(1434539219.873444, 63, 80560, 79993)&lt;br/&gt;
(1434539249.604617, 63, 80560, 79993)&lt;br/&gt;
(1434539279.611363, 63, 80560, 79993)&lt;/p&gt;

&lt;p&gt;Deleting all flows in bulk:&lt;br/&gt;
   All flows deleted.&lt;br/&gt;
(1434539299.211172, 63, 80560, 79993)&lt;br/&gt;
(1434539314.711525, 63, 567, 0)&lt;br/&gt;
(1434539344.687325, 63, 567, 0)&lt;br/&gt;
(1434539374.741245, 63, 567, 0)&lt;br/&gt;
(1434539404.618388, 63, 567, 0)&lt;br/&gt;
(1434539434.671081, 63, 567, 0)&lt;br/&gt;
(1434539464.632976, 63, 567, 0)&lt;br/&gt;
(1434539494.923816, 63, 567, 0)&lt;/p&gt;


&lt;p&gt;And the log is full of warnings like this:&lt;/p&gt;

&lt;p&gt;2015-06-17 10:58:22,292 | WARN  | nPool-7-worker-3 | StatRpcMsgManagerImpl            | 195 - org.opendaylight.openflowplugin.applications.statistics-manager - 0.1.0.Lithium-RC1-v201506170015 | Response Registration for Statistics RPC call fail!&lt;br/&gt;
org.opendaylight.controller.md.sal.dom.api.DOMRpcImplementationNotAvailableException: No local or remote implementation available for rpc AbsoluteSchemaPath&lt;/p&gt;
{path=[(urn:opendaylight:flow:statistics?revision=2013-08-19)get-aggregate-flow-statistics-from-flow-table-for-all-flows]}
&lt;p&gt;        at org.opendaylight.controller.remote.rpc.RemoteRpcImplementation$1.onComplete(RemoteRpcImplementation.java:57)&lt;span class=&quot;error&quot;&gt;&amp;#91;178:org.opendaylight.controller.sal-remoterpc-connector:1.2.0.Lithium-RC1-v201506170015&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.remote.rpc.RemoteRpcImplementation$1.onComplete(RemoteRpcImplementation.java:48)&lt;span class=&quot;error&quot;&gt;&amp;#91;178:org.opendaylight.controller.sal-remoterpc-connector:1.2.0.Lithium-RC1-v201506170015&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at akka.dispatch.OnComplete.internal(Future.scala:248)&lt;span class=&quot;error&quot;&gt;&amp;#91;164:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at akka.dispatch.OnComplete.internal(Future.scala:245)&lt;span class=&quot;error&quot;&gt;&amp;#91;164:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at akka.dispatch.japi$CallbackBridge.apply(Future.scala:175)&lt;span class=&quot;error&quot;&gt;&amp;#91;164:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at akka.dispatch.japi$CallbackBridge.apply(Future.scala:172)&lt;span class=&quot;error&quot;&gt;&amp;#91;164:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)&lt;span class=&quot;error&quot;&gt;&amp;#91;161:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at scala.concurrent.impl.ExecutionContextImpl$$anon$3.exec(ExecutionContextImpl.scala:107)&lt;span class=&quot;error&quot;&gt;&amp;#91;161:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)&lt;span class=&quot;error&quot;&gt;&amp;#91;161:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)&lt;span class=&quot;error&quot;&gt;&amp;#91;161:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)&lt;span class=&quot;error&quot;&gt;&amp;#91;161:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)&lt;span class=&quot;error&quot;&gt;&amp;#91;161:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27773">OPNFLWPLUG-505</key>
            <summary>stats for 80k fows not collected properly after mininet restart</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="michal.rehak">Michal Rehak</assignee>
                                    <reporter username="pgubka@cisco.com">Peter Gubka</reporter>
                        <labels>
                    </labels>
                <created>Wed, 17 Jun 2015 12:05:32 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:35 +0000</updated>
                            <resolved>Wed, 27 Jan 2016 12:12:20 +0000</resolved>
                                                                    <component>General</component>
                        <due>Fri, 18 Dec 2015 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="57137" author="pgubka@cisco.com" created="Wed, 17 Jun 2015 12:05:32 +0000"  >&lt;p&gt;Attachment karaf.log.zip has been added with description: karaf log&lt;/p&gt;</comment>
                            <comment id="57129" author="tony.tkacik@gmail.com" created="Fri, 19 Jun 2015 07:01:59 +0000"  >&lt;p&gt;org.opendaylight.controller.md.sal.dom.api.DOMRpcImplementationNotAvailableException: No local or remote implementation available for rpc AbsoluteSchemaPath&lt;/p&gt;
{path=[(urn:opendaylight:flow:statistics?revision=2013-08-19)get-aggregate-flow-statistics-from-flow-table-for-all-flows]}
&lt;p&gt;        at &lt;/p&gt;

&lt;p&gt;Openflow RPC service for statistics was deregistered / removed - that probably means connection with device was lost.&lt;/p&gt;</comment>
                            <comment id="57130" author="pgubka@cisco.com" created="Mon, 22 Jun 2015 11:19:05 +0000"  >&lt;p&gt;This happened to the  non-redesign openflow plugin on Lithiun RC2-June22 build&lt;/p&gt;

&lt;p&gt;installed feature: odl-openflowplugin-flow-services-ui&lt;/p&gt;

&lt;p&gt;(1434965020.012154, 63, 80567, 80000)&lt;br/&gt;
(1434965049.882792, 63, 80567, 80000)    BEFORE MININET RESTART ALL 80k collected&lt;br/&gt;
(1434965064.716717, 18, 23042, 22880)&lt;br/&gt;
Could not retrieve inventory, response not in JSON format&lt;br/&gt;
(1434965091.104716, 0, 0, 0)&lt;br/&gt;
Could not retrieve inventory, response not in JSON format&lt;br/&gt;
(1434965121.131391, 0, 0, 0)&lt;br/&gt;
Could not retrieve inventory, response not in JSON format&lt;br/&gt;
(1434965151.161517, 0, 0, 0)&lt;br/&gt;
(1434965182.064277, 41, 2758, 5660)&lt;br/&gt;
(1434965213.734086, 58, 10972, 15786)&lt;br/&gt;
(1434965244.836881, 63, 18508, 23042)&lt;br/&gt;
(1434965276.703612, 63, 34385, 34142)&lt;br/&gt;
(1434965308.134891, 63, 44780, 44465)&lt;br/&gt;
(1434965339.957712, 63, 51405, 53145)&lt;br/&gt;
(1434965372.153158, 63, 59728, 64265)&lt;br/&gt;
(1434965403.825408, 63, 71149, 73485)&lt;br/&gt;
(1434965441.924653, 63, 80172, 79605)    AFTER MININET RESTART only 79605 out of 80k collected&lt;br/&gt;
(1434965470.254282, 63, 80172, 79605)&lt;/p&gt;

&lt;p&gt;Deleting all flows in bulk:&lt;br/&gt;
   All flows deleted.&lt;br/&gt;
(1434965491.599416, 63, 78972, 79605)&lt;br/&gt;
(1434965508.314167, 63, 763, 196)           ADDITIONALLY after delete all flow from config, 196 flows still appearing in operational&lt;br/&gt;
(1434965538.112324, 63, 763, 196)&lt;br/&gt;
(1434965568.359745, 63, 763, 196)&lt;br/&gt;
(1434965598.340699, 63, 763, 196)&lt;br/&gt;
(1434965628.328266, 63, 763, 196)&lt;br/&gt;
(1434965658.237726, 63, 763, 196)&lt;br/&gt;
(1434965688.384579, 63, 763, 196)&lt;/p&gt;</comment>
                            <comment id="57138" author="pgubka@cisco.com" created="Mon, 22 Jun 2015 11:19:05 +0000"  >&lt;p&gt;Attachment karaf.log.RC2_He has been added with description: karaf log&lt;/p&gt;</comment>
                            <comment id="57131" author="abhijit2511" created="Fri, 25 Sep 2015 17:54:02 +0000"  >&lt;p&gt;Kavitha,&lt;/p&gt;

&lt;p&gt;Do you intend to fix this after M5 or before?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Abhijit&lt;/p&gt;</comment>
                            <comment id="57132" author="abhijit2511" created="Fri, 9 Oct 2015 17:20:24 +0000"  >&lt;p&gt;Changed the deadline to be after M5&lt;/p&gt;</comment>
                            <comment id="57133" author="abhijit2511" created="Tue, 1 Dec 2015 17:56:23 +0000"  >&lt;p&gt;Michal will be working on this at a higher priority&lt;/p&gt;</comment>
                            <comment id="57134" author="mirehak@cisco.com" created="Fri, 8 Jan 2016 17:34:28 +0000"  >&lt;p&gt;master:  &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/31604&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/31604&lt;/a&gt;&lt;br/&gt;
         &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/30968&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/30968&lt;/a&gt;&lt;br/&gt;
lithium: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/31533&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/31533&lt;/a&gt;&lt;br/&gt;
         &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/30981&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/30981&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="57135" author="abhijit2511" created="Mon, 25 Jan 2016 03:37:31 +0000"  >&lt;p&gt;Michal - since this is merged - can you mark it resolved fixed?&lt;/p&gt;</comment>
                            <comment id="57136" author="mirehak@cisco.com" created="Wed, 27 Jan 2016 12:12:20 +0000"  >&lt;p&gt;Testing is still in progress but there is already extraordinary amount of successful consequent test runs.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14002" name="karaf.log.RC2_He" size="765302" author="pgubka@cisco.com" created="Mon, 22 Jun 2015 11:19:05 +0000"/>
                            <attachment id="14001" name="karaf.log.zip" size="31330" author="pgubka@cisco.com" created="Wed, 17 Jun 2015 12:05:32 +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>3774</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=3774]]></customfieldvalue>

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

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

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