<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33: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>[OPNFLWPLUG-823] [Boron] Switch connection sometimes bounces on non-owner node when OWNER is shut down</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-823</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;In a 3-node cluster we check the entity-ownership API to determine which switch is the owner for some openflow devices. We stop the OWNER controller and observe the connections bounce on one of the non-owner devices.&lt;/p&gt;

&lt;p&gt;In netstat the issue appears as a growing number of failed connections: &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;vagrant@localhost ~&amp;#93;&lt;/span&gt;$ netstat -an | grep 6633&lt;br/&gt;
tcp6       0      0 :::6633                 :::*                    LISTEN    &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50811     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50791     TIME_WAIT &lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50772     CLOSE_WAIT&lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50768     CLOSE_WAIT&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50813     TIME_WAIT &lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50784     CLOSE_WAIT&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50785     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50778     TIME_WAIT &lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50780     CLOSE_WAIT&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50797     TIME_WAIT &lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50788     CLOSE_WAIT&lt;br/&gt;
tcp6       8      0 10.120.22.207:6633      10.120.22.184:50823     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50774     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50806     TIME_WAIT &lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50792     CLOSE_WAIT&lt;br/&gt;
tcp6     271      0 10.120.22.207:6633      10.120.22.184:46788     CLOSE_WAIT&lt;br/&gt;
tcp6       8      0 10.120.22.207:6633      10.120.22.184:46785     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50786     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50787     TIME_WAIT &lt;br/&gt;
tcp6      16      0 10.120.22.207:6633      10.120.22.184:46772     ESTABLISHED&lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50808     CLOSE_WAIT&lt;br/&gt;
tcp6      16      0 10.120.22.207:6633      10.120.22.184:46769     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50799     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50782     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50795     TIME_WAIT &lt;br/&gt;
tcp6       8      0 10.120.22.207:6633      10.120.22.184:46766     ESTABLISHED&lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50776     CLOSE_WAIT&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50777     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50790     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50818     TIME_WAIT &lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50824     CLOSE_WAIT&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50766     TIME_WAIT &lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50820     CLOSE_WAIT&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50803     TIME_WAIT &lt;br/&gt;
tcp6     271      0 10.120.22.207:6633      10.120.22.184:46770     CLOSE_WAIT&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:46786     ESTABLISHED&lt;br/&gt;
tcp6     533      0 10.120.22.207:6633      10.120.22.184:46783     CLOSE_WAIT&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50814     TIME_WAIT &lt;br/&gt;
tcp6    7168      0 10.120.22.207:6633      10.120.22.184:46778     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50793     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50815     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:46775     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50801     TIME_WAIT &lt;br/&gt;
tcp6      16      0 10.120.22.207:6633      10.120.22.184:50828     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50798     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:46781     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:46790     ESTABLISHED&lt;br/&gt;
tcp6      32      0 10.120.22.207:6633      10.120.22.184:50826     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50819     TIME_WAIT &lt;br/&gt;
tcp6      16      0 10.120.22.207:6633      10.120.22.184:50827     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50767     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50822     TIME_WAIT &lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50796     CLOSE_WAIT&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50810     TIME_WAIT &lt;br/&gt;
tcp6       8      0 10.120.22.207:6633      10.120.22.184:46774     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50809     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50807     TIME_WAIT &lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50800     CLOSE_WAIT&lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50816     CLOSE_WAIT&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:46779     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50821     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50802     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50789     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50794     TIME_WAIT &lt;br/&gt;
tcp6     433      0 10.120.22.207:6633      10.120.22.184:46777     CLOSE_WAIT&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50805     TIME_WAIT &lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50812     CLOSE_WAIT&lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:50817     TIME_WAIT &lt;br/&gt;
tcp6       0      0 10.120.22.207:6633      10.120.22.184:46784     ESTABLISHED&lt;br/&gt;
tcp6      17      0 10.120.22.207:6633      10.120.22.184:50804     CLOSE_WAIT&lt;/p&gt;

