<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:36:04 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>[OVSDB-316] OVSDB server doesn&apos;t close connection after peer is power down</title>
                <link>https://jira.opendaylight.org/browse/OVSDB-316</link>
                <project id="10158" key="OVSDB">ovsdb</project>
                    <description>&lt;p&gt;In passive connection scenario, OVSDB connection is not closed on server side when peer is down before it has chance to send TCP FIN packet. We have seen this issue when peer is power off or crashed.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22008">OVSDB-316</key>
            <summary>OVSDB server doesn&apos;t close connection after peer is power 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="thapar">Vishal Thapar</assignee>
                                    <reporter username="syshen66@gmail.com">Hsin-Yi Shen</reporter>
                        <labels>
                    </labels>
                <created>Sun, 13 Mar 2016 22:06:01 +0000</created>
                <updated>Mon, 30 Oct 2017 19:52:45 +0000</updated>
                            <resolved>Fri, 27 May 2016 21:47:13 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>Library</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="41359" author="shague@redhat.com" created="Tue, 15 Mar 2016 15:44:43 +0000"  >&lt;p&gt;master: &lt;a href=&quot;https://git.opendaylight.org/gerrit/35436&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/35436&lt;/a&gt;&lt;br/&gt;
beryllium: &lt;a href=&quot;https://git.opendaylight.org/gerrit/36152&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/36152&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The main issue with the bug has been fixed. I think we should close this bug and open another to track the open item for configuration.&lt;/p&gt;</comment>
                            <comment id="41360" author="thapar" created="Thu, 26 May 2016 11:09:20 +0000"  >&lt;p&gt;Re-opening the bug as fix is not complete.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36152/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36152/&lt;/a&gt; added code to detect when a peer goes down without sending a FIN. However, it only did it for switch initiated connection. In case of ODL initiated connection we are unable to detect peer being down and reconciliation is never triggered.&lt;/p&gt;</comment>
                            <comment id="41361" author="thapar" created="Thu, 26 May 2016 11:45:43 +0000"  >&lt;p&gt;Logs with the fix in place:&lt;/p&gt;

