<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:02 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>[CONTROLLER-852] IllegalStateExceptions observed when flows are being added to the controller</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-852</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;The following java.lang.IllegalStateException exceptions are being observed while flows are being added to the controller via the REST API:&lt;/p&gt;

&lt;p&gt;Exception in thread &quot;CommitFutures-181&quot; java.lang.IllegalStateException: Illegal state - listener for org.opendaylight.controller.md.sal.dom.broker.impl.DOMDataBrokerTransactionChainImpl@5d89004d was invoked for incorrect chain org.opendaylight.controller.md.sal.binding.impl.BindingTranslatedTransactionChain@4d72ef34.&lt;br/&gt;
	at com.google.common.base.Preconditions.checkState(Preconditions.java:176)&lt;br/&gt;
	at org.opendaylight.controller.md.sal.binding.impl.BindingTranslatedTransactionChain$DelegateChainListener.onTransactionChainFailed(BindingTranslatedTransactionChain.java:126)&lt;br/&gt;
	at org.opendaylight.controller.md.sal.binding.impl.BindingTranslatedTransactionChain.failTransactionChain(BindingTranslatedTransactionChain.java:113)&lt;br/&gt;
	at org.opendaylight.controller.md.sal.binding.impl.BindingTranslatedTransactionChain.access$200(BindingTranslatedTransactionChain.java:31)&lt;br/&gt;
	at org.opendaylight.controller.md.sal.binding.impl.BindingTranslatedTransactionChain$3.onFailure(BindingTranslatedTransactionChain.java:94)&lt;br/&gt;
	at com.google.common.util.concurrent.Futures$4.run(Futures.java:1140)&lt;br/&gt;
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)&lt;br/&gt;
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:745)&lt;/p&gt;

&lt;p&gt;To reproduce, start mininet with:&lt;br/&gt;
sudo mn --controller=remote,ip=192.168.162.1:6653 --topo tree,3 --switch ovsk,protocols=OpenFlow13&lt;/p&gt;

&lt;p&gt;Then use the attached script with the following command line:&lt;br/&gt;
python flow_config_perf.py --nflows 1000 --nthreads=5 --ncycles 10 --delay=60&lt;/p&gt;

&lt;p&gt;The script will first add then delete 50k flows into the controller.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25406">CONTROLLER-852</key>
            <summary>IllegalStateExceptions observed when flows are being added to the controller</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jmedved@cisco.com">Jan Medved</reporter>
                        <labels>
                    </labels>
                <created>Wed, 17 Sep 2014 23:29:57 +0000</created>
                <updated>Thu, 19 Oct 2017 21:26:46 +0000</updated>
                            <resolved>Tue, 5 May 2015 07:00:58 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="49240" author="jmedved@cisco.com" created="Wed, 17 Sep 2014 23:29:57 +0000"  >&lt;p&gt;Attachment flow_config_perf.py has been added with description: Flow config script&lt;/p&gt;</comment>
                            <comment id="49235" author="jmedved@cisco.com" created="Thu, 18 Sep 2014 00:22:09 +0000"  >&lt;p&gt;The delete rate is progressively slowing down:&lt;br/&gt;
Cycle 0:&lt;br/&gt;
Thread 2: Deleting 1000 flows on 7 nodes&lt;br/&gt;
Thread 4: Deleting 1000 flows on 7 nodes&lt;br/&gt;
Thread 1: Deleting 1000 flows on 7 nodes&lt;br/&gt;
Thread 0: Deleting 1000 flows on 7 nodes&lt;br/&gt;
Thread 3: Deleting 1000 flows on 7 nodes&lt;/p&gt;



&lt;p&gt;    Thread 4: &lt;br/&gt;
        Delete time: 580.74,&lt;br/&gt;
        Delete success rate:  1.72, Delete total rate: 1.72&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Thread 2: &lt;br/&gt;
        Delete time: 583.39,&lt;br/&gt;
        Delete success rate:  1.71, Delete total rate: 1.71&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Thread 3: &lt;br/&gt;
        Delete time: 588.14,&lt;br/&gt;
        Delete success rate:  1.70, Delete total rate: 1.70&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Thread 1: &lt;br/&gt;
        Delete time: 589.78,&lt;br/&gt;
        Delete success rate:  1.70, Delete total rate: 1.70&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Thread 0: &lt;br/&gt;
        Delete time: 589.40,&lt;br/&gt;
        Delete success rate:  1.70, Delete total rate: 1.70&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Overall success rate:  8.53, Overall rate: 8.53&lt;/p&gt;

