<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:59:53 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>[GENIUS-92] TEP info in ITM config datastore can not be deleted</title>
                <link>https://jira.opendaylight.org/browse/GENIUS-92</link>
                <project id="10126" key="GENIUS">genius</project>
                    <description>&lt;p&gt;TEP info in ITM config datastore can not be deleted by following the procedure of the ODL document.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;: where we expect to be deleted&lt;br/&gt;
 {&lt;br/&gt;
   &quot;transport-zones&quot;: {&lt;br/&gt;
     &quot;transport-zone&quot;: [&lt;br/&gt;
       {&lt;br/&gt;
         &quot;zone-name&quot;: &quot;e383ab7e-a92c-4c7c-84cf-e797270799c2&quot;,&lt;br/&gt;
         &quot;tunnel-type&quot;: &quot;odl-interface:tunnel-type-vxlan&quot;,&lt;br/&gt;
         &quot;subnets&quot;: [&lt;br/&gt;
           {&lt;br/&gt;
             &quot;vteps&quot;: [&lt;/li&gt;
	&lt;li&gt;{ &quot;dpn-id&quot;: 229274253668002, &quot;portname&quot;: &quot;tunnel_port&quot;, &quot;option-of-tunnel&quot;: false, &quot;ip-address&quot;: &quot;10.0.0.20&quot; }
&lt;p&gt;,&lt;/p&gt;
               { &quot;dpn-id&quot;: 118908811792816, &quot;portname&quot;: &quot;tunnel_port&quot;, &quot;option-of-tunnel&quot;: false, &quot;ip-address&quot;: &quot;10.0.0.10&quot; }
&lt;p&gt;             ],&lt;br/&gt;
             &quot;gateway-ip&quot;: &quot;0.0.0.0&quot;,&lt;br/&gt;
             &quot;vlan-id&quot;: 0&lt;br/&gt;
           }&lt;br/&gt;
         ]&lt;br/&gt;
       }&lt;br/&gt;
     ]&lt;br/&gt;
   }&lt;br/&gt;
 }&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;Procedure in ODL document::&lt;br/&gt;
  ITM Tunnel Auto-Configuration&lt;br/&gt;
  &lt;a href=&quot;http://docs.opendaylight.org/en/stable-carbon/submodules/genius/docs/specs/itm-tunnel-auto-config.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.opendaylight.org/en/stable-carbon/submodules/genius/docs/specs/itm-tunnel-auto-config.html&lt;/a&gt;&lt;br/&gt;
  &#12288;TEP Deletion&lt;br/&gt;
  When an openvswitch:external_ids:tep-ip parameter gets deleted through ovs-vsctl command, then network topology Operational &lt;br/&gt;
  DS gets updated via OVSB update notification. ITM which has registered for the network-topology DTCNs, gets notified and this &lt;br/&gt;
  deletes the TEP from Transport zone or tepsNotHostedInTransportZone stored in ITM config DS based on external_ids:tzname&lt;br/&gt;
  parameter configured for TEP.&lt;/p&gt;


&lt;p&gt;Environment Details&lt;br/&gt;
  OpenStack Version: stable/ocata&lt;br/&gt;
  ODL Version: carbon-FR&lt;/p&gt;


&lt;p&gt;Reproduction steps:&lt;br/&gt;
  1. Initialize ODL&lt;br/&gt;
  2. Connect (Set up) ControllerNode, ComputeNode with ODL&lt;br/&gt;
  3. Create NW, router, VM&lt;br/&gt;
  4. Confirm data is created in MD-SAL&lt;br/&gt;
     restconf/config/itm:transport-zones&lt;br/&gt;
  5. Delete NW, router, VM&lt;br/&gt;
  6. Execute the following command in  compute node &lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;ovs-vsctl remove Open_vSwitch &amp;lt;UUID&amp;gt; external_ids tep-ip=&quot;10.0.0.20&quot;&lt;/li&gt;
&lt;/ol&gt;



&lt;p&gt;Attachment List:&lt;br/&gt;
  genius-itm-config.xml&lt;br/&gt;
  karaf.tar.gz&lt;br/&gt;
  itm-transportzone.config&lt;br/&gt;
  network-topology.config&lt;br/&gt;
  network-topology.operational&lt;br/&gt;
  controller.ovsdb-client_dump&lt;br/&gt;
  compute.ovsdb-client_dump&lt;/p&gt;


