<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:44 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>[CONTROLLER-1117] Error while deleting config:service instance from list (via netconf over restconf)</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1117</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;I guess this bug is in netconf-connector, but such component is missing from Bugzilla&amp;#39;s drop-down list.&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Minor severity, as instead of deleting a service directly, one can delete the backing module instead.&lt;/p&gt;

&lt;p&gt;On Helium build, after&lt;br/&gt;
  feature:install odl-bgpcep-all odl-restconf-noauth odl-netconf-connector-all&lt;br/&gt;
there is &quot;example-ipv6-topology&quot; service doing basically nothing:&lt;/p&gt;

&lt;p&gt;curl -H &quot;Accept:application/json&quot; 127.0.0.1:8181/restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/config:services/service/odl-topology-api-cfg:topology-reference/instance/example-ipv6-topology&lt;br/&gt;
    returns:&lt;br/&gt;
{&quot;instance&quot;:[&lt;/p&gt;
{&quot;name&quot;:&quot;example-ipv6-topology&quot;,&quot;provider&quot;:&quot;/modules/module[type=&apos;bgp-reachability-ipv6&apos;][name=&apos;example-ipv6-topology&apos;]&quot;}
&lt;p&gt;]}&lt;/p&gt;

&lt;p&gt;(There is also example-ipv4-topology item we want to keep.)&lt;/p&gt;

