<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55:28 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-1407] Clustering: The flows are not re-installed when switch is disconnected and reconnected to same follower node in a 3 node cluster</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1407</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;In 3 node cluster, Applied flows in a Follower node and switch is connected to another follower node. The flows are not re-installed when switch is disconnected and reconnected to same follower node .&lt;/p&gt;

&lt;p&gt;1. All three nodes (c1, c2 and c3) of clusters are running in VM mode.&lt;/p&gt;

&lt;p&gt;2. Following features are installed in the cluster nodes.&lt;/p&gt;

&lt;p&gt;feature:install odl-restconf-all&lt;br/&gt;
feature:install odl-mdsal-all&lt;br/&gt;
feature:install odl-openflowplugin-all&lt;/p&gt;


&lt;p&gt;3. Verified all 2550 and 2551 ports are up in all cluster nodes. &lt;/p&gt;

&lt;p&gt;root@mininet-vm:~# netstat -na | grep 2550&lt;br/&gt;
tcp6       0      0 10.183.181.43:2550      :::*                    LISTEN&lt;br/&gt;
tcp6       0      0 10.183.181.43:33607     10.183.181.41:2550      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.43:2550      10.183.181.41:46032     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.43:44406     10.183.181.42:2550      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.43:2550      10.183.181.42:36122     ESTABLISHED&lt;br/&gt;
root@mininet-vm:~# netstat -na | grep 2551&lt;br/&gt;
tcp6       0      0 10.183.181.43:2551      :::*                    LISTEN&lt;br/&gt;
tcp6       0      0 10.183.181.43:2551      10.183.181.41:46793     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.43:56530     10.183.181.41:2551      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.43:2551      10.183.181.42:57604     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.43:41741     10.183.181.42:2551      ESTABLISHED&lt;/p&gt;

&lt;p&gt;4. via Jconsole found that  c1 is leader (opendayligh controller --&amp;gt; config data -&amp;gt; Inventory module -&amp;gt; shard -&amp;gt; attribute) , c2 and c3 are followers.&lt;/p&gt;

&lt;p&gt;5. Connected Mininet OF switch to  follower c2.&lt;/p&gt;

&lt;p&gt;root@mininet-vm:/home/mininet/integration/test/tools/odl-mdsal-clustering-tests/clustering-performance-test# sudo mn &amp;#8211;&lt;/p&gt;

&lt;p&gt;controller=remote,ip=10.183.181.42 --topo=linear,1 --switch ovsk,protocols=OpenFlow13&lt;/p&gt;

&lt;p&gt;6. Sent 10 flows from another follower c3.&lt;/p&gt;

&lt;p&gt;root@mininet-vm:/home/mininet/integration/test/tools/odl-mdsal-clustering-tests/clustering-performance-test# ./flow_config_blaster.py --flows 10 --auth &amp;#8211;&lt;/p&gt;

&lt;p&gt;no-delete&lt;/p&gt;

&lt;p&gt;Cycle 0:&lt;br/&gt;
    Thread 0:&lt;br/&gt;
        Adding 10 flows on 1 nodes&lt;br/&gt;
    Thread 0:&lt;br/&gt;
        Add time: 0.86,&lt;br/&gt;
        Add success rate:  11.67, Add total rate: 11.67&lt;br/&gt;
        Add Results:  &lt;/p&gt;
{200: 10}
&lt;p&gt;    Total success rate: 11.67, Total rate: 11.67&lt;br/&gt;
    Measured rate:      6.15 (52.72% of Total success rate)&lt;br/&gt;
    Measured time:      1.62s&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&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;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;root@mininet-vm:/home/mininet/integration/test/tools/odl-mdsal-clustering-tests/clustering-performance-test#&lt;/p&gt;

&lt;p&gt;7. Verify 10 Flows are installed in switch.&lt;/p&gt;

&lt;p&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=45.883s, table=0, n_packets=0, n_bytes=0, idle_timeout=65000, hard_timeout=65000, priority=2,ip,nw_dst=10.0.0.7 actions=drop&lt;br/&gt;
 cookie=0x5, duration=45.911s, table=0, n_packets=0, n_bytes=0, idle_timeout=65000, hard_timeout=65000, priority=2,ip,nw_dst=10.0.0.6 actions=drop&lt;br/&gt;
............&lt;br/&gt;
.............&lt;br/&gt;
...............&lt;/p&gt;

&lt;p&gt;8. Disconnect the switch and connect the switch back to Follower node c2.&lt;/p&gt;

&lt;p&gt;mininet&amp;gt; sh ovs-ofctl -O Openflow13 dump-flows s1&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;/p&gt;

&lt;p&gt;I see no flows.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: Other&lt;/p&gt;</environment>
        <key id="25961">CONTROLLER-1407</key>
            <summary>Clustering: The flows are not re-installed when switch is disconnected and reconnected to same follower node in a 3 node cluster</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="muthukumaran.k@ericsson.com">Muthukumaran Kothandaraman</assignee>
                                    <reporter username="sanjib.mohapatra@ericsson.com">Sanjib Mohapatra</reporter>
                        <labels>
                    </labels>
                <created>Fri, 21 Aug 2015 07:11:29 +0000</created>
                <updated>Tue, 26 Jan 2016 17:21:21 +0000</updated>
                            <resolved>Tue, 26 Jan 2016 17:21:21 +0000</resolved>
                                    <version>Lithium</version>
                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="50985" author="sanjib.mohapatra@ericsson.com" created="Fri, 21 Aug 2015 07:11:29 +0000"  >&lt;p&gt;Attachment All Controllers Log.rar has been added with description: All Controller nodes karaf logs&lt;/p&gt;</comment>
                            <comment id="50982" author="sanjib.mohapatra@ericsson.com" created="Fri, 21 Aug 2015 10:07:58 +0000"  >&lt;p&gt;An important comment: &lt;br/&gt;
Flows are always installed, When i connect with the Leader cluster node. Even if i disconnect and reconnect with Leader cluster node, flows are always installed.&lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Sanjib&lt;/p&gt;</comment>
                            <comment id="50983" author="sanjib.mohapatra@ericsson.com" created="Tue, 3 Nov 2015 14:01:42 +0000"  >&lt;p&gt;This issue is there in SR2. Moving the importance of it to critical. As it is a must for basic cluster HA operation.&lt;/p&gt;</comment>
                            <comment id="50984" author="muthukumaran.k@ericsson.com" created="Wed, 20 Jan 2016 06:05:17 +0000"  >&lt;p&gt;With Beryllium master and Helium plugin combination, this issue is not reproducible consistently. This has to be investigated further with Helium and Lithium plugin combination.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13538" name="All Controllers Log.rar" size="39703" author="sanjib.mohapatra@ericsson.com" created="Fri, 21 Aug 2015 07:11:29 +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>4164</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=4164]]></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="10312"><![CDATA[High]]></customfieldvalue>

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

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