&lt;p&gt;In the karaf.log we see the following sequence:&lt;br/&gt;
2016-11-09 00:10:28,235 | INFO  | ntLoopGroup-11-1 | ConnectionAdapterImpl            | 277 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.8.1.Boron-SR1 | Hello received / branch&lt;br/&gt;
2016-11-09 00:10:28,242 | WARN  | ntLoopGroup-11-1 | DeviceManagerImpl                | 286 - org.opendaylight.openflowplugin.impl - 0.3.1.Boron-SR1 | Node openflow:102 already connected disconnecting device. Rejecting connection&lt;br/&gt;
2016-11-09 00:10:28,242 | WARN  | ntLoopGroup-11-1 | DeviceManagerImpl                | 286 - org.opendaylight.openflowplugin.impl - 0.3.1.Boron-SR1 | Node openflow:102 context state not in TERMINATION state.&lt;/p&gt;

&lt;p&gt;Here is full TRACE log for openflowplugin &amp;amp; openflowjava:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://gist.github.com/evanzeller/371612c402ef856ad5153ec3ec635817&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gist.github.com/evanzeller/371612c402ef856ad5153ec3ec635817&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;In this state traffic relying on existing flows stops working until recovery, this state persists until the offending node is restarted, then the controller is recovered.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28091">OPNFLWPLUG-823</key>
            <summary>[Boron] Switch connection sometimes bounces on non-owner node when OWNER is shut down</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="Avishnoi">Anil Vishnoi</assignee>
                                    <reporter username="evanz">Evan Zeller</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Nov 2016 23:11:33 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:57 +0000</updated>
                            <resolved>Tue, 1 Aug 2017 20:21:27 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="58539" author="evanz" created="Tue, 15 Nov 2016 02:30:14 +0000"  >&lt;p&gt;Thanks to Luis I discovered this only occurs when you attempt graceful shutdown on one of the cluster nodes-- when using &apos;kill&apos; it is not reproducible. Perhaps attempting graceful shutdown on one node in a 3-node cluster is a no-no, if so is it documented somewhere?&lt;/p&gt;</comment>
                            <comment id="58540" author="ecelgp" created="Mon, 12 Dec 2016 18:28:51 +0000"  >&lt;p&gt;I added a test to catch this bug and it showed 2 times in 28 runs:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/openflowplugin-csit-3node-clustering-only-boron/820/archives/log.html.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-3node-clustering-only-boron/820/archives/log.html.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/openflowplugin-csit-3node-clustering-only-boron/843/archives/log.html.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-3node-clustering-only-boron/843/archives/log.html.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So this issue happens not very often but it has bad consequences: switch stalled in node until this is rebooted.&lt;/p&gt;</comment>
                            <comment id="58541" author="abhijit2511" created="Thu, 23 Feb 2017 16:49:30 +0000"  >&lt;p&gt;Please re-check after the latest clustering changes by Anil.&lt;/p&gt;</comment>
                            <comment id="58542" author="ecelgp" created="Fri, 14 Apr 2017 17:09:39 +0000"  >&lt;p&gt;It is happening more rarely now but I still see the issue in a recent test:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/openflowplugin-csit-3node-clustering-only-boron/1054/archives/log.html.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-3node-clustering-only-boron/1054/archives/log.html.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So I will still track this for a while.&lt;/p&gt;</comment>
                            <comment id="58543" author="ecelgp" created="Tue, 25 Apr 2017 16:17:05 +0000"  >&lt;p&gt;Boron still shows the issue once in a while:&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/1072/robot/openflowplugin-clustering.txt/Cluster%20HA%20Owner%20Restart/&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/1072/robot/openflowplugin-clustering.txt/Cluster%20HA%20Owner%20Restart/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Carbon does not show it:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/CSIT-3node/job/openflowplugin-csit-3node-clustering-only-carbon/599/robot/openflowplugin-clustering.txt/Cluster%20HA%20Owner%20Restart/&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-carbon/599/robot/openflowplugin-clustering.txt/Cluster%20HA%20Owner%20Restart/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So I think the split connection patch helped alleviating the problem.&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;</comment>
                            <comment id="58544" author="ecelgp" created="Tue, 1 Aug 2017 20:21:27 +0000"  >&lt;p&gt;This seems to be fixed now.&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>7184</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=7184]]></customfieldvalue>

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

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