<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:57 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-621] [Clustering] Unable to provision flows with 30 switches, 1000 flows/switch. (Tried He design only)</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-621</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Flow provisioning failure in ODL cluster with 30 switches and 1000 flows per switch&lt;/p&gt;

&lt;p&gt;Build used        : &lt;br/&gt;
===================&lt;br/&gt;
Karaf distro from latest ODL Beryllium code&lt;/p&gt;

&lt;p&gt;Flow provisioning failure in ODL cluster with 30 switches and 1000 flows per switch.&lt;/p&gt;


&lt;p&gt;Test Type         : &lt;br/&gt;
===================&lt;br/&gt;
Flow Provisioning failing on connecting 30 switches across 3 cluster nodes , 1000 flows per switch.Total 30,000 flows.&lt;/p&gt;

&lt;p&gt;Test setup        :&lt;br/&gt;
====================&lt;br/&gt;
Build used: Beryllium&lt;br/&gt;
OF-Plugin Used: Helium&lt;br/&gt;
OF-HA used: NO&lt;/p&gt;

&lt;p&gt;Objective of test : &lt;br/&gt;
===================&lt;br/&gt;
verify if the flow provioning is stable when we scale switches per controller.&lt;/p&gt;

&lt;p&gt;Test Steps :&lt;br/&gt;
============&lt;br/&gt;
1. Bring up healthy 3 node cluster say c1, c2 and c3.&lt;br/&gt;
2. Bring UP the mininet with following command and connect to controller c1(10.183.181.41),c2(10.183.181.42) and c3(10.183.181.43).c1 is the Leader of inventory-config-shard&lt;br/&gt;
   Here each controller is connected with 10 switches.so overall 30 switches across the cluster.&lt;br/&gt;
3. Now i provision 30000 flows from c2(Follower).&lt;/p&gt;

&lt;p&gt;Note:We are provisioning flows via Binding aware Api of Openflow Inventory Model.&lt;br/&gt;
4.Check if 30000 flows (1000 flows per switch) have been provisioned across 30 switches.&lt;/p&gt;

&lt;p&gt;Commands&lt;br/&gt;
========&lt;br/&gt;
To connect 10 switches per controller, i use mininet custom command on each controller(c1,c2,c3)&lt;br/&gt;
sudo mn --custom /home/mininet/mininet/custom/mytopo.py --topo mytopo --controller remote,ip=10.183.181.41 --switch ovsk,protocols=OpenFlow13&lt;br/&gt;
sudo mn --custom /home/mininet/mininet/custom/mytopo.py --topo mytopo --controller remote,ip=10.183.181.42 --switch ovsk,protocols=OpenFlow13&lt;br/&gt;
sudo mn --custom /home/mininet/mininet/custom/mytopo.py --topo mytopo --controller remote,ip=10.183.181.43 --switch ovsk,protocols=OpenFlow13&lt;/p&gt;


&lt;p&gt;The below command we use to check number of flows provisioned per controller.&lt;br/&gt;
dpctl dump-aggregate -O OpenFlow13&lt;/p&gt;


&lt;p&gt;Test Results:&lt;br/&gt;
=============&lt;br/&gt;
1. I could not see 30000 flows(1000 flows per switch) and i get the below Exception (full stack could be seen in the logs)&lt;/p&gt;



&lt;p&gt;i could see 30000 flows in the configDS but in the switch i could not see 1000 flows per switch..&lt;br/&gt;
Total 29953 flows got provisioned on the switch across the cluster..&lt;/p&gt;


&lt;p&gt;root@mininet-vm:/home/mininet/integration/test/tools/odl-mdsal-clustering-tests/clustering-performance-test# ./inventory_crawler.py --auth --host 10.183.181.42 --datastore config&lt;br/&gt;
Crawling &apos;http://10.183.181.42:8181/restconf/config/opendaylight-inventory:nodes&apos;&lt;/p&gt;

&lt;p&gt;Totals:&lt;br/&gt;
    Nodes:          30&lt;br/&gt;
    Reported flows: 0&lt;br/&gt;
    Found flows:    30000&lt;/p&gt;


