<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:59: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>[GENIUS-75] VxLan ITM tunnel is flapping as we create, delete and create once again</title>
                <link>https://jira.opendaylight.org/browse/GENIUS-75</link>
                <project id="10126" key="GENIUS">genius</project>
                    <description>&lt;p&gt;Topology:&lt;br/&gt;
=========&lt;br/&gt;
Two OVS switches are connected to Genius Carbon controller running karaf.&lt;/p&gt;

&lt;p&gt;Description:&lt;br/&gt;
============&lt;br/&gt;
Creating VxLan ITM between two OVS switches first time  works fine. When we delete and re-create VxLAN tunnel then interfaces are flapping.&lt;/p&gt;

&lt;p&gt;Steps to repro this issue:&lt;br/&gt;
==========================&lt;br/&gt;
1. Run distribution ODL controller  (See &quot;Running Karaf&quot; section below)&lt;/p&gt;

&lt;p&gt;2. Config OVS1 and OVS2 (See below &quot;OVS-1 Configs&quot; &amp;amp; &quot;OVS-2 Configs&quot; section below).&lt;/p&gt;

&lt;p&gt;3. Create ITM tunnel using curl command (See &quot;Curl commands to create and delete ITM&quot; section below). Verify/Ensure &quot;tep:show-state&quot;, &quot;tep:show&quot; &amp;amp; &quot;vxlan:show&quot; output on ODL controller are as expected.&lt;/p&gt;

&lt;p&gt;4. Delete ITM tunnel using curl command. Verify/Ensure &quot;tep:show-state&quot;, &quot;tep:show&quot; &amp;amp; &quot;vxlan:show&quot; output on ODL controller are as expected.&lt;/p&gt;

&lt;p&gt;5. Once again create ITM tunnel using curl command. Periodically (say every 5secs) execute tep:show-state&quot; OR &quot;vxlan:show&quot; on ODL controller. &lt;/p&gt;

&lt;p&gt;Observe: We see that tunnel interfaces are flapping (karaf logs are attached with this bug).&lt;/p&gt;


&lt;p&gt;Running Karaf&lt;br/&gt;
=============&lt;br/&gt;
1. Download Carbon image from &lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.6.0-SNAPSHOT/distribution-karaf-0.6.0-20170424.011734-5016.tar.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.6.0-SNAPSHOT/distribution-karaf-0.6.0-20170424.011734-5016.tar.gz&lt;/a&gt;&lt;br/&gt;
2. tar -zxvf distribution-karaf-0.6.0-20170424.011734-5016.tar.gz&lt;br/&gt;
3. Get into extracted directory &lt;br/&gt;
4. Run bin/karaf and issue &quot;feature:install odl-genius-ui&quot; on karaf prompt.&lt;br/&gt;
5. Enable interface trace log collection using &quot;log:set TRACE org.opendaylight.genius.interfacemanager&quot; on karaf prompt.&lt;/p&gt;

&lt;p&gt;OVS-1 Configs&lt;br/&gt;
=============&lt;br/&gt;
sudo ovs-vsctl add-br BR1&lt;br/&gt;
sudo ovs-vsctl set bridge BR1 protocols=OpenFlow13&lt;br/&gt;
sudo ovs-vsctl set-controller BR1 tcp:10.164.225.106:6633&lt;br/&gt;
sudo ifconfig BR1 up&lt;br/&gt;
sudo ovs-vsctl set-manager tcp:10.164.225.106:6640&lt;br/&gt;
sudo ovs-vsctl show &lt;br/&gt;
sudo ovs-ofctl show BR1 -O Openflow13&lt;/p&gt;

&lt;p&gt;OVS-2 Configs&lt;br/&gt;
=============&lt;br/&gt;
sudo ovs-vsctl add-br BR2&lt;br/&gt;
sudo ovs-vsctl set bridge BR2 protocols=OpenFlow13&lt;br/&gt;
sudo ovs-vsctl set-controller BR2 tcp:10.164.225.106:6633&lt;br/&gt;
sudo ifconfig BR2 up&lt;br/&gt;
sudo ovs-vsctl set-manager tcp:10.164.225.106:6640&lt;br/&gt;
sudo ovs-vsctl show&lt;br/&gt;
sudo ovs-ofctl show BR2 -O Openflow13&lt;/p&gt;


