<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:16 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-138] RPC called on mount point not being correctly handled when multiple revision-date coexist</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-138</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;I have two netconf devices, having the same foo.yang schema but with different revision date. &lt;/p&gt;

&lt;p&gt;device 1 has 2015-10-21&lt;br/&gt;
device 2 has 2015-11-07&lt;/p&gt;

&lt;p&gt;foo.yang defines RPCs, one of them is download-image. Its definition is exactly the same in both revisions. &lt;br/&gt;
Both devices are correctly connected and there schema correctly mounted, present in the cache folder.&lt;/p&gt;

&lt;p&gt;Calling the RPC on the mounted device failed because of unknown RPC. &lt;/p&gt;

&lt;p&gt;Although I can clearly see the RPC listed under &quot;available rpcs&quot;. &lt;/p&gt;

&lt;p&gt;I believe RESTCONF implementation picked latest revision date for the given namespace.&lt;/p&gt;

&lt;p&gt;&amp;lt;html&amp;gt;&lt;br/&gt;
    &amp;lt;head&amp;gt;&lt;br/&gt;
        &amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot;/&amp;gt;&lt;br/&gt;
        &amp;lt;title&amp;gt;Error 500 Server Error&amp;lt;/title&amp;gt;&lt;br/&gt;
    &amp;lt;/head&amp;gt;&lt;br/&gt;
    &amp;lt;body&amp;gt;&lt;br/&gt;
        &amp;lt;h2&amp;gt;HTTP ERROR 500&amp;lt;/h2&amp;gt;&lt;br/&gt;
        &amp;lt;p&amp;gt;Problem accessing /restconf/operations/network-topology:network-topology/topology/topology-netconf/node/netconf18475580502416/yang-ext:mount/foo:download-image. Reason:&lt;/p&gt;

&lt;p&gt;            &amp;lt;pre&amp;gt;    Server Error&amp;lt;/pre&amp;gt;&lt;br/&gt;
        &amp;lt;/p&amp;gt;&lt;br/&gt;
        &amp;lt;h3&amp;gt;Caused by:&amp;lt;/h3&amp;gt;&lt;br/&gt;
        &amp;lt;pre&amp;gt;java.lang.NullPointerException: Unknown rpc &lt;b&gt;(urn:foo:params:xml:ns:yang:foo?revision=2015-11-07)download-image&lt;/b&gt;, available rpcs: &lt;span class=&quot;error&quot;&gt;&amp;#91;(http://tail-f.com/ns/netconf/transactions/1.0?revision=1969-12-31)start-transaction, (urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)delete-config, (urn:foo:params:xml:ns:yang:foo?revision=2015-10-21)download-image-status, *(urn:foo:params:xml:ns:yang:foo?revision=2015-10-21)download-image*, (urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)cancel-commit, (http://tail-f.com/ns/netconf/transactions/1.0?revision=1969-12-31)abort-transaction, (urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)unlock, (urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)validate, (urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)kill-session, (urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)copy-config, (urn:ietf:params:xml:ns:netconf:notification:1.0?revision=2008-07-14)create-subscription, (urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)discard-changes, (urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)get, (http://tail-f.com/ns/netconf/query?revision=2014-11-13)reset-query, (urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)edit-config, (http://tail-f.com/ns/netconf/query?revision=2014-11-13)stop-query, (urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?revision=2010-10-04)get-schema, (urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)close-session, (urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)get-config, (urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)lock, (http://tail-f.com/ns/netconf/query?revision=2014-11-13)fetch-query-result, (urn:ietf:params:xml:ns:netconf:base:1.0?revision=2011-06-01)commit, (http://tail-f.com/ns/netconf/transactions/1.0?revision=1969-12-31)prepare-transaction, (http://tail-f.com/ns/netconf/query?revision=2014-11-13)start-query, (http://tail-f.com/ns/netconf/transactions/1.0?revision=1969-12-31)commit-transaction&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:250)&lt;br/&gt;
	at org.opendaylight.controller.sal.connect.netconf.schema.mapping.NetconfMessageTransformer.toRpcRequest(NetconfMessageTransformer.java:211)&lt;br/&gt;
	at org.opendaylight.controller.sal.connect.netconf.schema.mapping.NetconfMessageTransformer.toRpcRequest(NetconfMessageTransformer.java:71)&lt;br/&gt;
	at org.opendaylight.controller.sal.connect.netconf.sal.NetconfDeviceRpc.invokeRpc(NetconfDeviceRpc.java:62)&lt;br/&gt;
	at org.opendaylight.controller.sal.connect.netconf.sal.KeepaliveSalFacade$KeepaliveDOMRpcService.invokeRpc(KeepaliveSalFacade.java:249)&lt;br/&gt;
	at org.opendaylight.controller.sal.restconf.impl.RestconfImpl.invokeRpc(RestconfImpl.java:444)&lt;br/&gt;
	at org.opendaylight.controller.sal.restconf.impl.StatisticsRestconfServiceWrapper.invokeRpc(StatisticsRestconfServiceWrapper.java:81)&lt;br/&gt;
	at org.opendaylight.controller.sal.rest.impl.RestconfCompositeWrapper.invokeRpc(RestconfCompositeWrapper.java:53)&lt;br/&gt;
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;br/&gt;
        &lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:745)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21151">NETCONF-138</key>
            <summary>RPC called on mount point not being correctly handled when multiple revision-date coexist</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="adetalhouet">Alexis de Talhou&#235;t</assignee>
                                    <reporter username="adetalhouet">Alexis de Talhou&#235;t</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Feb 2016 22:07:59 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:19 +0000</updated>
                            <resolved>Mon, 8 Feb 2016 08:26:48 +0000</resolved>
                                                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="39170" author="adetalhouet" created="Tue, 2 Feb 2016 17:40:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/33918/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/33918/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="39171" author="adetalhouet" created="Wed, 3 Feb 2016 14:37:02 +0000"  >&lt;p&gt;beryllium --&amp;gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/33982/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/33982/&lt;/a&gt;&lt;br/&gt;
master --&amp;gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/33983/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/33983/&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>5175</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=5175]]></customfieldvalue>

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

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