<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16: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>[NETCONF-850] Cannot reconnect on second time</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-850</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;ODL NETCONF client cannot reconnect after first reconnection.&lt;/p&gt;

&lt;p&gt;Distribution: onap-karaf-0.15.1&lt;br/&gt;
 Features installed:&#160;odl-netconf-topology,&#160;odl-restconf-nb-rfc8040,&#160;odl-mdsal-apidocs, jolokia&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&lt;/p&gt;

&lt;p&gt;&#160;1. start netconf-testtool with 10 devices:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
java -Djava.security.egd=file:/dev/./urandom -jar netconf-testtool-2.0.11-executable.jar --ssh &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt; --device-count 10
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;2. mount all devices (mount-all.txt) =&amp;gt; all devices are in &quot;connected&quot; state and it is possible to fetch data like:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
GET http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=1/yang-ext:mount/ietf-netconf-monitoring:netconf-state?content=nonconfig&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;3. kill netconf-testtool =&amp;gt; all devices are in &quot;connecting&quot; state and fetch data from step2 returns:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
{{ &lt;span class=&quot;code-quote&quot;&gt;&quot;errors&quot;&lt;/span&gt;: { &lt;span class=&quot;code-quote&quot;&gt;&quot;error&quot;&lt;/span&gt;: [ { &lt;span class=&quot;code-quote&quot;&gt;&quot;error-tag&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;resource-denied-transport&quot;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;error-message&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;Mount point does not exist.&quot;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;error-type&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;protocol&quot;&lt;/span&gt; } ] }}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;All that is expected.&lt;/p&gt;

&lt;p&gt;&#160;4. start testtool as in step 1 and acknowledge that it works as in step 2&lt;/p&gt;

&lt;p&gt;&#160;5. kill netconf-testtool =&amp;gt; all devices will be still in &quot;connected&quot; state = PROBLEM and fetch data from step2 returns: 500 Internal server error&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
{{ &lt;span class=&quot;code-quote&quot;&gt;&quot;errors&quot;&lt;/span&gt;: { &lt;span class=&quot;code-quote&quot;&gt;&quot;error&quot;&lt;/span&gt;: [ { &lt;span class=&quot;code-quote&quot;&gt;&quot;error-tag&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;operation-failed&quot;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;error-info&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;java.lang.IllegalArgumentException: Unable to read data: Optional[/(urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?revision=2010-10-04)netconf-state], errors: [RpcError [message=Channel closed, severity=ERROR, errorType=TRANSPORT, tag=operation-failed, applicationTag=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, info=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, cause=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;]]&quot;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;error-message&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;Transaction failed&quot;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;error-type&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;application&quot;&lt;/span&gt; } ] }}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and keepalives are running and in logs show:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
10:53:47.212 WARN [globalWorkerGroup-3-9] RemoteDevice{1}: Keepalive RPC failed with error: [RpcError [message=Channel closed, severity=ERROR, errorType=TRANSPORT, tag=operation-failed, applicationTag=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, info=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, cause=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;]]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;6. start testtool as in step 1 =&amp;gt; ODL will not reconnect devices and ODL is stuck in state from step 5.&lt;br/&gt;
 (only unmount and mount will reconnect devices)&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;The problem is in step 5. and 6. when ODL reports &quot;connected&quot; but there is no connection to NETCONF testtool and ODL does not reconnect automatically when testtool is started again.&lt;/p&gt;</description>
                <environment></environment>
        <key id="35120">NETCONF-850</key>
            <summary>Cannot reconnect on second time</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</priority>
                        <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="msunal">Martin Sunal</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Jan 2022 10:22:04 +0000</created>
                <updated>Fri, 11 Feb 2022 15:14:29 +0000</updated>
                            <resolved>Fri, 11 Feb 2022 15:14:14 +0000</resolved>
                                    <version>2.0.11</version>
                                    <fixVersion>2.0.13</fixVersion>
                    <fixVersion>1.13.8</fixVersion>
                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="70539" author="JIRAUSER14307" created="Fri, 11 Feb 2022 13:16:16 +0000"  >&lt;p&gt;Confirmed this issue is present on Phosphorus SR-1, although after retest on master it is not present anymore.&lt;/p&gt;

&lt;p&gt;Seems like it was fixed by this patch:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/netconf/+/99462&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;99462: Do not reuse inactive handler &lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="35127">NETCONF-852</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="17214" name="karaf.log" size="490958" author="msunal" created="Mon, 24 Jan 2022 10:59:02 +0000"/>
                            <attachment id="17213" name="mount-all.txt" size="10141" author="msunal" created="Mon, 24 Jan 2022 10:15:06 +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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0419b:</customfieldvalue>

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