&lt;p&gt;Here is an attempt to delete example-ipv6-topology:&lt;br/&gt;
curl -v -X DELETE 127.0.0.1:8181/restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/config:services/service/odl-topology-api-cfg:topology-reference/instance/example-ipv6-topology&lt;br/&gt;
    returns:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;About to connect() to 10.25.2.9 port 8181 (#0)&lt;/li&gt;
	&lt;li&gt;Trying 10.25.2.9...&lt;/li&gt;
	&lt;li&gt;connected&lt;/li&gt;
	&lt;li&gt;Connected to 10.25.2.9 (10.25.2.9) port 8181 (#0)&lt;br/&gt;
&amp;gt; DELETE /restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/config:services/service/odl-topology-api-cfg:topology-reference/instance/example-ipv6-topology HTTP/1.1&lt;br/&gt;
&amp;gt; User-Agent: curl/7.27.0&lt;br/&gt;
&amp;gt; Host: 10.25.2.9:8181&lt;br/&gt;
&amp;gt; Accept: &lt;b&gt;/&lt;/b&gt;&lt;br/&gt;
&amp;gt;&lt;br/&gt;
&amp;lt; HTTP/1.1 500 Server Error&lt;br/&gt;
&amp;lt; Content-Type: application/json&lt;br/&gt;
&amp;lt; Transfer-Encoding: chunked&lt;br/&gt;
&amp;lt; Server: Jetty(8.1.14.v20131031)&lt;br/&gt;
&amp;lt;&lt;br/&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;Error while deleting data&quot;,&lt;br/&gt;
                &quot;error-info&quot;: &quot;java.lang.RuntimeException: RemoteDevice
{controller-config}: Error while deleting /(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)services/service/service&lt;span class=&quot;error&quot;&gt;&amp;#91;{(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)type=(urn:opendaylight:params:xml:ns:yang:controller:topology?revision=2013-11-15)topology-reference}&amp;#93;&lt;/span&gt;/instance/instance&lt;span class=&quot;error&quot;&gt;&amp;#91;{(urn:opendaylight:params:xml:ns:yang:controller:config?revision=2013-04-05)name=example-ipv6-topology}&amp;#93;&lt;/span&gt;\n\tat org.opendaylight.controller.sal.connect.netconf.sal.tx.NetconfDeviceWriteOnlyTx.delete(NetconfDeviceWriteOnlyTx.java:161)\n\tat&lt;br/&gt;
  (and many lines more)&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Here is an interesting part of karaf.log file:&lt;br/&gt;
2015-01-20 16:45:58,729 | WARN  | oupCloseable-4-4 | NetconfDeviceCommunicator      &lt;br/&gt;
  | 242 - org.opendaylight.controller.sal-netconf-connector - 1.1.2.SNAPSHOT | RemoteDevice{controller-config}
&lt;p&gt;: Error reply from remote device, request: &amp;lt;rpc message-id=&quot;m-100&quot; xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&amp;gt;&lt;br/&gt;
&amp;lt;edit-config&amp;gt;&lt;br/&gt;
&amp;lt;target&amp;gt;&lt;br/&gt;
&amp;lt;candidate/&amp;gt;&lt;br/&gt;
&amp;lt;/target&amp;gt;&lt;br/&gt;
&amp;lt;default-operation&amp;gt;none&amp;lt;/default-operation&amp;gt;&lt;br/&gt;
&amp;lt;config&amp;gt;&lt;br/&gt;
&amp;lt;services xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:config&quot;&amp;gt;&lt;br/&gt;
&amp;lt;service&amp;gt;&lt;br/&gt;
&amp;lt;type xmlns:x=&quot;urn:opendaylight:params:xml:ns:yang:controller:topology&quot;&amp;gt;x:topology-r&lt;br/&gt;
eference&amp;lt;/type&amp;gt;&lt;br/&gt;
&amp;lt;instance xmlns:a=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot; a:operation=&quot;delete&quot;&amp;gt;&lt;br/&gt;
&amp;lt;name&amp;gt;example-ipv6-topology&amp;lt;/name&amp;gt;&lt;br/&gt;
&amp;lt;/instance&amp;gt;&lt;br/&gt;
&amp;lt;/service&amp;gt;&lt;br/&gt;
&amp;lt;/services&amp;gt;&lt;br/&gt;
&amp;lt;/config&amp;gt;&lt;br/&gt;
&amp;lt;/edit-config&amp;gt;&lt;br/&gt;
&amp;lt;/rpc&amp;gt;&lt;br/&gt;
, response: &amp;lt;rpc-reply xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot; message-id=&quot;m-100&quot;&amp;gt;&lt;br/&gt;
&amp;lt;rpc-error&amp;gt;&lt;br/&gt;
&amp;lt;error-type&amp;gt;application&amp;lt;/error-type&amp;gt;&lt;br/&gt;
&amp;lt;error-tag&amp;gt;invalid-value&amp;lt;/error-tag&amp;gt;&lt;br/&gt;
&amp;lt;error-severity&amp;gt;error&amp;lt;/error-severity&amp;gt;&lt;br/&gt;
&amp;lt;error-message&amp;gt;One element provider expected in XmlElement&lt;/p&gt;
{name=&apos;instance&apos;, namespace=&apos;urn:opendaylight:params:xml:ns:yang:controller:config&apos;}
&lt;p&gt;&amp;lt;/error-message&amp;gt;&lt;br/&gt;
&amp;lt;/rpc-error&amp;gt;&lt;br/&gt;
&amp;lt;/rpc-reply&amp;gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;NetconfDocumentedException{message=One element provider expected in XmlElement&lt;/p&gt;
{name=&apos;instance&apos;, namespace=&apos;urn:opendaylight:params:xml:ns:yang:controller:config&apos;}
&lt;p&gt;, errorType=application, errorTag=invalid_value, errorSeverity=error, errorInfo=null}&lt;br/&gt;
        at org.opendaylight.controller.netconf.api.NetconfDocumentedException.fromXMLDocument(NetconfDocumentedException.java:245)&lt;/p&gt;


&lt;p&gt;It looks like RPC has delete operation on &apos;instance&apos; list, instead of just &apos;example-ipv6-topology&apos; item.&lt;br/&gt;
Am I doing something wrong or is this really a bug?&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25671">CONTROLLER-1117</key>
            <summary>Error while deleting config:service instance from list (via netconf over restconf)</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="tcere">Tomas Cere</assignee>
                                    <reporter username="vrpolak">Vratko Polak</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 Jan 2015 17:45:49 +0000</created>
                <updated>Thu, 4 Jun 2015 10:40:37 +0000</updated>
                            <resolved>Thu, 4 Jun 2015 10:40:37 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>config</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="50051" author="tony.tkacik@gmail.com" created="Wed, 21 Jan 2015 08:58:50 +0000"  >&lt;p&gt;This seems to be bug / missing feature / documentation in Netconf / Config subsystem,&lt;br/&gt;
remove RPC seems to be OK according to YANG model (even namespace&lt;br/&gt;
of instance element is correct urn:opendaylight:params:xml:ns:yang:controller:config&lt;/p&gt;

&lt;p&gt;But not sure if removing service instances is supported by config subsystem.&lt;/p&gt;</comment>
                            <comment id="50052" author="mmarsale@cisco.com" created="Wed, 21 Jan 2015 15:01:34 +0000"  >&lt;p&gt;Looks like an issue (bug, outdated parsing) in edit-config operation when deleting services. Needs to be fixed&lt;/p&gt;</comment>
                            <comment id="50053" author="tcere" created="Thu, 28 May 2015 12:52:11 +0000"  >&lt;p&gt;master:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/21322/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/21322/&lt;/a&gt;&lt;br/&gt;
stable/lithium:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/21296/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/21296/&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>2610</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=2610]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10383"><![CDATA[Lithium-RC1]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Normal]]></customfieldvalue>

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

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