<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:35 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-666] 500 response without provided rpc failure details</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-666</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;When the following rpc reply is returned from a mounted device, an IllegalArgumentException&lt;br/&gt;
is thrown for &quot;Unexpected content in response of rpc&quot;.&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;
&amp;lt;nc:rpc-reply xmlns:nc=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&lt;/span&gt; xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&lt;/span&gt; xmlns:junos=&lt;span class=&quot;code-quote&quot;&gt;&quot;http:&lt;span class=&quot;code-comment&quot;&gt;//xml.juniper.net/junos/18.4R1/junos&quot;&lt;/span&gt; message-id=&lt;span class=&quot;code-quote&quot;&gt;&quot;m-11&quot;&lt;/span&gt;&amp;gt;
&lt;/span&gt;
    &amp;lt;nc:rpc-error&amp;gt;

        &amp;lt;nc:error-type&amp;gt;protocol&amp;lt;/nc:error-type&amp;gt;

        &amp;lt;nc:error-tag&amp;gt;operation-failed&amp;lt;/nc:error-tag&amp;gt;

        &amp;lt;nc:error-severity&amp;gt;error&amp;lt;/nc:error-severity&amp;gt;

        &amp;lt;source-daemon&amp;gt;
dcd
&amp;lt;/source-daemon&amp;gt;

        &amp;lt;nc:error-message&amp;gt;
&lt;span class=&quot;code-object&quot;&gt;Number&lt;/span&gt; of member links configured, i.e [1], &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;interface&lt;/span&gt; [ae0]is lesser than the required minimum [2].
&amp;lt;/nc:error-message&amp;gt;

    &amp;lt;/nc:rpc-error&amp;gt;

    &amp;lt;nc:rpc-error&amp;gt;

        &amp;lt;nc:error-type&amp;gt;protocol&amp;lt;/nc:error-type&amp;gt;

        &amp;lt;nc:error-tag&amp;gt;operation-failed&amp;lt;/nc:error-tag&amp;gt;

        &amp;lt;nc:error-severity&amp;gt;error&amp;lt;/nc:error-severity&amp;gt;

        &amp;lt;nc:error-message&amp;gt;
configuration check-out failed
&amp;lt;/nc:error-message&amp;gt;

    &amp;lt;/nc:rpc-error&amp;gt;

&amp;lt;/nc:rpc-reply&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The client that issued the rpc via restconf receives the below response text with the 500&lt;br/&gt;
code:&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-type&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;application&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-message&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;Commit of transaction org.opendaylight.netconf.sal.connect.netconf.sal.tx.WriteCandidateTx@5f8be763 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;RemoteDevice{junos-01}:RPC during tx returned an exceptionTask was cancelled.&quot;&lt;/span&gt;
            }
        ]
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Attached is a karaf.log snippet from when the rest request is sent and finally the&lt;br/&gt;
500 response is given.&lt;/p&gt;

&lt;p&gt;The rpc response, seen above in the karaf.log snippet is very clear to the reason for the&lt;br/&gt;
failure and if delivered to the caller in the response text.&lt;/p&gt;</description>
                <environment></environment>
        <key id="32586">NETCONF-666</key>
            <summary>500 response without provided rpc failure details</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</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="10000">Done</resolution>
                                        <assignee username="jluhrsen">Jamo Luhrsen</assignee>
                                    <reporter username="jluhrsen">Jamo Luhrsen</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Apr 2020 00:04:28 +0000</created>
                <updated>Fri, 5 Jun 2020 09:05:40 +0000</updated>
                            <resolved>Fri, 5 Jun 2020 04:29:35 +0000</resolved>
                                                    <fixVersion>Aluminium</fixVersion>
                    <fixVersion>Magnesium SR2</fixVersion>
                    <fixVersion>Sodium SR4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="68152" author="andmak" created="Thu, 28 May 2020 10:03:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-645&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.opendaylight.org/browse/NETCONF-645&lt;/a&gt; - probably the same problem&lt;/p&gt;</comment>
                            <comment id="68153" author="jluhrsen" created="Thu, 28 May 2020 16:38:58 +0000"  >&lt;p&gt;agreed. I&apos;ll duplicate 645 up to 666 since there is more info on this ticket.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="32696">NETCONF-695</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="32133">NETCONF-645</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="15631" name="NETCONF-666_junos_config.txt" size="2916" author="jluhrsen" created="Tue, 21 Apr 2020 00:06:58 +0000"/>
                            <attachment id="15630" name="NETCONF-666_karaf_log_snippet.txt" size="35188" author="jluhrsen" created="Tue, 21 Apr 2020 00:06:01 +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|i03s0f:</customfieldvalue>

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