<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55:31 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-1429] Clustering: Post reconvergance (reboot of leader) in 5 node cluster, Flows not installed (in operational data store) even pushed via both leader or follower</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1429</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;After initial startup if we reboot leader node, post convergance Flows are not installed in the switch even if flow pushed from new leader or follower node.&lt;br/&gt;
Inventory crawler shows flow in config data store but not in operational datastore.&lt;/p&gt;

&lt;p&gt;1.&lt;br/&gt;
Started a 5 node cluster with below IPs. deploy_odl.py  script is used to start it.&lt;br/&gt;
[ &lt;br/&gt;
controller-1 = 10.183.181.41&lt;br/&gt;
controller-2 = 10.183.181.42&lt;br/&gt;
controller-3 = 10.183.181.43&lt;br/&gt;
controller-4 = 10.183.181.44&lt;br/&gt;
controller-5 = 10.183.181.45&lt;br/&gt;
]&lt;/p&gt;

&lt;p&gt;cd /home/mininet/integration/test/tools/clustering/cluster-deployer/&lt;/p&gt;

&lt;p&gt;root@mininet-vm:/home/mininet/integration/test/tools/clustering/cluster-deployer#./deploy_odl.py --clean --distribution=/home/mininet/controller-Li/distribution-karaf-0.3.1-Lithium-SR1.zip --rootdir=/home/mininet/controller-Li --hosts=10.183.181.41,10.183.181.42,10.183.181.43,10.183.181.44,10.183.181.45 --user=root --password=rootroot --template=/multi-node-test &lt;/p&gt;

&lt;p&gt;2. I observe in all the cluster nodes 2551 and 2550 ports came up properly.&lt;/p&gt;

&lt;p&gt;root@mininet-vm:~# netstat -na | grep 2550&lt;br/&gt;
tcp6       0      0 10.183.181.41:2550      :::*                    LISTEN&lt;br/&gt;
tcp6       0      0 10.183.181.41:48109     10.183.181.44:2550      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:42152     10.183.181.45:2550      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:2550      10.183.181.44:44754     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:34346     10.183.181.43:2550      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:36484     10.183.181.42:2550      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:2550      10.183.181.43:51115     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:2550      10.183.181.45:45284     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:2550      10.183.181.42:50675     ESTABLISHED&lt;br/&gt;
root@mininet-vm:~# netstat -na | grep 2551&lt;br/&gt;
tcp6       0      0 10.183.181.41:2551      :::*                    LISTEN&lt;br/&gt;
tcp6       0      0 10.183.181.41:2551      10.183.181.45:33739     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:48196     10.183.181.43:2551      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:2551      10.183.181.42:55729     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:53302     10.183.181.45:2551      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:56779     10.183.181.42:2551      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:2551      10.183.181.43:36887     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:2551      10.183.181.44:45111     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:53763     10.183.181.44:2551      ESTABLISHED&lt;br/&gt;
root@mininet-vm:~#&lt;/p&gt;

&lt;p&gt;3. from jconsole i observe controller-2 is leader. I connect the mininet switch to follower controller-1 and pushed flows from controller-3, i observer all flows are configured in switch.&lt;/p&gt;

&lt;p&gt;sdnc-host2:~ # c3&lt;br/&gt;
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-43-generic x86_64)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Documentation:  &lt;a href=&quot;https://help.ubuntu.com/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://help.ubuntu.com/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Last login: Thu Oct 15 23:33:41 2015 from 10.183.181.12&lt;br/&gt;
root@mininet-vm:~# cd /home/mininet/integration/test/tools/odl-mdsal-clustering-                                                                          tests/clustering-performance-test&lt;br/&gt;
root@mininet-vm:/home/mininet/integration/test/tools/odl-mdsal-clustering-tests/                                                                              clustering-performance-test# ./flow_config_blaster.py --flows 10 --auth --no-del                                                                              ete&lt;/p&gt;

