<!-- 
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-1408] Clustering: Flows are not re-installed when switch is disconnected and reconnected to other follower node for the 2nd time in a 3 node cluster</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1408</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. flows are not re-installed when switch is disconnected &lt;br/&gt;
and reconnected to other follower node for the 2nd time .&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 to other follower node c3. Some time I see the flows for 1st time.&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.43 --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;br/&gt;
.......&lt;br/&gt;
........&lt;br/&gt;
.........&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;br/&gt;
 cookie=0x6, duration=1.063s, 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=1.063s, 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;
 cookie=0x1, duration=1.063s, table=0, n_packets=0, n_bytes=0, idle_timeout=65000, hard_timeout=65000, priority=2,ip,nw_dst=10.0.0.2 actions=drop&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;.......&lt;br/&gt;
........&lt;br/&gt;
.........&lt;/p&gt;

&lt;p&gt;However donot see the flow  if i disconnect the switch and connect it back again to follower node c3.&lt;/p&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;
</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25962">CONTROLLER-1408</key>
            <summary>Clustering: Flows are not re-installed when switch is disconnected and reconnected to other follower node for the 2nd time 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="10002">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="sanjib.mohapatra@ericsson.com">Sanjib Mohapatra</reporter>
                        <labels>
                    </labels>
                <created>Fri, 21 Aug 2015 07:38:33 +0000</created>
                <updated>Thu, 19 Oct 2017 21:26:53 +0000</updated>
                            <resolved>Mon, 18 Jan 2016 08:05:53 +0000</resolved>
                                    <version>Lithium</version>
                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="50989" author="sanjib.mohapatra@ericsson.com" created="Fri, 21 Aug 2015 07:38:33 +0000"  >&lt;p&gt;Attachment All Controllers Log.rar has been added with description: Karaf logs for all the 3 controllers&lt;/p&gt;</comment>
                            <comment id="50986" author="sanjib.mohapatra@ericsson.com" created="Fri, 21 Aug 2015 10:07:48 +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="50987" author="tpantelis" created="Sun, 10 Jan 2016 13:32:25 +0000"  >&lt;p&gt;Is this still an issue? If so, it should be filed against the open flow project.&lt;/p&gt;</comment>
                            <comment id="50988" author="muthukumaran.k@ericsson.com" created="Sun, 10 Jan 2016 14:25:18 +0000"  >&lt;p&gt;This bug is moved to OpenflowPlugin - &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=4919&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=4919&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="26021">CONTROLLER-1467</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13539" name="All Controllers Log.rar" size="39703" author="sanjib.mohapatra@ericsson.com" created="Fri, 21 Aug 2015 07:38:33 +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>4165</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=4165]]></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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02qdz:</customfieldvalue>

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