<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:05 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-457] Restconf temporarily refuses to insert new augmented nodes when using HTTP/1.1</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-457</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;=====SUMMARY=====&lt;br/&gt;
Restconf quite often fails to insert a new augmented node to MD-SAL and instead throws a &quot;Data already exists for path&quot; error, even though there is nothing present in given topology.&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;protocol&quot;,&lt;br/&gt;
                &quot;error-tag&quot;: &quot;data-exists&quot;,&lt;br/&gt;
                &quot;error-message&quot;: &quot;Data already exists for path: /(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology/topology/topology[&lt;/p&gt;
{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)topology-id=sxp}
&lt;p&gt;]&quot;&lt;br/&gt;
            }&lt;br/&gt;
        ]&lt;br/&gt;
    }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;=====STEPS=====&lt;br/&gt;
This can be easily observed on the SXP project given these steps:&lt;br/&gt;
1. Install odl-sxp-controller feature to provide the sxp yang augmentation&lt;br/&gt;
2. Write an sxp-augmented node to the DS using&lt;br/&gt;
    POST &lt;a href=&quot;http://localhost:8181/restconf/config/network-topology:network-topology/topology/sxp/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/network-topology:network-topology/topology/sxp/&lt;/a&gt;&lt;br/&gt;
3. DELETE the &quot;sxp&quot; topology with the node&lt;br/&gt;
    DELETE &lt;a href=&quot;http://localhost:8181/restconf/config/network-topology:network-topology/topology/sxp/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/network-topology:network-topology/topology/sxp/&lt;/a&gt;&lt;br/&gt;
4. Create a new empty &quot;sxp&quot; topology with:&lt;br/&gt;
    POST &lt;a href=&quot;http://localhost:8181/restconf/config/network-topology:network-topology/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/network-topology:network-topology/&lt;/a&gt;&lt;br/&gt;
    Payload:&lt;br/&gt;
    &amp;lt;topology xmlns=&quot;urn:TBD:params:xml:ns:yang:network-topology&quot;&amp;gt;&lt;br/&gt;
	    &amp;lt;topology-id&amp;gt;sxp&amp;lt;/topology-id&amp;gt;&lt;br/&gt;
    &amp;lt;/topology&amp;gt;&lt;br/&gt;
5. Try to write the node from step 2 again. This in most cases produces the error.&lt;/p&gt;

&lt;p&gt;If the above steps do not produce an error (rarely, but may happen), repeat steps 3 to 5. &lt;/p&gt;


&lt;p&gt;=====ADDITIONAL INFO=====&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;This bug seems to happen only when using HTTP/1.1. We have not been able to reproduce it with HTTP/1.0&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;The error keeps appearing on subsequent tries to write the node and suddenly disappears on Xth try. Sometimes on the 3rd, sometimes on the fifth... Until it eventually passes and the node gets written to the MD-SAL.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;The example node payload and TRACE logs from entire system are in the attachments&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21470">NETCONF-457</key>
            <summary>Restconf temporarily refuses to insert new augmented nodes when using HTTP/1.1</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="Kostiantyn">Kostiantyn Nosach</assignee>
                                    <reporter username="mdindoffer">Martin Dindoffer</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Thu, 24 Aug 2017 13:52:08 +0000</created>
                <updated>Fri, 3 Dec 2021 11:20:23 +0000</updated>
                            <resolved>Fri, 3 Dec 2021 11:20:23 +0000</resolved>
                                                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="40193" author="mdindoffer" created="Thu, 24 Aug 2017 13:52:08 +0000"  >&lt;p&gt;Attachment error trace log.txt has been added with description: Trace logs of the failed node insertion&lt;/p&gt;</comment>
                            <comment id="40194" author="mdindoffer" created="Thu, 24 Aug 2017 13:53:32 +0000"  >&lt;p&gt;Attachment sxp node 1 payload.txt has been added with description: Example SXP-augmented node payload&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="17101" name="[NETCONF-457] Steps to reproduce.rtf" size="1327" author="Kostiantyn" created="Thu, 2 Dec 2021 13:32:52 +0000"/>
                            <attachment id="12731" name="error trace log.txt" size="59364" author="martin.dindoffer@pantheon.tech" created="Thu, 24 Aug 2017 13:52:08 +0000"/>
                            <attachment id="12732" name="sxp node 1 payload.txt" size="2271" author="martin.dindoffer@pantheon.tech" created="Thu, 24 Aug 2017 13:53:32 +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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9047</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=9047]]></customfieldvalue>

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

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