&lt;p&gt;Cycle 0:&lt;br/&gt;
    Thread 0:&lt;br/&gt;
        Adding 10 flows on 1 nodes&lt;/p&gt;

&lt;p&gt;    Thread 0 results (ADD):&lt;br/&gt;
        Elapsed time: 1.22s,&lt;br/&gt;
        Requests/s: 8.23 OK, 8.23 Total&lt;br/&gt;
        Flows/s:    8.23 OK, 8.23 Total&lt;br/&gt;
        Stats (&lt;/p&gt;
{Requests}, {Flows}):  {200: 0, 204: 10} {200: 0, 204: 10}&lt;br/&gt;
&lt;br/&gt;
*** Test summary:&lt;br/&gt;
    Elapsed time:    1.83s&lt;br/&gt;
    Peak requests/s: 8.23 OK, 8.23 Total&lt;br/&gt;
    Peak flows/s:    8.23 OK, 8.23 Total&lt;br/&gt;
    Avg. requests/s: 5.46 OK, 5.46 Total (66.33% of peak total)&lt;br/&gt;
    Avg. flows/s:    5.46 OK, 5.46 Total (66.33% of peak total)&lt;br/&gt;
&lt;br/&gt;
*** Total flows added: 10&lt;br/&gt;
    HTTP&lt;span class=&quot;error&quot;&gt;&amp;#91;OK&amp;#93;&lt;/span&gt; results:  10&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
root@mininet-vm:~# sudo mn --controller=remote,ip=10.183.181.41 --topo=linear,1                                                                               --switch ovsk,protocols=OpenFlow13&lt;br/&gt;
*** Creating network&lt;br/&gt;
*** Adding controller&lt;br/&gt;
*** Adding hosts:&lt;br/&gt;
h1&lt;br/&gt;
*** Adding switches:&lt;br/&gt;
have protcol params!&lt;br/&gt;
s1&lt;br/&gt;
*** Adding links:&lt;br/&gt;
(h1, s1)&lt;br/&gt;
*** Configuring hosts&lt;br/&gt;
h1&lt;br/&gt;
*** Starting controller&lt;br/&gt;
*** Starting 1 switches&lt;br/&gt;
s1 OVSswitch opts:  protocols=OpenFlow13&lt;br/&gt;
&lt;br/&gt;
*** Starting CLI:&lt;br/&gt;
mininet&amp;gt; sh ovs-ofctl -O Openflow13 dump-flows s1&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0x6, duration=19.436s, table=0, n_packets=0, n_bytes=0, idle_timeout=650                                                                              00, hard_timeout=65000, priority=2,ip,nw_dst=10.0.0.7 actions=drop&lt;br/&gt;
 cookie=0x5, duration=19.428s, table=0, n_packets=0, n_bytes=0, idle_timeout=650                                                                              00, hard_timeout=65000, priority=2,ip,nw_dst=10.0.0.6 actions=drop&lt;br/&gt;
 cookie=0x1, duration=19.432s, table=0, n_packets=0, n_bytes=0, idle_timeout=650                                                                              00, hard_timeout=65000, priority=2,ip,nw_dst=10.0.0.2 actions=drop&lt;br/&gt;
 cookie=0x8, duration=19.426s, table=0, n_packets=0, n_bytes=0, idle_timeout=650                                                                              00, hard_timeout=65000, priority=2,ip,nw_dst=10.0.0.9 actions=drop&lt;br/&gt;
 cookie=0x3, duration=19.426s, table=0, n_packets=0, n_bytes=0, idle_timeout=650                                                                              00, hard_timeout=65000, priority=2,ip,nw_dst=10.0.0.4 actions=drop&lt;br/&gt;
 cookie=0x9, duration=19.426s, table=0, n_packets=0, n_bytes=0, idle_timeout=650                                                                              00, hard_timeout=65000, priority=2,ip,nw_dst=10.0.0.10 actions=drop&lt;br/&gt;
 cookie=0x7, duration=19.435s, table=0, n_packets=0, n_bytes=0, idle_timeout=650                                                                              00, hard_timeout=65000, priority=2,ip,nw_dst=10.0.0.8 actions=drop&lt;br/&gt;
 cookie=0x0, duration=19.438s, table=0, n_packets=0, n_bytes=0, idle_timeout=650                                                                              00, hard_timeout=65000, priority=2,ip,nw_dst=10.0.0.1 actions=drop&lt;br/&gt;
 cookie=0x4, duration=19.434s, table=0, n_packets=0, n_bytes=0, idle_timeout=650                                                                              00, hard_timeout=65000, priority=2,ip,nw_dst=10.0.0.5 actions=drop&lt;br/&gt;
 cookie=0x2, duration=19.428s, table=0, n_packets=0, n_bytes=0, idle_timeout=650                                                                              00, hard_timeout=65000, priority=2,ip,nw_dst=10.0.0.3 actions=drop&lt;br/&gt;