&lt;p&gt;Possible cause:&lt;br/&gt;
  Unable to get the TransportZone which contains the TEP should be removed.&lt;br/&gt;
  Karaf log:&lt;br/&gt;
  2017-09-26 19:26:37,350 | TRACE | nPool-1-worker-3 | OvsdbTepRemoveConfigHelper       | 353 - org.opendaylight.genius.itm-impl - 0.2.0.Carbon | Remove TEP: TEP-IP: 10.0.0.20, TZ name: TZA, DPID: 00:00:d0:86:12:72:2e:a2&lt;br/&gt;
  2017-09-26 19:26:37,351 | TRACE | nPool-1-worker-3 | OvsdbTepRemoveConfigHelper       | 353 - org.opendaylight.genius.itm-impl - 0.2.0.Carbon | Removing TEP from unknown TZ into teps-not-hosted-in-transport-zone.&lt;br/&gt;
  2017-09-26 19:26:37,351 | TRACE | nPool-1-worker-3 | OvsdbTepRemoveConfigHelper       | 353 - org.opendaylight.genius.itm-impl - 0.2.0.Carbon | Unhosted TransportZone does not exist. Nothing to do for TEP removal.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="19873">GENIUS-92</key>
            <summary>TEP info in ITM config datastore can not be deleted</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="tarunODLF">Tarun Thakur</assignee>
                                    <reporter username="ran-xiao@vf.jp.nec.com">Ran Xiao</reporter>
                        <labels>
                    </labels>
                <created>Tue, 10 Oct 2017 04:07:02 +0000</created>
                <updated>Thu, 17 May 2018 14:42:53 +0000</updated>
                            <resolved>Thu, 17 May 2018 14:42:53 +0000</resolved>
                                    <version>Carbon</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>15</watches>
                                                                                                                <comments>
                            <comment id="35993" author="ran-xiao@vf.jp.nec.com" created="Tue, 10 Oct 2017 04:07:02 +0000"  >&lt;p&gt;Attachment genius-itm-config.xml has been added with description: genius-itm-config.xml&lt;/p&gt;</comment>
                            <comment id="35994" author="ran-xiao@vf.jp.nec.com" created="Tue, 10 Oct 2017 04:07:58 +0000"  >&lt;p&gt;Attachment itm-transportzone.config has been added with description: itm-transportzone.config&lt;/p&gt;</comment>
                            <comment id="35995" author="ran-xiao@vf.jp.nec.com" created="Tue, 10 Oct 2017 04:08:28 +0000"  >&lt;p&gt;Attachment karaf.tar.gz has been added with description: karaf.tar.gz&lt;/p&gt;</comment>
                            <comment id="35996" author="ran-xiao@vf.jp.nec.com" created="Tue, 10 Oct 2017 04:08:45 +0000"  >&lt;p&gt;Attachment network-topology.config has been added with description: network-topology.config&lt;/p&gt;</comment>
                            <comment id="35997" author="ran-xiao@vf.jp.nec.com" created="Tue, 10 Oct 2017 04:09:09 +0000"  >&lt;p&gt;Attachment network-topology.operational has been added with description: network-topology.operational&lt;/p&gt;</comment>
                            <comment id="35998" author="ran-xiao@vf.jp.nec.com" created="Tue, 10 Oct 2017 04:09:44 +0000"  >&lt;p&gt;Attachment ocata-compute.ovsdb-client_dump has been added with description: ocata-compute.ovsdb-client_dump&lt;/p&gt;</comment>
                            <comment id="35999" author="ran-xiao@vf.jp.nec.com" created="Tue, 10 Oct 2017 04:10:16 +0000"  >&lt;p&gt;Attachment ocata-controller.ovsdb-client_dump has been added with description: ocata-controller.ovsdb-client_dump&lt;/p&gt;</comment>
                            <comment id="62905" author="faseela.k@ericsson.com" created="Thu, 10 May 2018 06:07:37 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=Hematg&quot; class=&quot;user-hover&quot; rel=&quot;Hematg&quot;&gt;Hematg&lt;/a&gt; Could you please share your observations on this, and assign it to the right person?&lt;/p&gt;</comment>
                            <comment id="62923" author="hematg" created="Fri, 11 May 2018 04:40:43 +0000"  >&lt;p&gt;&#160;Tarun, Can you please take a look at this issue as its related to ITM auto tunnel deletion.&lt;/p&gt;</comment>
                            <comment id="62924" author="tarunodlf" created="Fri, 11 May 2018 06:14:05 +0000"  >&lt;p&gt;You rightly said the possible cause.&lt;/p&gt;

