<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:35:51 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>[OVSDB-236] southbound fails to delete OvsdbNode from config and operational</title>
                <link>https://jira.opendaylight.org/browse/OVSDB-236</link>
                <project id="10158" key="OVSDB">ovsdb</project>
                    <description>&lt;p&gt;Adding a OvsdbNode via RESTCONF and then deleting it via RESTCONF fails to remove the OvsdbNode from config and operational.&lt;/p&gt;

&lt;p&gt;I see exceptions like below. I think maybe the ownership has changed or been removed for this ODL and the pending mdsal updates fail because there is no owner. Some longer time later the config and operational do cleanup. karaf log is attached.&lt;/p&gt;

&lt;p&gt;2015-12-10 16:16:03,081 | WARN  | lt-dispatcher-17 | SimpleShardDataTreeCohort        | 163 - org.opendaylight.controller.sal-distributed-datastore - 1.3.0.SNAPSHOT | Unexpected failure in validation phase&lt;br/&gt;
com.google.common.base.VerifyException: Total child count is -1 (from NodeModification [identifier=(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)node,&lt;/p&gt;

&lt;p&gt;Steps:&lt;/p&gt;

&lt;p&gt;1. start ovsdb to pssive listen: sudo ovs-vsctl set-manager ptcp:6640&lt;br/&gt;
2. RESTCONF to add node &lt;span class=&quot;error&quot;&gt;&amp;#91;add&amp;#93;&lt;/span&gt;&lt;br/&gt;
3. RSTCONF to delete node &lt;span class=&quot;error&quot;&gt;&amp;#91;del&amp;#93;&lt;/span&gt;&lt;br/&gt;
4. ODL disconnects the ovsdb node.&lt;br/&gt;
5. exceptions&lt;br/&gt;
6. GET to see that both config and operation still exist. &lt;span class=&quot;error&quot;&gt;&amp;#91;get&amp;#93;&lt;/span&gt;&lt;br/&gt;
7. Some time later the mdsal does cleanup such that the GET&apos;s return nothing.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;add&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;a href=&quot;http://localhost:8080/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F192.168.120.31:6640&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F192.168.120.31:6640&lt;/a&gt;&lt;br/&gt;
{&lt;br/&gt;
  &quot;network-topology:node&quot;: [&lt;br/&gt;
        {&lt;br/&gt;
            &quot;node-id&quot;: &quot;ovsdb://192.168.120.31:6640&quot;,&lt;br/&gt;
            &quot;connection-info&quot;: &lt;/p&gt;
{
              &quot;ovsdb:remote-port&quot;: 6640,
              &quot;ovsdb:remote-ip&quot;: &quot;192.168.120.31&quot;
            }
&lt;p&gt;        }&lt;br/&gt;
    ]&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;del&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;a href=&quot;http://localhost:8080/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F192.168.120.31:6640&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F192.168.120.31:6640&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;get&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;a href=&quot;http://localhost:8080/restconf/config/network-topology:network-topology/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/config/network-topology:network-topology/&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21928">OVSDB-236</key>
            <summary>southbound fails to delete OvsdbNode from config and operational</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="10002">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="shague">Sam Hague</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 Dec 2015 21:43:20 +0000</created>
                <updated>Thu, 19 Oct 2017 21:27:02 +0000</updated>
                            <resolved>Fri, 18 Dec 2015 14:43:55 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>Southbound.Open_vSwitch</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="41059" author="shague@redhat.com" created="Thu, 10 Dec 2015 21:43:20 +0000"  >&lt;p&gt;Attachment karaf.log has been added with description: karaf log showing exceptions&lt;/p&gt;</comment>
                            <comment id="41055" author="jluhrsen" created="Wed, 16 Dec 2015 21:18:35 +0000"  >&lt;p&gt;a different repro:&lt;/p&gt;

&lt;p&gt;1.  install odl-ovsdb-southbound-impl-rest&lt;br/&gt;
2.  sudo ovs-vsctl set-manager tcp:${ODL_IP}:6640&lt;br/&gt;
3.  sudo ovs-vsctl del-manager&lt;/p&gt;

&lt;p&gt;doing the above with a distro built on 12/15 (master) &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; showed these&lt;br/&gt;
symptoms.  karaf log attached.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; distribution-karaf-0.4.0-20151215.221738-2802.zip&lt;/p&gt;</comment>
                            <comment id="41060" author="jluhrsen" created="Wed, 16 Dec 2015 21:20:10 +0000"  >&lt;p&gt;Attachment 4756.karaf.log has been added with description: karaf log&lt;/p&gt;</comment>
                            <comment id="41056" author="jluhrsen" created="Wed, 16 Dec 2015 21:47:44 +0000"  >&lt;p&gt;Also just hit this by having an ovs actively trying to connect while brining&lt;br/&gt;
up karaf and installing ovsdb-southbound-impl-rest.  It did connect, but when&lt;br/&gt;
disconnecting, I saw the Exception in karaf.log&lt;/p&gt;</comment>
                            <comment id="41057" author="shague@redhat.com" created="Thu, 17 Dec 2015 18:19:08 +0000"  >&lt;p&gt;Good point to add that if the odl-ovsdb-southbound-impl-ui feature is used rather than odl-ovsdb-southbound-rest then the error does not occur. The -ui feature starts with -rest and adds odl-mdsal-apidocs and odl-mdsal-xsql.&lt;/p&gt;</comment>
                            <comment id="41058" author="shague@redhat.com" created="Fri, 18 Dec 2015 14:43:03 +0000"  >&lt;p&gt;(In reply to Sam Hague from comment #4)&lt;br/&gt;
&amp;gt; Good point to add that if the odl-ovsdb-southbound-impl-ui feature is used&lt;br/&gt;
&amp;gt; rather than odl-ovsdb-southbound-rest then the error does not occur. The -ui&lt;br/&gt;
&amp;gt; feature starts with -rest and adds odl-mdsal-apidocs and odl-mdsal-xsql.&lt;/p&gt;

&lt;p&gt;Should also note that this could be mere coincidence that the -ui feature doesn&apos;t show the problem. The issue seems to be timing related so the -ui could just be masking the issue.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="22979">YANGTOOLS-559</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="12827" name="4756.karaf.log" size="134771" author="jluhrsen" created="Wed, 16 Dec 2015 21:20:10 +0000"/>
                            <attachment id="12826" name="karaf.log" size="158877" author="shague" created="Thu, 10 Dec 2015 21:43:20 +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>4756</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=4756]]></customfieldvalue>

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

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