mininet&amp;gt; sh ovs-ofctl -O Openflow13 dump-flows s1&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
mininet&amp;gt;&lt;br/&gt;
mininet&amp;gt;&lt;br/&gt;
&lt;br/&gt;
Similarly i tried connecting the switch in various other follower node and pushed flows from all nodes , i find flows are installed.&lt;br/&gt;
&lt;br/&gt;
4. I rebooted the controller-2 which is leader, from jconsoe i observe now controller-1 is the new leader.&lt;br/&gt;
Now I connect switch to follower controller-5 and push flows from another follower node controller-3, it does not work, i donot see flows are pushed to switch. &lt;br/&gt;
&lt;br/&gt;
root@mininet-vm:/home/mininet/integration/test/tools/odl-mdsal-clustering-tests/clustering-performance-test# ./flow_config_blaster.py --flows 15 --auth --no-delete&lt;br/&gt;
&lt;br/&gt;
Cycle 0:&lt;br/&gt;
    Thread 0:&lt;br/&gt;
        Adding 15 flows on 1 nodes&lt;br/&gt;
&lt;br/&gt;
    Thread 0 results (ADD):&lt;br/&gt;
        Elapsed time: 0.43s,&lt;br/&gt;
        Requests/s: 34.68 OK, 34.68 Total&lt;br/&gt;
        Flows/s:    34.68 OK, 34.68 Total&lt;br/&gt;
        Stats ({Requests}
&lt;p&gt;, &lt;/p&gt;
{Flows}
&lt;p&gt;):  &lt;/p&gt;
{200: 0, 204: 15}
&lt;p&gt; &lt;/p&gt;
{200: 0, 204: 15}

