<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:31:25 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-39] Remove SW2 property &quot;description&quot; to a node - not working for both OF13 and OF10 mininet</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-39</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;While testing NSF with new plugin, I am able to create description to a node i.e., PUT &lt;a href=&quot;http://127.0.0.1:8080/controller/nb/v2/switchmanager/default/node/MD_SAL/openflow:2/property/description/Switch2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/controller/nb/v2/switchmanager/default/node/MD_SAL/openflow:2/property/description/Switch2&lt;/a&gt; and verified too at &lt;a href=&quot;http://127.0.0.1:8080/controller/nb/v2/switchmanager/default/nodes&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/controller/nb/v2/switchmanager/default/nodes&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When I try to remove the description i.e DELETE &lt;a href=&quot;http://10.125.136.52:8080/controller/nb/v2/switchmanager/default/node/OF/00:00:00:00:00:00:00:02/property/description&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.125.136.52:8080/controller/nb/v2/switchmanager/default/node/OF/00:00:00:00:00:00:00:02/property/description&lt;/a&gt;, I am getting 500 internal error.&lt;/p&gt;

&lt;p&gt;Please let me know if you do get the same response. If that is so, please fix the same accordingly.&lt;/p&gt;

&lt;p&gt;This test case is working with old plugin.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Madhusudhan&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Windows&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27307">OPNFLWPLUG-39</key>
            <summary>Remove SW2 property &quot;description&quot; to a node - not working for both OF13 and OF10 mininet</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</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="sheena.goyal@tcs.com">Sheena goyal</assignee>
                                    <reporter username="madhusudhan.opendaylight@yahoo.com">Madhusudhan Ananderi</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Jan 2014 01:45:07 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:02 +0000</updated>
                            <resolved>Tue, 4 Feb 2014 04:51:41 +0000</resolved>
                                                                    <component>General</component>
                        <due>Sat, 25 Jan 2014 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="55237" author="hagbard@gmail.com" created="Tue, 21 Jan 2014 16:40:20 +0000"  >&lt;p&gt;Is this being done against the new OFplugin or the old OFplugin?&lt;/p&gt;</comment>
                            <comment id="55238" author="madhusudhan.opendaylight@yahoo.com" created="Tue, 21 Jan 2014 18:02:40 +0000"  >&lt;p&gt;This has been tested against new OFplugin with OF13 option in the mininet&lt;/p&gt;</comment>
                            <comment id="55239" author="madhusudhan.opendaylight@yahoo.com" created="Wed, 22 Jan 2014 19:02:52 +0000"  >&lt;p&gt;This is tested againt new plugin -OF13 and applies for both OF13 &amp;amp; OF10 mininet&lt;/p&gt;</comment>
                            <comment id="55240" author="madhusudhan.opendaylight@yahoo.com" created="Thu, 23 Jan 2014 01:46:17 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Additional findings:&lt;/p&gt;

&lt;p&gt;This test-case is passed for the first time (applies to both OF10 &amp;amp; OF13 mininet) only if you download the fresh plugin and run this test case.&lt;/p&gt;

&lt;p&gt;For the second time, this test case is getting failed and gives 500 response code till you download the fresh plugin again.&lt;/p&gt;

&lt;p&gt;This applies to both OF10 and OF13 mininet.&lt;/p&gt;

&lt;p&gt;-Madhusudhan&lt;/p&gt;</comment>
                            <comment id="55241" author="madhusudhan.opendaylight@yahoo.com" created="Fri, 24 Jan 2014 02:04:11 +0000"  >&lt;p&gt;Here is the error that I try to DELETE the description.&lt;/p&gt;

&lt;p&gt;PUT &lt;a href=&quot;http://10.125.136.52:8080/controller/nb/v2/switchmanager/default/node/MD_SAL/openflow:2/property/description/Switch2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.125.136.52:8080/controller/nb/v2/switchmanager/default/node/MD_SAL/openflow:2/property/description/Switch2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;DELETE &lt;a href=&quot;http://10.125.136.52:8080/controller/nb/v2/switchmanager/default/node/MD_SAL/openflow:2/property/description&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.125.136.52:8080/controller/nb/v2/switchmanager/default/node/MD_SAL/openflow:2/property/description&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Response:-&lt;/p&gt;

