<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:48: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>[VTN-118] VTN Manager Neutron try to create a bridge even when an OVSDB node is disconnected</title>
                <link>https://jira.opendaylight.org/browse/VTN-118</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;When I made an OVSDB node disconnected to OpenDaylight controller with VTN Manager Neutron running, I saw the following INFO message in the karaf.log.&lt;/p&gt;

&lt;p&gt;    2016-02-11 07:55:27,099 | INFO | (snip) 0.4.0.SNAPSHOT | Bridge Added: true&lt;/p&gt;

&lt;p&gt;Reading the source code of the VTN Manager Neutron, it seems to me that the VTN Manager Neutron try to create a bridge even when an OVSDB node gets disconnected to the controller.&lt;br/&gt;
Though, I think it should create a bridge (br-int) only when it detects a new OVSDB node connected.&lt;/p&gt;


&lt;p&gt;What I used&lt;br/&gt;
===========&lt;/p&gt;

&lt;p&gt;The latest code on the stable/beryllium branch of VTN project on 11th February, 2016.&lt;/p&gt;

&lt;p&gt;$ git log -3 --oneline&lt;br/&gt;
fe58092 Merge &quot;&lt;a href=&quot;https://jira.opendaylight.org/browse/VTN-89&quot; title=&quot;Port mapping was not configured with OpenStack Liberty&quot; class=&quot;issue-link&quot; data-issue-key=&quot;VTN-89&quot;&gt;&lt;del&gt;VTN-89&lt;/del&gt;&lt;/a&gt;: Fixed Port map configuration with OpenStack Liberty&quot; into stable/beryllium&lt;br/&gt;
2a40eb5 Merge &quot;&lt;a href=&quot;https://jira.opendaylight.org/browse/VTN-110&quot; title=&quot;Change in VTN Coordinator FT files due to RESTCONF implementation in VTN Manager&quot; class=&quot;issue-link&quot; data-issue-key=&quot;VTN-110&quot;&gt;&lt;del&gt;VTN-110&lt;/del&gt;&lt;/a&gt;: Fixed FT scripts in VTN Coordinator&quot; into stable/beryllium&lt;br/&gt;
28ebb41 &lt;a href=&quot;https://jira.opendaylight.org/browse/VTN-116&quot; title=&quot;Enabling UT for ODCdriver module in VTN Coordinator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;VTN-116&quot;&gt;&lt;del&gt;VTN-116&lt;/del&gt;&lt;/a&gt;: Fixed UT for ODCdriver in VTN Coordinator&lt;/p&gt;


&lt;p&gt;How to reproduce the issue&lt;br/&gt;
==========================&lt;/p&gt;

&lt;p&gt;Repeat to make an OVSDB node connected and disconnected to OpenDaylight controler.&lt;/p&gt;

&lt;p&gt; 1. sudo ovs-vsctl show&lt;/p&gt;

&lt;p&gt;    6f414672-bca6-47b8-93e6-5b40925bc934&lt;br/&gt;
    Manager &quot;tcp:127.0.0.1:6640&quot;&lt;br/&gt;
    ovs_version: &quot;2.3.1&quot;&lt;/p&gt;

&lt;p&gt; 2. sudo ovs-vsctl set-manager  tcp:192.168.2.62:6640&lt;br/&gt;
    (Make the OVSDB node connected.)&lt;/p&gt;

&lt;p&gt; 3. sudo ovs-vsctl show&lt;/p&gt;

&lt;p&gt;   6f414672-bca6-47b8-93e6-5b40925bc934&lt;br/&gt;
    Manager &quot;tcp:192.168.2.62:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    ovs_version: &quot;2.3.1&quot;&lt;/p&gt;

&lt;p&gt; 4. sudo ovs-vsctl set-manager  tcp:127.0.0.1:6640&lt;br/&gt;
    (Make the OVSDB node disconnected.)&lt;/p&gt;