&lt;p&gt;As per configuration, it seems, auto-tunnel feature from netvirt is enabled that is why,&lt;/p&gt;

&lt;p&gt;below transport-zone is created.&lt;/p&gt;

&lt;p&gt;&#160;&quot;zone-name&quot;: &quot;e383ab7e-a92c-4c7c-84cf-e797270799c2&quot;,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;But, when tep is tried to be removed as per ITM auto-tunnel feature, then&lt;/p&gt;

&lt;p&gt;it tries to delete tep from TZA transport-zone which is configured in the external_ids column of openvswitch ovsdb table:&lt;/p&gt;

&lt;p&gt;as per nw-topo-operationa file:&lt;/p&gt;

&lt;p&gt;&#160;&quot;ovsdb:openvswitch-external-ids&quot;: [&lt;br/&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/p&gt;
{
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;external-id-key&quot;: &quot;tzname&quot;,
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;external-id-value&quot;: &quot;TZA&quot;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }
&lt;p&gt;,&lt;br/&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/p&gt;
{
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;external-id-key&quot;: &quot;tep-ip&quot;,
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &quot;external-id-value&quot;: &quot;10.0.0.10&quot;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }
&lt;p&gt;,&lt;/p&gt;

&lt;p&gt;also as per ovsdb table dump of compute node:&lt;/p&gt;

&lt;p&gt;#Conclusion&lt;/p&gt;

&lt;p&gt;We can see tep from southbound is configured for TZA transport-zone, but TZA is not present in transport-zones list, but some other TZ is present.&lt;/p&gt;

&lt;p&gt;As per ITM tep auto-config spec, there is dependency section which states below:&lt;/p&gt;
&lt;h2&gt;&lt;a name=&quot;Dependencies&quot;&gt;&lt;/a&gt;Dependencies&lt;/h2&gt;

&lt;p&gt;This feature should be used when configuration flag i.e. &lt;tt&gt;use-transport-zone&lt;/tt&gt; in &lt;tt&gt;netvirt-neutronvpn-config.xml&lt;/tt&gt; for automatic tunnel configuration in transport-zone is disabled in Netvirt&#8217;s NeutronVpn,&lt;/p&gt;

&lt;p&gt;So, auto-tunnel feature from genius and netvirt are working in parallel and causing such issue.&lt;/p&gt;

&lt;p&gt;Kindly confirm if it is true.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="62980" author="faseela.k@ericsson.com" created="Thu, 17 May 2018 14:42:41 +0000"  >&lt;p&gt;In Carbon, itm auto-tunnels is enabled by default, and we no longer use netvirt auto-tz. Please try to reproduce the issue with the same, and let us know if you hit the issue again&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12156" name="genius-itm-config.xml" size="345" author="ran-xiao@vf.jp.nec.com" created="Tue, 10 Oct 2017 04:07:02 +0000"/>
                            <attachment id="12157" name="itm-transportzone.config" size="854" author="ran-xiao@vf.jp.nec.com" created="Tue, 10 Oct 2017 04:07:58 +0000"/>
                            <attachment id="12158" name="karaf.tar.gz" size="276784" author="ran-xiao@vf.jp.nec.com" created="Tue, 10 Oct 2017 04:08:28 +0000"/>
                            <attachment id="12159" name="network-topology.config" size="4712" author="ran-xiao@vf.jp.nec.com" created="Tue, 10 Oct 2017 04:08:45 +0000"/>
                            <attachment id="12160" name="network-topology.operational" size="21125" author="ran-xiao@vf.jp.nec.com" created="Tue, 10 Oct 2017 04:09:09 +0000"/>
                            <attachment id="12161" name="ocata-compute.ovsdb-client_dump" size="12965" author="ran-xiao@vf.jp.nec.com" created="Tue, 10 Oct 2017 04:09:44 +0000"/>
                            <attachment id="12162" name="ocata-controller.ovsdb-client_dump" size="27396" author="ran-xiao@vf.jp.nec.com" created="Tue, 10 Oct 2017 04:10:16 +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>9259</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=9259]]></customfieldvalue>

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

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