&lt;p&gt;&amp;lt;html&amp;gt;&lt;br/&gt;
    &amp;lt;head&amp;gt;&lt;br/&gt;
        &amp;lt;title&amp;gt;Apache Tomcat/7.0.32 - Error report&amp;lt;/title&amp;gt;&lt;br/&gt;
        &amp;lt;style&amp;gt;&lt;br/&gt;
            &amp;lt;!--H1 &lt;/p&gt;
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
&lt;p&gt; H2 &lt;/p&gt;
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
&lt;p&gt; H3 &lt;/p&gt;
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
&lt;p&gt; BODY &lt;/p&gt;
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
&lt;p&gt; B &lt;/p&gt;
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
&lt;p&gt; P &lt;/p&gt;
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}
&lt;p&gt;A &lt;/p&gt;
{color : black;}
&lt;p&gt;A.name &lt;/p&gt;
{color : black;}
&lt;p&gt;HR &lt;/p&gt;
{color : #525D76;}
&lt;p&gt;--&amp;gt;&lt;br/&gt;
        &amp;lt;/style&amp;gt;&lt;br/&gt;
    &amp;lt;/head&amp;gt;&lt;br/&gt;
    &amp;lt;body&amp;gt;&lt;br/&gt;
        &amp;lt;h1&amp;gt;HTTP Status 500 - &amp;lt;/h1&amp;gt;&lt;br/&gt;
        &amp;lt;HR size=&quot;1&quot; noshade=&quot;noshade&quot;&amp;gt;&lt;br/&gt;
            &amp;lt;p&amp;gt;&lt;br/&gt;
                &amp;lt;b&amp;gt;type&amp;lt;/b&amp;gt; Exception report&lt;br/&gt;
            &amp;lt;/p&amp;gt;&lt;br/&gt;
            &amp;lt;p&amp;gt;&lt;br/&gt;
                &amp;lt;b&amp;gt;message&amp;lt;/b&amp;gt;&lt;br/&gt;
                &amp;lt;u&amp;gt;&amp;lt;/u&amp;gt;&lt;br/&gt;
            &amp;lt;/p&amp;gt;&lt;br/&gt;
            &amp;lt;p&amp;gt;&lt;br/&gt;
                &amp;lt;b&amp;gt;description&amp;lt;/b&amp;gt;&lt;br/&gt;
                &amp;lt;u&amp;gt;The server encountered an internal error that prevented it from fulfilling this request.&amp;lt;/u&amp;gt;&lt;br/&gt;
            &amp;lt;/p&amp;gt;&lt;br/&gt;
            &amp;lt;p&amp;gt;&lt;br/&gt;
                &amp;lt;b&amp;gt;exception&amp;lt;/b&amp;gt;&lt;br/&gt;
                &amp;lt;pre&amp;gt;java.lang.NullPointerException&lt;br/&gt;
                org.opendaylight.controller.switchmanager.internal.SwitchManager.updateNodeConfig(SwitchManager.java:886)&lt;br/&gt;
                org.opendaylight.controller.switchmanager.northbound.SwitchNorthbound.deleteNodeProperty(SwitchNorthbound.java:388)&lt;br/&gt;
                sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
                sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;br/&gt;
                sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br/&gt;
                java.lang.reflect.Method.invoke(Method.java:606)&lt;br/&gt;
                com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)&lt;br/&gt;
                com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)&lt;br/&gt;
                com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)&lt;br/&gt;
                com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)&lt;br/&gt;
                com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;br/&gt;
                com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)&lt;br/&gt;
                com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;br/&gt;
                com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)&lt;br/&gt;
                com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)&lt;br/&gt;
                com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)&lt;br/&gt;
                com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)&lt;br/&gt;
                com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)&lt;br/&gt;
                com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)&lt;br/&gt;
                com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)&lt;br/&gt;
                com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)&lt;br/&gt;
                javax.servlet.http.HttpServlet.service(HttpServlet.java:848)&lt;br/&gt;
                org.apache.catalina.filters.CorsFilter.handleSimpleCORS(CorsFilter.java:303)&lt;br/&gt;
                org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:171)&lt;br/&gt;
