<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:52:26 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-198] unable to read operational data</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-198</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I&apos;m building application using 0.1.2-SNAPSHOT controller distro. Using this distro version, application is not able to read operational data from device.&lt;/p&gt;

&lt;p&gt;At around 14.02 application mentioned functionality was working&lt;/p&gt;

&lt;p&gt;Part of the log follows:&lt;/p&gt;

&lt;p&gt;****************************************************************&lt;br/&gt;
2014-03-07 13:27:22.728 CET &lt;span class=&quot;error&quot;&gt;&amp;#91;md-sal-binding-commit-0&amp;#93;&lt;/span&gt; INFO  o.o.c.i.d.app.impl.XXXXDeviceAppImpl - Beginning onDataChanged Event in Device Application Impl.&lt;br/&gt;
****************************************************************&lt;br/&gt;
2014-03-07 13:27:22.730 CET &lt;span class=&quot;error&quot;&gt;&amp;#91;md-sal-binding-commit-0&amp;#93;&lt;/span&gt; WARN  o.o.c.i.d.app.impl.XXXXDeviceAppImpl - Unable to read operational data from netconf device Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=ios-xr-104&amp;#93;&lt;/span&gt;&lt;br/&gt;
2014-03-07 13:27:22.731 CET &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-31-thread-1&amp;#93;&lt;/span&gt; INFO  o.o.c.s.c.n.NetconfDevice#ios-xr-104 - Starting Netconf Client on: /172.23.29.104:830&lt;br/&gt;
2014-03-07 13:27:22.732 CET &lt;span class=&quot;error&quot;&gt;&amp;#91;md-sal-binding-commit-0&amp;#93;&lt;/span&gt; WARN  o.o.c.i.d.app.impl.XXXXDeviceAppImpl - Unable to read operational data from netconf device Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=ios-xr-104&amp;#93;&lt;/span&gt;&lt;br/&gt;
****************************************************************&lt;br/&gt;
2014-03-07 13:27:22.893 CET &lt;span class=&quot;error&quot;&gt;&amp;#91;md-sal-binding-commit-0&amp;#93;&lt;/span&gt; INFO  o.o.c.i.d.app.impl.XXXXDeviceAppImpl - Beginning onDataChanged Event in Device Application Impl.&lt;br/&gt;
2014-03-07 13:27:22.894 CET &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-31-thread-2&amp;#93;&lt;/span&gt; INFO  o.o.c.s.c.n.NetconfDevice#ios-xr-105 - Starting Netconf Client on: /172.23.29.105:830&lt;br/&gt;
****************************************************************&lt;br/&gt;
2014-03-07 13:27:22.897 CET &lt;span class=&quot;error&quot;&gt;&amp;#91;md-sal-binding-commit-0&amp;#93;&lt;/span&gt; WARN  o.o.c.i.d.app.impl.XXXXDeviceAppImpl - Unable to read operational data from netconf device Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=ios-xr-105&amp;#93;&lt;/span&gt;&lt;br/&gt;
2014-03-07 13:27:22.899 CET &lt;span class=&quot;error&quot;&gt;&amp;#91;md-sal-binding-commit-0&amp;#93;&lt;/span&gt; WARN  o.o.c.i.d.app.impl.XXXXDeviceAppImpl - Unable to read operational data from netconf device Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=ios-xr-105&amp;#93;&lt;/span&gt;&lt;br/&gt;
2014-03-07 13:27:22.906 CET &lt;span class=&quot;error&quot;&gt;&amp;#91;ConfigPersister-registrator&amp;#93;&lt;/span&gt; INFO  o.o.c.n.p.i.o.ConfigPersisterActivator - Configuration Persister initialization completed.&lt;br/&gt;
2014-03-07 13:27:35.364 CET &lt;span class=&quot;error&quot;&gt;&amp;#91;nettyThreadgroupModule$NioEventLoopGroupCloseable-7-2&amp;#93;&lt;/span&gt; WARN  io.netty.util.ResourceLeakDetector - LEAK: ByteBuf was GC&apos;d before being released correctly.  &lt;br/&gt;
The following stack trace shows where the leaked object was created, rather than where you failed to release it.&lt;br/&gt;
io.netty.util.ResourceLeakException: io.netty.buffer.UnpooledUnsafeDirectByteBuf@e2b510a&lt;br/&gt;
        at io.netty.util.ResourceLeakDetector$DefaultResourceLeak.&amp;lt;init&amp;gt;(ResourceLeakDetector.java:174) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.util.ResourceLeakDetector.open(ResourceLeakDetector.java:116) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.buffer.UnpooledUnsafeDirectByteBuf.&amp;lt;init&amp;gt;(UnpooledUnsafeDirectByteBuf.java:72) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.buffer.UnpooledByteBufAllocator.newDirectBuffer(UnpooledByteBufAllocator.java:49) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:132) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:123) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.buffer.AbstractByteBufAllocator.ioBuffer(AbstractByteBufAllocator.java:84) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.AdaptiveRecvByteBufAllocator$HandleImpl.allocate(AdaptiveRecvByteBufAllocator.java:104) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:86) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:480) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.lang.Thread.run(Thread.java:724) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_25&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;No other exception is shown.&lt;/p&gt;

&lt;p&gt;Robert&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="24752">CONTROLLER-198</key>
            <summary>unable to read operational data</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="tony.tkacik@gmail.com">Tony Tkacik</assignee>
                                    <reporter username="rgallas@cisco.com">Robert Gallas</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Mar 2014 12:35:59 +0000</created>
                <updated>Tue, 25 Jul 2023 08:23:11 +0000</updated>
                            <resolved>Wed, 9 Apr 2014 09:34:41 +0000</resolved>
                                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="47728" author="rgallas@cisco.com" created="Mon, 10 Mar 2014 18:49:18 +0000"  >&lt;p&gt;After further investigation&lt;/p&gt;

&lt;p&gt;After controller startup inventory is queried, nodes are tested for augmentation and for particular capability. If this action is performed upon startup, following code ends up with logger.warn message.&lt;/p&gt;

&lt;p&gt;        NetconfNode netconfNode = value.getAugmentation(NetconfNode.class);&lt;br/&gt;
        NodeId nodeId = value.getId();&lt;/p&gt;

&lt;p&gt;        if ( netconfNode == null ) &lt;/p&gt;
{
            netconfNode = dataReader.readOperationalData(netconfNodePath);
        }

&lt;p&gt;        if ( netconfNode == null ) {&lt;br/&gt;
            logger.warn(&quot;Unable to read operational data from netconf device {}&quot;, nodeId);&lt;br/&gt;
            return;&lt;br/&gt;
        }&lt;/p&gt;

&lt;p&gt;On background, yang files are downloaded and codecs are generated. Codecs generation and YANG file download takes time. This probably generates onDataChanged Event which triggers upper code to execute once again. This time, with success.&lt;/p&gt;

&lt;p&gt;Issue is that by calling same method with same arguments returns different results for no obvious reason.&lt;/p&gt;

&lt;p&gt;Robert&lt;/p&gt;</comment>
                            <comment id="47729" author="tolvecky@cisco.com" created="Fri, 14 Mar 2014 10:51:32 +0000"  >&lt;p&gt;Moving to md-sal as netconf component only deals with netconf (config) server&lt;/p&gt;</comment>
                            <comment id="47730" author="tony.tkacik@gmail.com" created="Wed, 9 Apr 2014 09:34:41 +0000"  >&lt;p&gt;From your logs - Netconf Client did not full Session Negotiation, when your app tried for read of augmentation, which is present only after full negotiation.&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>492</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=492]]></customfieldvalue>

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

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