<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:19 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-758] Li plugin: Controller rejects switch connections</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-758</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;As this test shows:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-clustering-only-boron/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-clustering-only-boron/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;List of candidates vary from 1-2-3 when switch connects to 1 or 2 members only.&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28026">OPNFLWPLUG-758</key>
            <summary>Li plugin: Controller rejects switch connections</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="10000">Done</resolution>
                                        <assignee username="batky">Jozef Bacigal</assignee>
                                    <reporter username="ecelgp">Luis Gomez</reporter>
                        <labels>
                    </labels>
                <created>Fri, 26 Aug 2016 20:46:02 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:53 +0000</updated>
                            <resolved>Thu, 8 Sep 2016 07:29:46 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="58218" author="ecelgp" created="Tue, 30 Aug 2016 09:02:13 +0000"  >&lt;p&gt;I changed the title of the bug because I think the entity owner unstability is generated by a quick switch disconnect + connect transition. Looking at this log:&lt;/p&gt;


&lt;p&gt;2016-08-30 08:47:41,330 | INFO  | entLoopGroup-5-1 | SystemNotificationsListenerImpl  | 207 - org.opendaylight.openflowplugin.impl - 0.3.0.Boron-RC1 | ConnectionEvent: Connection closed by device, Device:/192.168.0.20:56480, NodeId:null&lt;br/&gt;
2016-08-30 08:47:41,447 | INFO  | entLoopGroup-5-2 | ConnectionAdapterImpl            | 197 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.8.0.Boron-RC1 | Hello received / branch&lt;br/&gt;
2016-08-30 08:47:41,449 | WARN  | entLoopGroup-5-2 | DeviceManagerImpl                | 207 - org.opendaylight.openflowplugin.impl - 0.3.0.Boron-RC1 | Node org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl$DeviceInfoImpl@a774dfb8 already connected disconnecting device. Rejecting connection&lt;br/&gt;
2016-08-30 08:47:41,449 | WARN  | entLoopGroup-5-2 | DeviceManagerImpl                | 207 - org.opendaylight.openflowplugin.impl - 0.3.0.Boron-RC1 | Node openflow:1 context state not in TERMINATION state.&lt;br/&gt;
2016-08-30 08:47:41,449 | INFO  | entLoopGroup-5-2 | ConnectionContextImpl            | 207 - org.opendaylight.openflowplugin.impl - 0.3.0.Boron-RC1 | Unregister outbound queue successful.&lt;/p&gt;

&lt;p&gt;A hello packet is received before the device is fully removed from the controller. The hello packet stops the device unregister and at the same time switch connection gets rejected because the device is still register. This generates an unstable switch connection.&lt;/p&gt;</comment>
                            <comment id="58219" author="ecelgp" created="Wed, 31 Aug 2016 01:01:11 +0000"  >&lt;p&gt;This same issue is seen often during the cluster test and the result is always an unstable controller with entity-owner, inventory and topology entries when the switch in reality does not exist anymore.&lt;/p&gt;