&lt;p&gt;Here 192.168.2.62 is the IP address of the OpenDaylight controller.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26498">VTN-118</key>
            <summary>VTN Manager Neutron try to create a bridge even when an OVSDB node is disconnected</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="ananthip@hcl.com">Ananthi Palaniswamy</assignee>
                                    <reporter username="Hideyuki1985">Hideyuki Tai</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Feb 2016 22:49:46 +0000</created>
                <updated>Tue, 15 Mar 2016 04:35:33 +0000</updated>
                            <resolved>Tue, 15 Mar 2016 04:35:33 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>VTN Manager</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="53071" author="gvrangan" created="Tue, 15 Mar 2016 04:35:33 +0000"  >&lt;p&gt;Patch Merged to Master: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/35661/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/35661/&lt;/a&gt;&lt;br/&gt;
Patch Merged to stable/Be: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/35688/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/35688/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Tested in the latest source and verified the behavior.&lt;/p&gt;


&lt;p&gt;1. Launched VTN&lt;/p&gt;

&lt;p&gt;2. OVSDB &lt;br/&gt;
gvrangan@openstack-controlnode:~/devstack$ sudo ovs-vsctl show&lt;br/&gt;
3480f0c7-8a7b-41bc-a090-73854002680d&lt;br/&gt;
    ovs_version: &quot;2.3&lt;/p&gt;

&lt;p&gt;3. Set ODL as Manager for OVS&lt;br/&gt;
  sudo ovs-vsctl set-manager tcp:10.128.0.2:6640&lt;/p&gt;

&lt;p&gt;4. VTN Manager neutron implementation creates the br-int as expected&lt;/p&gt;

&lt;p&gt; gvrangan@openstack-controlnode:~/devstack$ sudo ovs-vsctl show&lt;br/&gt;
3480f0c7-8a7b-41bc-a090-73854002680d&lt;br/&gt;
    Manager &quot;tcp:10.128.0.2:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    Bridge br-int&lt;br/&gt;
        Controller &quot;tcp:10.128.0.2:6653&quot;&lt;br/&gt;
            is_connected: true&lt;br/&gt;
        fail_mode: secure&lt;br/&gt;
        Port br-int&lt;br/&gt;
            Interface br-int&lt;br/&gt;
                type: internal&lt;br/&gt;
        Port &quot;eth1&quot;&lt;br/&gt;
            Interface &quot;eth1&quot;&lt;br/&gt;
    ovs_version: &quot;2.3.2&quot;&lt;/p&gt;

&lt;p&gt;5. Del Manager in OVS and delete the bridge&lt;/p&gt;

&lt;p&gt;6. set manager again and the br-int is  created once again. &lt;br/&gt;
gvrangan@openstack-controlnode:~/devstack$ sudo ovs-vsctl set-manager tcp:10.128.0.2:6640&lt;br/&gt;
gvrangan@openstack-controlnode:~/devstack$ &lt;br/&gt;
gvrangan@openstack-controlnode:~/devstack$ sudo ovs-vsctl show&lt;br/&gt;
3480f0c7-8a7b-41bc-a090-73854002680d&lt;br/&gt;
    Manager &quot;tcp:10.128.0.2:6640&quot;&lt;br/&gt;
    Bridge br-int&lt;br/&gt;
        Controller &quot;tcp:10.128.0.2:6653&quot;&lt;br/&gt;
        fail_mode: secure&lt;br/&gt;
        Port br-int&lt;br/&gt;
            Interface br-int&lt;br/&gt;
                type: internal&lt;br/&gt;
        Port &quot;eth1&quot;&lt;br/&gt;
            Interface &quot;eth1&quot;&lt;br/&gt;
    ovs_version: &quot;2.3.2&quot;&lt;/p&gt;


&lt;p&gt;7. Earlier, After adding again, the br-int was not getting created,&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>5330</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=5330]]></customfieldvalue>

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

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