&amp;lt;/pre&amp;gt;&lt;br/&gt;
            &amp;lt;/p&amp;gt;&lt;br/&gt;
            &amp;lt;p&amp;gt;&lt;br/&gt;
                &amp;lt;b&amp;gt;note&amp;lt;/b&amp;gt;&lt;br/&gt;
                &amp;lt;u&amp;gt;The full stack trace of the root cause is available in the Apache Tomcat/7.0.32 logs.&amp;lt;/u&amp;gt;&lt;br/&gt;
            &amp;lt;/p&amp;gt;&lt;br/&gt;
            &amp;lt;HR size=&quot;1&quot; noshade=&quot;noshade&quot;&amp;gt;&lt;br/&gt;
                &amp;lt;h3&amp;gt;Apache Tomcat/7.0.32&amp;lt;/h3&amp;gt;&lt;br/&gt;
            &amp;lt;/body&amp;gt;&lt;br/&gt;
        &amp;lt;/html&amp;gt;&lt;/p&gt;



&lt;p&gt;When you try to send DELETE request one more time, it says &quot;Switch configuration doesn&apos;t exists&quot;, still I could see the description in the node.&lt;/p&gt;

&lt;p&gt;Use GET &lt;a href=&quot;http://10.125.136.52:8080/controller/nb/v2/switchmanager/default/nodes&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.125.136.52:8080/controller/nb/v2/switchmanager/default/nodes&lt;/a&gt; .... to verify the description&lt;/p&gt;</comment>
                            <comment id="55242" author="krishnan.k.iyer@gmail.com" created="Fri, 24 Jan 2014 05:31:20 +0000"  >&lt;p&gt;Gaurav,&lt;br/&gt;
Also all actions (or set fields) fails when there are multiple actions.&lt;br/&gt;
We are changing the XMLS and CLI commands to take only 1 action for now.&lt;/p&gt;</comment>
                            <comment id="55243" author="krishnan.k.iyer@gmail.com" created="Fri, 24 Jan 2014 05:32:04 +0000"  >&lt;p&gt;Please disregard the previous comment. I apologize.&lt;/p&gt;</comment>
                            <comment id="55244" author="krishnan.k.iyer@gmail.com" created="Fri, 24 Jan 2014 05:34:05 +0000"  >&lt;p&gt;Comment #7 was posted by mistake (ENTER saved my chat statement). Disregard the comment please.&lt;/p&gt;</comment>
                            <comment id="55245" author="sheena.goyal@tcs.com" created="Sat, 25 Jan 2014 14:18:10 +0000"  >&lt;p&gt;Observation 1: Whenever I install new plugin, for the first time I am not getting this error, later I start getting this issue.&lt;/p&gt;

&lt;p&gt;Observation 2: Whenever I try to debug this from eclipse, the issue is getting reproduced once out of 10 time which makes the debugging very difficult for this issue.&lt;/p&gt;

&lt;p&gt;Following are my debugging observations till now:&lt;/p&gt;

&lt;p&gt;This error is getting triggered from the following function:&lt;/p&gt;

&lt;p&gt;status = switchManager.updateNodeConfig(newSwitchConfig);&lt;/p&gt;

&lt;p&gt;The exception gets triggered from the line 886 inside updateNodeConfig function:&lt;/p&gt;

&lt;p&gt;if (!advertisedDesc.isEmpty()) {&lt;/p&gt;

&lt;p&gt;which is set to &quot;&quot; from the line 824&lt;/p&gt;

&lt;p&gt;String advertisedDesc = (nodeDesc == null) ? &quot;&quot; : nodeDesc.getDescription();&lt;/p&gt;

&lt;p&gt;I am still not able to get what is the issue? I will be debugging this further on monday IST. If someone has any inputs to share on this please update.&lt;/p&gt;</comment>
                            <comment id="55246" author="sheena.goyal@tcs.com" created="Wed, 29 Jan 2014 06:02:01 +0000"  >&lt;p&gt;I have fixed this bug.&lt;br/&gt;
For reference :&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/4978/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/4978/&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>335</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=335]]></customfieldvalue>

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

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