&lt;p&gt;2016-08-31 00:21:20,553 | INFO  | entLoopGroup-7-4 | ConnectionAdapterImpl            | 270 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.8.0.Boron-RC1 | Hello received / branch&lt;br/&gt;
2016-08-31 00:21:20,559 | WARN  | entLoopGroup-7-4 | DeviceManagerImpl                | 280 - org.opendaylight.openflowplugin.impl - 0.3.0.Boron-RC1 | Node org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl$DeviceInfoImpl@1f8d8b33 already connected disconnecting device. Rejecting connection&lt;br/&gt;
2016-08-31 00:21:20,559 | INFO  | entLoopGroup-7-4 | ConnectionContextImpl            | 280 - org.opendaylight.openflowplugin.impl - 0.3.0.Boron-RC1 | Unregister outbound queue successful.&lt;br/&gt;
2016-08-31 00:21:22,554 | INFO  | entLoopGroup-7-1 | ConnectionAdapterImpl            | 270 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.8.0.Boron-RC1 | Hello received / branch&lt;br/&gt;
2016-08-31 00:21:22,558 | WARN  | entLoopGroup-7-1 | DeviceManagerImpl                | 280 - org.opendaylight.openflowplugin.impl - 0.3.0.Boron-RC1 | Node org.opendaylight.openflowplugin.impl.connection.ConnectionContextImpl$DeviceInfoImpl@1f8d8b33 already connected disconnecting device. Rejecting connection&lt;br/&gt;
2016-08-31 00:21:22,559 | INFO  | entLoopGroup-7-1 | ConnectionContextImpl            | 280 - org.opendaylight.openflowplugin.impl - 0.3.0.Boron-RC1 | Unregister outbound queue successful.&lt;br/&gt;
2016-08-31 00:21:22,722 | WARN  | pool-31-thread-1 | StatisticsManagerImpl            | 280 - org.opendaylight.openflowplugin.impl - 0.3.0.Boron-RC1 | Statistics gathering for single node was not successful: Device connection doesn&apos;t exist anymore. Primary connection status : RIP&lt;/p&gt;</comment>
                            <comment id="58220" author="ecelgp" created="Wed, 31 Aug 2016 01:02:16 +0000"  >&lt;p&gt;Raising to blocker, we cannot afford to have unstable OpenFlow cluster in Boron.&lt;/p&gt;</comment>
                            <comment id="58221" author="ecelgp" created="Thu, 1 Sep 2016 05:50:58 +0000"  >&lt;p&gt;The easiest way to reproduce this issue is to stop and start mininet with no delay for few times. After a while you will see stale entries in entity-owner, topology and inventory.&lt;/p&gt;</comment>
                            <comment id="58222" author="ecelgp" created="Thu, 1 Sep 2016 17:18:09 +0000"  >&lt;p&gt;The ERRORs described in this bug show very often in 2 scenarios:&lt;/p&gt;

&lt;p&gt;1) OpenFlow Cluster test:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-clustering-only-boron/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-clustering-only-boron/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That is why the test suite is not stable.&lt;/p&gt;

&lt;p&gt;2) Switch scalability test single node:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-scalability-daily-only-boron/plot/Inventory%20Scalability/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-scalability-daily-only-boron/plot/Inventory%20Scalability/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That is why we do not see good switch scalability.&lt;/p&gt;

&lt;p&gt;In general this issue is more reproducible:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;In cluster environment&lt;/li&gt;
	&lt;li&gt;When flapping switch connections&lt;/li&gt;
	&lt;li&gt;In switch scalibility scenarios&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="58223" author="anipbu" created="Fri, 2 Sep 2016 04:22:43 +0000"  >&lt;p&gt;Is there an ETA for this bug and someone assigned to fix?&lt;/p&gt;</comment>
                            <comment id="58224" author="colin@colindixon.com" created="Fri, 2 Sep 2016 14:41:49 +0000"  >&lt;p&gt;Do we think this bug is related to (or caused by) BUG-6540?&lt;/p&gt;</comment>
                            <comment id="58225" author="ecelgp" created="Fri, 2 Sep 2016 17:32:43 +0000"  >&lt;p&gt;No, this bugs occurs without cluster member isolation and even in single instance test. The bug you point seems to be related to &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=6177&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=6177&lt;/a&gt; which is not blocker (major bug).&lt;/p&gt;</comment>
                            <comment id="58226" author="ecelgp" created="Mon, 5 Sep 2016 02:01:20 +0000"  >&lt;p&gt;I see also this ERROR very often prior to device reject:&lt;/p&gt;

&lt;p&gt;2016-09-03 20:03:06,703 | WARN  | pool-32-thread-1 | RoleContextImpl                  | 183 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | New role BECOMESLAVE was not propagated to device openflow:160 during 10 sec&lt;br/&gt;
2016-09-03 20:03:06,703 | ERROR | pool-32-thread-1 | SalRoleServiceImpl               | 183 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | SetRoleService set Role BECOMESLAVE for Node: KeyedInstanceIdentifier&lt;/p&gt;
{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=openflow:160]]]]}
&lt;p&gt; fail . Reason java.util.concurrent.CancellationException: Task was cancelled.&lt;br/&gt;
2016-09-03 20:03:06,703 | WARN  | pool-32-thread-1 | RoleManagerImpl                  | 183 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Was not able to set role SLAVE to device on node openflow:160 &lt;/p&gt;

