<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:22 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>[YANGTOOLS-810] NETCONF device is disconnected, as yangtools has issues to dynamically load OpenConfig models</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-810</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;When enabling OpenConfig support on my IP/MPLS router, NETCONF connection is terminated. Getting the following errors:&lt;/p&gt;

&lt;p&gt;2017-09-08 08:25:56,522 | WARN  | sing-executor-33 | NetconfDevice                    | 306 - org.opendaylight.netconf.sal-netconf-connector - 1.5.0.Carbon | RemoteDevice&lt;/p&gt;
{VSR}: Unable to build schemacontext, unsatisfied imports {}, will reattempt with resolved only&lt;br/&gt;
2017-09-08 08:25:56,522 | ERROR | sing-executor-33 | NetconfDevice                    | 306 - org.opendaylight.netconf.sal-netconf-connector - 1.5.0.Carbon | RemoteDevice{VSR}
&lt;p&gt;: Initialization in sal failed, disconnecting from device&lt;br/&gt;
java.lang.IllegalStateException: RemoteDevice&lt;/p&gt;
{VSR}: No more sources for schema context&lt;br/&gt;
        at org.opendaylight.netconf.sal.connect.netconf.NetconfDevice$SchemaSetup.setUpSchema(NetconfDevice.java:502)&lt;span class=&quot;error&quot;&gt;&amp;#91;306:org.opendaylight.netconf.sal-netconf-connector:1.5.0.Carbon&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.netconf.sal.connect.netconf.NetconfDevice$SchemaSetup.run(NetconfDevice.java:445)&lt;span class=&quot;error&quot;&gt;&amp;#91;306:org.opendaylight.netconf.sal-netconf-connector:1.5.0.Carbon&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.FutureTask.run(Unknown Source)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.lang.Thread.run(Unknown Source)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
2017-09-08 08:25:56,537 | WARN  | sing-executor-33 | NetconfDeviceCommunicator        | 306 - org.opendaylight.netconf.sal-netconf-connector - 1.5.0.Carbon | RemoteDevice{VSR}
&lt;p&gt;: Session terminated Session closed&lt;/p&gt;

&lt;p&gt;Behavior is a bit surprising: I get the log &quot;unsatisfied imports {}&quot;, where the list of unsatisfied imports is empty. Also, if there are unsatisfied imports typically ODL does not terminate the NETCONF connection - but just ignores the corresponding models. So this is likely a bug in the yang parser causing this issue.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Windows&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="23230">YANGTOOLS-810</key>
            <summary>NETCONF device is disconnected, as yangtools has issues to dynamically load OpenConfig models</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="-1">Unassigned</assignee>
                                    <reporter username="sven.wisotzky@nokia.com">Sven Wisotzky</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Sep 2017 06:35:56 +0000</created>
                <updated>Sun, 10 Apr 2022 18:36:01 +0000</updated>
                            <resolved>Tue, 12 Jun 2018 13:24:42 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="44528" author="pkajsa" created="Fri, 8 Sep 2017 07:55:05 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;can you please attach a log or an error message of yang parser, because from current attached information I cannot say what is a source cause of this issue or even whether it is a bug in yangtools.. &lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                            <comment id="44529" author="sven.wisotzky@nokia.com" created="Fri, 8 Sep 2017 08:01:57 +0000"  >&lt;p&gt;Could you provide some guidance, on how to execute yangtools in this context. I am just using the NETCONF connector and the NETCONF connections break during import of the YANG modules. From my understanding, the model discovery process is using internally yangtools. When removing the OpenConfig modules from get &amp;lt;schemas&amp;gt; (rfc6022) everything works without problem.&lt;/p&gt;

&lt;p&gt;From Karaf, I am just doing:&lt;br/&gt;
&amp;gt;netconf-connect-device -id VSR -p 830 -P admin -U admin -i 127.0.0.1&lt;/p&gt;</comment>
                            <comment id="44530" author="jmorvay@cisco.com" created="Fri, 8 Sep 2017 11:09:10 +0000"  >&lt;p&gt;Hi Sven,&lt;/p&gt;

&lt;p&gt;From the NETCONF point of view, this seems that we are getting some strange SchemaResolutionException from YT during resolution of the mountpoint&apos;s schema context. The reason why I say the exception is strange is that it looks like the exception has no failed source nor unsatisfied imports in it. We are not expecting such a case in handling SchemaResolutionExceptions, so that&apos;s why you can see this strange behavior.&lt;/p&gt;

&lt;p&gt;Can you please provide us with NetconfDevice TRACE logs? Also can you please provide us with OpenConfig models, that are causing this issue?&lt;/p&gt;</comment>
                            <comment id="44531" author="pkajsa" created="Mon, 18 Sep 2017 11:51:59 +0000"  >&lt;p&gt;downgrade severity because it seems it is not critical..&lt;/p&gt;</comment>
                            <comment id="44532" author="giheron@cisco.com" created="Tue, 19 Sep 2017 15:21:09 +0000"  >&lt;p&gt;this might be a duplicate of &lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-806&quot; title=&quot;scope of model import prefix should be module/submodule, not module+submodules...&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-806&quot;&gt;&lt;del&gt;YANGTOOLS-806&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="44533" author="pkajsa" created="Fri, 13 Oct 2017 09:34:06 +0000"  >&lt;p&gt;Does this bug still persist ? Can you please retest with the following patch applied (&lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=9005&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=9005&lt;/a&gt;) ?&lt;/p&gt;</comment>
                            <comment id="63410" author="rovarga" created="Tue, 12 Jun 2018 13:24:42 +0000"  >&lt;p&gt;Missing steps to reproduce, no activity from reporter.&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>9119</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=9119]]></customfieldvalue>

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

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