&lt;p&gt;2016-05-26 16:29:39,075 | TRACE | entLoopGroup-8-1 | JsonRpcEndpoint                  | 168 - org.opendaylight.ovsdb.library - 1.2.4.SNAPSHOT | Request : null &quot;update&quot; [&quot;b738c559-fd98-4251-9d6d-04bffd76e9ad&quot;,{&quot;Manager&quot;:{&quot;f1e4c461-19f3-4755-9cc1-38b5e9b9dcd6&quot;:{&quot;new&quot;:&lt;/p&gt;
{&quot;_version&quot;:[&quot;uuid&quot;,&quot;a77a7a32-0a3d-4fb4-84a0-9f1350e24f46&quot;],&quot;connection_mode&quot;:[&quot;set&quot;,[]],&quot;is_connected&quot;:true,&quot;other_config&quot;:[&quot;map&quot;,[]],&quot;external_ids&quot;:[&quot;map&quot;,[]],&quot;status&quot;:[&quot;map&quot;,[[&quot;bound_port&quot;,&quot;6640&quot;],[&quot;sec_since_connect&quot;,&quot;5&quot;],[&quot;state&quot;,&quot;ACTIVE&quot;]]],&quot;_uuid&quot;:[&quot;uuid&quot;,&quot;f1e4c461-19f3-4755-9cc1-38b5e9b9dcd6&quot;],&quot;target&quot;:&quot;ptcp:6640&quot;,&quot;inactivity_probe&quot;:[&quot;set&quot;,[]],&quot;max_backoff&quot;:[&quot;set&quot;,[]]}
&lt;p&gt;,&quot;old&quot;:{&quot;_version&quot;:&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;uuid&amp;quot;,&amp;quot;23525c95-63de-4bea-a2d4-bafa4853034d&amp;quot;&amp;#93;&lt;/span&gt;,&quot;status&quot;:[&quot;map&quot;,[&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;bound_port&amp;quot;,&amp;quot;6640&amp;quot;&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;sec_since_connect&amp;quot;,&amp;quot;0&amp;quot;&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;state&amp;quot;,&amp;quot;ACTIVE&amp;quot;&amp;#93;&lt;/span&gt;]]}}}}]&lt;/p&gt;

&lt;p&gt;After this log entry I bring down the interface on OVS.&lt;/p&gt;

&lt;p&gt;2016-05-26 16:30:39,087 | DEBUG | entLoopGroup-8-1 | ExceptionHandler                 | 168 - org.opendaylight.ovsdb.library - 1.2.4.SNAPSHOT | Get idle state event&lt;br/&gt;
2016-05-26 16:30:39,087 | DEBUG | entLoopGroup-8-1 | ExceptionHandler                 | 168 - org.opendaylight.ovsdb.library - 1.2.4.SNAPSHOT | Reader idle state. Send echo message to peer&lt;br/&gt;
2016-05-26 16:30:39,087 | TRACE | entLoopGroup-8-1 | JsonRpcEndpoint                  | 168 - org.opendaylight.ovsdb.library - 1.2.4.SNAPSHOT | getClient Request : &lt;/p&gt;
{&quot;id&quot;:&quot;46b0eba4-3429-4a85-854f-f4c0136e75da&quot;,&quot;method&quot;:&quot;echo&quot;,&quot;params&quot;:[]}
&lt;p&gt;2016-05-26 16:30:57,991 | INFO  | entLoopGroup-8-1 | OvsdbConnectionService           | 168 - org.opendaylight.ovsdb.library - 1.2.4.SNAPSHOT | Connection closed ConnectionInfo &lt;span class=&quot;error&quot;&gt;&amp;#91;Remote-address=192.168.56.111, Remote-port=6640, Local-address192.168.56.1, Local-port=58166, type=ACTIVE&amp;#93;&lt;/span&gt;&lt;br/&gt;
2016-05-26 16:30:57,992 | INFO  | entLoopGroup-8-1 | OvsdbConnectionManager           | 174 - org.opendaylight.ovsdb.southbound-impl - 1.2.4.SNAPSHOT | Library disconnected ACTIVE from /192.168.56.111:6640 to /192.168.56.1:58166. Cleaning up the operational data store&lt;br/&gt;
2016-05-26 16:30:57,995 | INFO  | entLoopGroup-8-1 | OvsdbConnectionManager           | 174 - org.opendaylight.ovsdb.southbound-impl - 1.2.4.SNAPSHOT | Disconnected/Failed connection ConnectionInfo{getRemoteIp=IpAddress [_ipv4Address=Ipv4Address &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=192.168.56.111&amp;#93;&lt;/span&gt;, _value=&lt;span class=&quot;error&quot;&gt;&amp;#91;1, 9, 2, ., 1, 6, 8, ., 5, 6, ., 1, 1, 1&amp;#93;&lt;/span&gt;], getRemotePort=PortNumber &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=6640&amp;#93;&lt;/span&gt;, augmentations={}} was controller initiated, attempting reconnection&lt;br/&gt;
2016-05-26 16:30:57,998 | INFO  | ult-dispatcher-3 | OvsdbConnectionManager           | 174 - org.opendaylight.ovsdb.southbound-impl - 1.2.4.SNAPSHOT | Entity{type=&apos;ovsdb&apos;, id=/(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology/topology/topology[&lt;/p&gt;
{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)topology-id=ovsdb:1}
&lt;p&gt;]/node/node[&lt;/p&gt;
{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)node-id=ovsdb://192.168.56.111:6640}
&lt;p&gt;]} has no owner, cleaning up the operational data store&lt;br/&gt;
2016-05-26 16:30:57,999 | TRACE | entLoopGroup-8-1 | JsonRpcDecoder                   | 168 - org.opendaylight.ovsdb.library - 1.2.4.SNAPSHOT | readable bytes 0, records read 8, incomplete record bytes 0&lt;br/&gt;
2016-05-26 16:30:58,000 | INFO  | sdb-reconciler-1 | ConnectionReconciliationTask     | 174 - org.opendaylight.ovsdb.southbound-impl - 1.2.4.SNAPSHOT | Retry(1) connection to Ovsdb Node ConnectionInfo{getRemoteIp=IpAddress [_ipv4Address=Ipv4Address &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=192.168.56.111&amp;#93;&lt;/span&gt;, _value=&lt;span class=&quot;error&quot;&gt;&amp;#91;1, 9, 2, ., 1, 6, 8, ., 5, 6, ., 1, 1, 1&amp;#93;&lt;/span&gt;], getRemotePort=PortNumber &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=6640&amp;#93;&lt;/span&gt;, augmentations={}} &lt;br/&gt;
2016-05-26 16:30:58,001 | INFO  | sdb-reconciler-1 | OvsdbConnectionManager           | 174 - org.opendaylight.ovsdb.southbound-impl - 1.2.4.SNAPSHOT | Connecting to 192.168.56.111:6640&lt;br/&gt;
2016-05-26 16:31:19,025 | WARN  | sdb-reconciler-1 | OvsdbConnectionService           | 168 - org.opendaylight.ovsdb.library - 1.2.4.SNAPSHOT | bootstrap.connect failed&lt;br/&gt;
java.net.ConnectException: Connection timed out: no further information: /192.168.56.111:6640&lt;br/&gt;
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_60&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_60&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:224)&lt;span class=&quot;error&quot;&gt;&amp;#91;125:io.netty.transport:4.0.33.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:289)&lt;span class=&quot;error&quot;&gt;&amp;#91;125:io.netty.transport:4.0.33.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528)&lt;span class=&quot;error&quot;&gt;&amp;#91;125:io.netty.transport:4.0.33.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)&lt;span class=&quot;error&quot;&gt;&amp;#91;125:io.netty.transport:4.0.33.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)&lt;span class=&quot;error&quot;&gt;&amp;#91;125:io.netty.transport:4.0.33.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)&lt;span class=&quot;error&quot;&gt;&amp;#91;125:io.netty.transport:4.0.33.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)&lt;span class=&quot;error&quot;&gt;&amp;#91;124:io.netty.common:4.0.33.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)&lt;span class=&quot;error&quot;&gt;&amp;#91;124:io.netty.common:4.0.33.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:745)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_60&amp;#93;&lt;/span&gt;&lt;br/&gt;
2016-05-26 16:31:19,028 | WARN  | sdb-reconciler-1 | OvsdbConnectionManager           | 174 - org.opendaylight.ovsdb.southbound-impl - 1.2.4.SNAPSHOT | Failed to connect to OVSDB Node ConnectionInfo{getRemoteIp=IpAddress [_ipv4Address=Ipv4Address &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=192.168.56.111&amp;#93;&lt;/span&gt;, _value=&lt;span class=&quot;error&quot;&gt;&amp;#91;1, 9, 2, ., 1, 6, 8, ., 5, 6, ., 1, 1, 1&amp;#93;&lt;/span&gt;], getRemotePort=PortNumber &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=6640&amp;#93;&lt;/span&gt;, augmentations={}}&lt;br/&gt;
2016-05-26 16:31:19,028 | WARN  | sdb-reconciler-1 | ConnectionReconciliationTask     | 174 - org.opendaylight.ovsdb.southbound-impl - 1.2.4.SNAPSHOT | Connection retry(1) failed for ConnectionInfo{getRemoteIp=IpAddress [_ipv4Address=Ipv4Address &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=192.168.56.111&amp;#93;&lt;/span&gt;, _value=&lt;span class=&quot;error&quot;&gt;&amp;#91;1, 9, 2, ., 1, 6, 8, ., 5, 6, ., 1, 1, 1&amp;#93;&lt;/span&gt;], getRemotePort=PortNumber &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=6640&amp;#93;&lt;/span&gt;, augmentations={}}.&lt;br/&gt;
2016-05-26 16:31:29,029 | INFO  | sdb-reconciler-1 | ConnectionReconciliationTask     | 174 - org.opendaylight.ovsdb.southbound-impl - 1.2.4.SNAPSHOT | Retry(2) connection to Ovsdb Node ConnectionInfo{getRemoteIp=IpAddress [_ipv4Address=Ipv4Address &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=192.168.56.111&amp;#93;&lt;/span&gt;, _value=&lt;span class=&quot;error&quot;&gt;&amp;#91;1, 9, 2, ., 1, 6, 8, ., 5, 6, ., 1, 1, 1&amp;#93;&lt;/span&gt;], getRemotePort=PortNumber &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=6640&amp;#93;&lt;/span&gt;, augmentations={}}&lt;/p&gt;


&lt;p&gt;Also, in this case we never hit the readTimeOutException because reconciliation logic has already torn down the connection.&lt;/p&gt;</comment>
                            <comment id="41362" author="thapar" created="Thu, 26 May 2016 11:46:32 +0000"  >&lt;p&gt;stable/beryllium: &lt;a href=&quot;https://git.opendaylight.org/gerrit/39477&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/39477&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="41363" author="thapar" created="Fri, 27 May 2016 09:04:39 +0000"  >&lt;p&gt;(In reply to Vishal Thapar from comment #4)&lt;br/&gt;
&amp;gt; stable/beryllium: &lt;a href=&quot;https://git.opendaylight.org/gerrit/39477&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/39477&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Boron: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/39511/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/39511/&lt;/a&gt;&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>5506</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=5506]]></customfieldvalue>

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

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