&lt;p&gt;Cycle 1:&lt;br/&gt;
Thread 0: Deleting 1000 flows on 7 nodes&lt;br/&gt;
Thread 3: Deleting 1000 flows on 7 nodes&lt;br/&gt;
Thread 1: Deleting 1000 flows on 7 nodes&lt;br/&gt;
Thread 2: Deleting 1000 flows on 7 nodes&lt;br/&gt;
Thread 4: Deleting 1000 flows on 7 nodes&lt;br/&gt;
    Thread 2: &lt;br/&gt;
        Delete time: 1145.62,&lt;br/&gt;
        Delete success rate:  0.87, Delete total rate: 0.87&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Thread 0: &lt;br/&gt;
        Delete time: 1147.30,&lt;br/&gt;
        Delete success rate:  0.87, Delete total rate: 0.87&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Thread 4: &lt;br/&gt;
        Delete time: 1148.48,&lt;br/&gt;
        Delete success rate:  0.87, Delete total rate: 0.87&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Thread 3: &lt;br/&gt;
        Delete time: 1149.67,&lt;br/&gt;
        Delete success rate:  0.87, Delete total rate: 0.87&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Thread 1: &lt;br/&gt;
        Delete time: 1149.85,&lt;br/&gt;
        Delete success rate:  0.87, Delete total rate: 0.87&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Overall success rate:  4.35, Overall rate: 4.35&lt;/p&gt;

&lt;p&gt;Cycle 2:&lt;br/&gt;
Thread 3: Deleting 1000 flows on 7 nodes&lt;br/&gt;
Thread 1: Deleting 1000 flows on 7 nodes&lt;br/&gt;
Thread 2: Deleting 1000 flows on 7 nodes&lt;br/&gt;
Thread 0: Deleting 1000 flows on 7 nodes&lt;br/&gt;
Thread 4: Deleting 1000 flows on 7 nodes&lt;/p&gt;

&lt;p&gt;    Thread 1: &lt;br/&gt;
        Delete time: 1363.80,&lt;br/&gt;
        Delete success rate:  0.73, Delete total rate: 0.73&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Thread 3: &lt;br/&gt;
        Delete time: 1363.81,&lt;br/&gt;
        Delete success rate:  0.73, Delete total rate: 0.73&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Thread 2: &lt;br/&gt;
        Delete time: 1363.92,&lt;br/&gt;
        Delete success rate:  0.73, Delete total rate: 0.73&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Thread 0: &lt;br/&gt;
        Delete time: 1364.04,&lt;br/&gt;
        Delete success rate:  0.73, Delete total rate: 0.73&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Thread 4: &lt;br/&gt;
        Delete time: 1364.04,&lt;br/&gt;
        Delete success rate:  0.73, Delete total rate: 0.73&lt;br/&gt;
        Delete Results:  &lt;/p&gt;
{200: 1000}
&lt;p&gt;    Overall success rate:  3.67, Overall rate: 3.67&lt;/p&gt;</comment>
                            <comment id="49236" author="techdeveloper90@gmail.com" created="Mon, 10 Nov 2014 07:18:58 +0000"  >&lt;p&gt;From which repo did you clone the controller in which you are getting this error?&lt;/p&gt;</comment>
                            <comment id="49237" author="jhajnar@cisco.com" created="Tue, 25 Nov 2014 08:55:33 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I tested this today with latest stable helium build and I didn&apos;t see exceptions mentioned in the first comment. I think this bug is fixed.&lt;/p&gt;

&lt;p&gt;Delete slowdowns are mentioned in &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-281&quot; title=&quot;Deleting of flows very slow with large number of flows in data store and controller connected to the network&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-281&quot;&gt;&lt;del&gt;OPNFLWPLUG-281&lt;/del&gt;&lt;/a&gt; and it is already being worked on.&lt;/p&gt;

&lt;p&gt;Jan.&lt;/p&gt;</comment>
                            <comment id="49238" author="carolsand@gmail.com" created="Mon, 4 May 2015 19:33:20 +0000"  >&lt;p&gt;This bug is part of the project to Move all ADSAL associated component bugs to ADSAL.&lt;/p&gt;</comment>
                            <comment id="49239" author="tony.tkacik@gmail.com" created="Tue, 5 May 2015 06:59:57 +0000"  >&lt;p&gt;Fixed in Helium.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13434" name="flow_config_perf.py" size="11572" author="jmedved@cisco.com" created="Wed, 17 Sep 2014 23:29:57 +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>1940</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=1940]]></customfieldvalue>

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

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