&lt;p&gt;root@mininet-vm:/home/mininet/integration/test/tools/odl-mdsal-clustering-tests/clustering-performance-test# ./inventory_crawler.py --auth --host 10.183.181.42 --datastore operational&lt;br/&gt;
Crawling &apos;http://10.183.181.42:8181/restconf/operational/opendaylight-inventory:nodes&apos;&lt;/p&gt;

&lt;p&gt;Totals:&lt;br/&gt;
    Nodes:          30&lt;br/&gt;
    Reported flows: 30163&lt;br/&gt;
    Found flows:    29953&lt;/p&gt;


&lt;p&gt;mininet&amp;gt; dpctl dump-aggregate -O OpenFlow13&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;s1 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=997&lt;/li&gt;
			&lt;li&gt;s2 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=997&lt;/li&gt;
			&lt;li&gt;s3 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=1000&lt;/li&gt;
			&lt;li&gt;s4 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=999&lt;/li&gt;
			&lt;li&gt;s5 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=997&lt;/li&gt;
			&lt;li&gt;s6 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=999&lt;/li&gt;
			&lt;li&gt;s7 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=998&lt;/li&gt;
			&lt;li&gt;s8 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=998&lt;/li&gt;
			&lt;li&gt;s9 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=998&lt;/li&gt;
			&lt;li&gt;s10 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=999&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;mininet&amp;gt; dpctl dump-aggregate -O OpenFlow13&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;s11 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=1000&lt;/li&gt;
			&lt;li&gt;s12 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=1000&lt;/li&gt;
			&lt;li&gt;s13 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=1000&lt;/li&gt;
			&lt;li&gt;s14 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=1000&lt;/li&gt;
			&lt;li&gt;s15 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=1000&lt;/li&gt;
			&lt;li&gt;s16 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=1000&lt;/li&gt;
			&lt;li&gt;s17 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=1000&lt;/li&gt;
			&lt;li&gt;s18 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=1000&lt;/li&gt;
			&lt;li&gt;s19 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=1000&lt;/li&gt;
			&lt;li&gt;s20 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=1000&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;mininet&amp;gt; dpctl dump-aggregate -O OpenFlow13&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;s21 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=1000&lt;/li&gt;
			&lt;li&gt;s22 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=1000&lt;/li&gt;
			&lt;li&gt;s23 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=996&lt;/li&gt;
			&lt;li&gt;s24 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=996&lt;/li&gt;
			&lt;li&gt;s25 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=996&lt;/li&gt;
			&lt;li&gt;s26 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=997&lt;/li&gt;
			&lt;li&gt;s27 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=996&lt;/li&gt;
			&lt;li&gt;s28 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=996&lt;/li&gt;
			&lt;li&gt;s29 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=997&lt;/li&gt;
			&lt;li&gt;s30 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_AGGREGATE reply (OF1.3) (xid=0x2): packet_count=0 byte_count=0 flow_count=997&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Attaching the logs for 1000 flows.&lt;/p&gt;

&lt;p&gt;Note:Out of 10 times, only 1 time i could see 30K flows in ConfigDS,OperDS and in switch(1000 flows per switch).However rest 9 times there is a mismatch in flow count in switch,OperDS and ConfigDS.&lt;/p&gt;

&lt;p&gt;Thanks &amp;amp; Regards,&lt;br/&gt;
Saibal Roy.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27889">OPNFLWPLUG-621</key>
            <summary>[Clustering] Unable to provision flows with 30 switches, 1000 flows/switch. (Tried He design only)</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="saibal.roy@ericsson.com">Saibal Roy</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Feb 2016 11:31:56 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:43 +0000</updated>
                            <resolved>Fri, 29 Jul 2016 10:42:45 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="57635" author="saibal.roy@ericsson.com" created="Tue, 16 Feb 2016 11:31:56 +0000"  >&lt;p&gt;Attachment logs.zip has been added with description: flow provisioning fails for 30 switch,1000 flows per switch.&lt;/p&gt;</comment>
                            <comment id="57634" author="muthukumaran.k@ericsson.com" created="Fri, 29 Jul 2016 10:42:45 +0000"  >&lt;p&gt;Not seen in the latest Beryllium builds&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14038" name="logs.zip" size="157230" author="saibal.roy@ericsson.com" created="Tue, 16 Feb 2016 11:31:56 +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>5364</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=5364]]></customfieldvalue>

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

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

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