&lt;p&gt;The above ERROR is kind of often in single node switch scalability and longevity tests.&lt;/p&gt;

&lt;p&gt;In cluster test, there is an easy way to reproduce the above:&lt;/p&gt;

&lt;p&gt;1) start mininet 1 switch (s1) pointing to any of the instances (e.g. 192.168.0.101)&lt;br/&gt;
2) Run the following script in the mininet system to bounce connection quickly:&lt;/p&gt;

&lt;p&gt;#!/bin/bash&lt;br/&gt;
sudo ovs-vsctl del-controller s1&lt;br/&gt;
sleep 0.2&lt;br/&gt;
sudo ovs-vsctl set-controller s1 &quot;tcp:192.168.0.101&quot;&lt;/p&gt;</comment>
                            <comment id="58227" author="jozef.bacigal@pantheon.tech" created="Tue, 6 Sep 2016 06:39:05 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/44664/6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/44664/6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="58228" author="anipbu" created="Tue, 6 Sep 2016 14:37:44 +0000"  >&lt;p&gt;To better assess the impact of this bug and fix, could someone from your team please help us identify the following:&lt;br/&gt;
Severity: Could you elaborate on the severity of this bug?  Is this a BLOCKER such that we cannot release Boron without it?  Is there a workaround such that we can write a release note and fix in future Boron SR1?&lt;br/&gt;
Testing: Could you also elaborate on the testing of this patch?  How extensively has this patch been tested?  Is it covered by any unit tests or system tests?  &lt;br/&gt;
Impact: Does this fix impact any dependent projects?&lt;/p&gt;</comment>
                            <comment id="58229" author="ecelgp" created="Tue, 6 Sep 2016 21:28:16 +0000"  >&lt;p&gt;After this merge I see more stable cluster test but still some sporadic issue in switch scalability test:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/openflowplugin-csit-1node-periodic-scalability-daily-only-boron/242/archives/karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/openflowplugin-csit-1node-periodic-scalability-daily-only-boron/242/archives/karaf.log.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So far we cannot close this issue but maybe reduce importance if cluster behaves more  stable (wee need few more runs to confirm).&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;</comment>
                            <comment id="58230" author="ecelgp" created="Wed, 7 Sep 2016 03:29:47 +0000"  >&lt;p&gt;OK, after a day of test I downgraded the importance from Blocker to Major. The reason is cluster test seems stable now:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/CSIT-3node/job/openflowplugin-csit-3node-clustering-only-boron/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/CSIT-3node/job/openflowplugin-csit-3node-clustering-only-boron/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The switch scalability test, even when showing the issue sometimes, it has stabilize the max number:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-scalability-daily-only-boron/plot/Inventory%20Scalability/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-scalability-daily-only-boron/plot/Inventory%20Scalability/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;</comment>
                            <comment id="58231" author="colin@colindixon.com" created="Wed, 7 Sep 2016 18:13:00 +0000"  >&lt;p&gt;So, can we note the maximum number of switch connections somewhere? I guess that would be part of the performance report, which we&apos;ll hopefully have time to update...&lt;/p&gt;</comment>
                            <comment id="58232" author="anipbu" created="Thu, 8 Sep 2016 01:07:38 +0000"  >&lt;p&gt;Has this bug been verified as fixed in the latest Boron RC 3.1 Build?&lt;/p&gt;</comment>
                            <comment id="58233" author="jozef.bacigal@pantheon.tech" created="Thu, 8 Sep 2016 07:24:58 +0000"  >&lt;p&gt;Closing this as solved and creating new one for the switch scalability test.&lt;/p&gt;

&lt;p&gt;Jozef&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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>6554</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=6554]]></customfieldvalue>

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

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