&lt;p&gt;Curl commands to create and delete ITM&lt;br/&gt;
=======================================&lt;br/&gt;
curl -u admin:admin -X POST -H &quot;Content-Type:application/json&quot; -d @itm.body   &quot;http://10.164.225.106:8181/restconf/config/itm:transport-zones/&quot; -v&lt;/p&gt;

&lt;p&gt;curl -u admin:admin -X DELETE -H &quot;Content-Type:application/json&quot; -d @itm.body   &quot;http://10.164.225.106:8181/restconf/config/itm:transport-zones/&quot; -v&lt;/p&gt;

&lt;p&gt;itm.body&lt;br/&gt;
========&lt;br/&gt;
{&lt;br/&gt;
    &quot;transport-zone&quot;: [&lt;br/&gt;
        {&lt;br/&gt;
            &quot;subnets&quot;: [&lt;br/&gt;
                {&lt;br/&gt;
                    &quot;gateway-ip&quot;: &quot;0.0.0.0&quot;,&lt;br/&gt;
                    &quot;prefix&quot;: &quot;10.164.225.0/24&quot;,&lt;br/&gt;
                    &quot;vlan-id&quot;: 0,&lt;br/&gt;
                    &quot;vteps&quot;: [&lt;br/&gt;
                        &lt;/p&gt;
{
                            &quot;dpn-id&quot;: 275314404751424,
                            &quot;ip-address&quot;: &quot;10.164.225.106&quot;,
                            &quot;portname&quot;: &quot;BR1-eth1&quot;
                        }
&lt;p&gt;,&lt;/p&gt;
                        {
                            &quot;dpn-id&quot;: 117601072879950,
                            &quot;ip-address&quot;: &quot;10.164.225.107&quot;,
                            &quot;portname&quot;: &quot;BR2-eth1&quot;
                        }
&lt;p&gt;                    ]&lt;br/&gt;
                }&lt;br/&gt;
            ],&lt;br/&gt;
            &quot;tunnel-type&quot;: &quot;odl-interface:tunnel-type-vxlan&quot;,&lt;br/&gt;
            &quot;zone-name&quot;: &quot;TZA&quot;&lt;br/&gt;
        }&lt;br/&gt;
    ]&lt;br/&gt;
}&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="19856">GENIUS-75</key>
            <summary>VxLan ITM tunnel is flapping as we create, delete and create once again</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="k.faseela">Faseela K</assignee>
                                    <reporter username="nazeerahamed.hunshyal@tcs.com">Nazeerahamed Hunshyal</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Apr 2017 07:42:32 +0000</created>
                <updated>Tue, 6 Jun 2017 11:23:03 +0000</updated>
                            <resolved>Tue, 6 Jun 2017 11:23:03 +0000</resolved>
                                    <version>(unspecified)</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="35963" author="nazeerahamed.hunshyal@tcs.com" created="Mon, 24 Apr 2017 07:42:32 +0000"  >&lt;p&gt;Attachment karaf.log has been added with description: Karaf log&lt;/p&gt;</comment>
                            <comment id="35964" author="nazeerahamed.hunshyal@tcs.com" created="Mon, 24 Apr 2017 08:31:35 +0000"  >&lt;p&gt;Attachment Karaf_commands_log_txt has been added with description: tep show and vxlan show command outputs&lt;/p&gt;</comment>
                            <comment id="35962" author="faseela.k@ericsson.com" created="Tue, 25 Apr 2017 12:02:00 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/55982&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/55982&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12153" name="Karaf_commands_log_txt" size="15776" author="nazeerahamed.hunshyal@tcs.com" created="Mon, 24 Apr 2017 08:31:35 +0000"/>
                            <attachment id="12152" name="karaf.log" size="715990" author="nazeerahamed.hunshyal@tcs.com" created="Mon, 24 Apr 2017 07:42: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>8277</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=8277]]></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|i01op3:</customfieldvalue>

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