&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:    0.51s&lt;br/&gt;
    Peak requests/s: 34.68 OK, 34.68 Total&lt;br/&gt;
    Peak flows/s:    34.68 OK, 34.68 Total&lt;br/&gt;
    Avg. requests/s: 29.27 OK, 29.27 Total (84.40% of peak total)&lt;br/&gt;
    Avg. flows/s:    29.27 OK, 29.27 Total (84.40% 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: 15&lt;br/&gt;
    HTTP&lt;span class=&quot;error&quot;&gt;&amp;#91;OK&amp;#93;&lt;/span&gt; results:  15&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;root@mininet-vm:~# sudo mn --controller=remote,ip=10.183.181.45 --topo=linear,1 --switch ovsk,protocols=OpenFlow13&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;Creating network&lt;/li&gt;
			&lt;li&gt;Adding controller&lt;/li&gt;
			&lt;li&gt;Adding hosts:&lt;br/&gt;
h1&lt;/li&gt;
			&lt;li&gt;Adding switches:&lt;br/&gt;
have protcol params!&lt;br/&gt;
s1&lt;/li&gt;
			&lt;li&gt;Adding links:&lt;br/&gt;
(h1, s1)&lt;/li&gt;
			&lt;li&gt;Configuring hosts&lt;br/&gt;
h1&lt;/li&gt;
			&lt;li&gt;Starting controller&lt;/li&gt;
			&lt;li&gt;Starting 1 switches&lt;br/&gt;
s1 OVSswitch opts:  protocols=OpenFlow13&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;Starting CLI:&lt;br/&gt;
mininet&amp;gt; sh ovs-ofctl -O Openflow13 dump-flows s1&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Inventory crawler shows flow in config data store but not in operational datastore.&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.43  --datastore operational&lt;br/&gt;
Crawling &apos;http://10.183.181.43:8181/restconf/operational/opendaylight-inventory:nodes&apos;&lt;/p&gt;

&lt;p&gt;Totals:&lt;br/&gt;
    Nodes:          1&lt;br/&gt;
    Reported flows: 9&lt;br/&gt;
    Found flows:    0&lt;br/&gt;
root@mininet-vm:/home/mininet/integration/test/tools/odl-mdsal-clustering-tests/clustering-performance-test# ./inventory_crawler.py --auth --host 10.183.181.43  --datastore config&lt;br/&gt;
Crawling &apos;http://10.183.181.43:8181/restconf/config/opendaylight-inventory:nodes&apos;&lt;/p&gt;

&lt;p&gt;Totals:&lt;br/&gt;
    Nodes:          1&lt;br/&gt;
    Reported flows: 0&lt;br/&gt;
    Found flows:    15&lt;/p&gt;


&lt;p&gt;Similarly i tried to connect the switch to the leader and pushed from new leader controller-1, i find flows are not pushed to switch.&lt;/p&gt;

&lt;p&gt;Please find attached logs of all controller nodes.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25983">CONTROLLER-1429</key>
            <summary>Clustering: Post reconvergance (reboot of leader) in 5 node cluster, Flows not installed (in operational data store) even pushed via both leader or follower</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="moraja@cisco.com">Moiz Raja</assignee>
                                    <reporter username="sanjib.mohapatra@ericsson.com">Sanjib Mohapatra</reporter>
                        <labels>
                    </labels>
                <created>Fri, 16 Oct 2015 09:09:08 +0000</created>
                <updated>Thu, 18 Feb 2016 12:12:36 +0000</updated>
                            <resolved>Thu, 18 Feb 2016 12:12:36 +0000</resolved>
                                    <version>Lithium</version>
                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="51057" author="sanjib.mohapatra@ericsson.com" created="Fri, 16 Oct 2015 09:09:08 +0000"  >&lt;p&gt;Attachment ODL TR.rar has been added with description: karaf logs of all the controller nodes&lt;/p&gt;</comment>
                            <comment id="51054" author="moraja@cisco.com" created="Tue, 27 Oct 2015 15:32:37 +0000"  >&lt;p&gt;This is not supported in Lithium SR1. Please try on Lithium SR2.&lt;/p&gt;</comment>
                            <comment id="51055" author="sanjib.mohapatra@ericsson.com" created="Tue, 3 Nov 2015 14:08:20 +0000"  >&lt;p&gt;I have tested in SR2, 9 out of 10 times i observe the issue. The issue still exists in it.&lt;/p&gt;</comment>
                            <comment id="51056" author="tpantelis" created="Thu, 18 Feb 2016 12:12:18 +0000"  >&lt;p&gt;This was likely due to the routed RPC registration timing issue that has since been addressed. Since OF clustering seems to be working fine with recent fixes/testing in Be, I&apos;m closing this bug.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13547" name="ODL TR.rar" size="122699" author="sanjib.mohapatra@ericsson.com" created="Fri, 16 Oct 2015 09:09:08 +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>4484</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=4484]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></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="10301"><![CDATA[Normal]]></customfieldvalue>

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

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