<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:37 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>[OPNFLWPLUG-878] Direct statistics RPCs do not return error information on failure</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-878</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Direct statistics RPCs do not provide any error information when it fails.&lt;/p&gt;

&lt;p&gt;For example, get-queue-statistics RPC should fail if the specified queue does not exist.&lt;/p&gt;

&lt;p&gt;  POST /restconf/operations/opendaylight-direct-statistics:get-queue-statistics&lt;br/&gt;
  Body:&lt;br/&gt;
  {&lt;br/&gt;
    &quot;input&quot;: &lt;/p&gt;
{
      &quot;node&quot;: &quot;/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id=\&quot;openflow:1\&quot;]&quot;,
      &quot;node-connector-id&quot;: &quot;1&quot;,
      &quot;queue-id&quot;: &quot;12345&quot;
    }
&lt;p&gt;  }&lt;/p&gt;

&lt;p&gt;If the queue ID 12345 does not exist on the port &quot;openflow:1:1&quot;, OF switch will return QUEUE_OP_FAILED/BAD_QUEUE error. But get-queue-statistics RPC returns an empty response.&lt;/p&gt;

&lt;p&gt;  HTTP/1.1 200 OK&lt;br/&gt;
  Content-Type: application/yang.operation+json&lt;br/&gt;
  Content-Length: 0&lt;br/&gt;
  Server: Jetty(8.1.19.v20160209)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28146">OPNFLWPLUG-878</key>
            <summary>Direct statistics RPCs do not return error information on failure</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="yasuda">Shigeru Yasuda</assignee>
                                    <reporter username="yasuda">Shigeru Yasuda</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Apr 2017 13:56:42 +0000</created>
                <updated>Mon, 27 Sep 2021 09:02:01 +0000</updated>
                            <resolved>Tue, 25 Apr 2017 08:30:51 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="58886" author="yasuda" created="Wed, 12 Apr 2017 14:03:06 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/54868&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/54868&lt;/a&gt;  (master)&lt;/p&gt;</comment>
                            <comment id="58887" author="yasuda" created="Wed, 12 Apr 2017 14:18:07 +0000"  >&lt;p&gt;(In reply to Shigeru Yasuda from comment #1)&lt;br/&gt;
&amp;gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/54868&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/54868&lt;/a&gt;  (master)&lt;/p&gt;

&lt;p&gt;After applying this patch, above get-queue-statistics RPC returns the following response.&lt;/p&gt;

&lt;p&gt;  HTTP/1.1 500 Server Error&lt;br/&gt;
  Content-Type: application/json&lt;br/&gt;
  Transfer-Encoding: chunked&lt;br/&gt;
  Server: Jetty(8.1.19.v20160209)&lt;/p&gt;

&lt;p&gt;  {&lt;br/&gt;
    &quot;errors&quot;:{&lt;br/&gt;
      &quot;error&quot;:[&lt;br/&gt;
       {&lt;br/&gt;
         &quot;error-type&quot;:&quot;application&quot;,&lt;br/&gt;
         &quot;error-tag&quot;:&quot;operation-failed&quot;,&lt;br/&gt;
         &quot;error-message&quot;:&quot;Device reported error type QUEUEOPFAILED code BADQUEUE&quot;,&lt;br/&gt;
         ...&lt;/p&gt;</comment>
                            <comment id="58888" author="yasuda" created="Thu, 13 Apr 2017 06:13:05 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/54924&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/54924&lt;/a&gt;  (stable/carbon)&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/54933&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/54933&lt;/a&gt;  (stable/boron)&lt;/p&gt;</comment>
                            <comment id="58889" author="tomas.slusny@pantheon.tech" created="Tue, 25 Apr 2017 08:23:18 +0000"  >&lt;p&gt;Merged on all 3 branches, so this can be closed then, right?&lt;/p&gt;</comment>
                            <comment id="58890" author="yasuda" created="Tue, 25 Apr 2017 08:30:51 +0000"  >&lt;p&gt;(In reply to Tomas Slusny from comment #4)&lt;br/&gt;
&amp;gt; Merged on all 3 branches, so this can be closed then, right?&lt;/p&gt;

&lt;p&gt;Yes. Thanks for your review.&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>8217</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=8217]]></customfieldvalue>

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

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