<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:35:41 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-167] Updates to termination point configuration for existing termination points broken</title>
                <link>https://jira.opendaylight.org/browse/OVSDB-167</link>
                <project id="10158" key="OVSDB">ovsdb</project>
                    <description>&lt;p&gt;Because TerminationPointCreate/UpdateCommand are keying off creation/update in the config store, not the underlying OVSDB... attempt to create configuration for an existing termination point will result in an attempt to &apos;insert&apos; an existing interface in ovsdb, which will call the entire transact to fail.&lt;/p&gt;

&lt;p&gt;The solution to this is to do a single TerminationPointUpdateCommand in a manner similar to how its done for BridgeUpdateCommand.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21859">OVSDB-167</key>
            <summary>Updates to termination point configuration for existing termination points broken</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="-1">Unassigned</assignee>
                                    <reporter username="hagbard">Ed Warnicke</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Jun 2015 18:30:28 +0000</created>
                <updated>Thu, 19 Oct 2017 21:29:06 +0000</updated>
                            <resolved>Thu, 13 Aug 2015 07:01:47 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>Southbound.Open_vSwitch</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="40847" author="shague@redhat.com" created="Tue, 2 Jun 2015 19:30:55 +0000"  >&lt;p&gt;Reproduce:&lt;br/&gt;
1. add port to bridge&lt;br/&gt;
2. Add data to port via ovs-vsctl&lt;br/&gt;
3. then later add extra config to the port via odl&lt;/p&gt;</comment>
                            <comment id="40848" author="sharad.d.mishra@intel.com" created="Wed, 3 Jun 2015 17:09:44 +0000"  >&lt;p&gt;I tried following on stable lithium this morning -&lt;/p&gt;

&lt;p&gt;1. Create bretest2 bridge using postman.&lt;br/&gt;
2. Add port using - &quot;ovs-vsctl add-port brtest2 vlan10 tag=10 &amp;#8211; set Interface vlan10 type=internal&quot;&lt;br/&gt;
3. operational shows following (cut to only the relevant section) -&lt;/p&gt;

&lt;p&gt;   &quot;termination-point&quot;: [&lt;/p&gt;
              {
                &quot;ovsdb:interface-type&quot;: &quot;ovsdb:interface-type-internal&quot;,
                &quot;ovsdb:interface-uuid&quot;: &quot;c1666aa1-bd40-47ee-9f65-994b838d430f&quot;,
                &quot;ovsdb:name&quot;: &quot;vlan10&quot;,
                &quot;ovsdb:ofport&quot;: 1,
                &quot;ovsdb:port-uuid&quot;: &quot;fa38cb93-c2f6-4850-8ce4-2a86bd108e6d&quot;,
                &quot;ovsdb:vlan-tag&quot;: 10,
                &quot;tp-id&quot;: &quot;vlan10&quot;
               }
&lt;p&gt;    ]&lt;/p&gt;

&lt;p&gt;4. Using postman, added trunks and vlan-mode to this termination-point. Operational changed to -&lt;/p&gt;

&lt;p&gt;                 &quot;ovsdb:interface-type&quot;: &quot;ovsdb:interface-type-internal&quot;,&lt;br/&gt;
                 &quot;ovsdb:interface-uuid&quot;: &quot;c1666aa1-bd40-47ee-9f65-994b838d430f&quot;,&lt;br/&gt;
                 &quot;ovsdb:name&quot;: &quot;vlan10&quot;,&lt;br/&gt;
                 &quot;ovsdb:ofport&quot;: 1,&lt;br/&gt;
                 &quot;ovsdb:options&quot;: [&lt;/p&gt;
                       {
                        &quot;option&quot;: &quot;remote_ip&quot;,
                        &quot;value&quot;: &quot;134.134.170.72&quot;
                        }
&lt;p&gt;                  ],&lt;br/&gt;
                 &quot;ovsdb:port-external-ids&quot;: [&lt;/p&gt;
                        {
                         &quot;external-id-key&quot;: &quot;opendaylight-iid&quot;,
                         &quot;external-id-value&quot;: &quot;/network-topology:network-topology/network-topology:topology[network-topology:topology-id=&apos;ovsdb:1&apos;]/network-topology:node[network-topology:node-id=&apos;ovsdb://134.134.170.72:6640/bridge/brtest2&apos;]/network-topology:termination-point[network-topology:tp-id=&apos;vlan10&apos;]&quot;
                         }
&lt;p&gt;                  ],&lt;br/&gt;
                      &quot;ovsdb:port-uuid&quot;: &quot;fa38cb93-c2f6-4850-8ce4-2a86bd108e6d&quot;,&lt;br/&gt;
                      &quot;ovsdb:trunks&quot;: [&lt;br/&gt;
                           &lt;/p&gt;
{
                                &quot;trunk&quot;: 2
                            }
&lt;p&gt;,&lt;/p&gt;
                            {
                                &quot;trunk&quot;: 3
                            }
&lt;p&gt;                         ],&lt;br/&gt;
                           &quot;ovsdb:vlan-mode&quot;: &quot;access&quot;,&lt;br/&gt;
                           &quot;ovsdb:vlan-tag&quot;: 10,&lt;br/&gt;
                           &quot;tp-id&quot;: &quot;vlan10&quot;&lt;br/&gt;
                         }&lt;/p&gt;


&lt;p&gt;5.   sudo ovs-vsctl list Port&lt;br/&gt;
_&lt;br/&gt;
_uuid               : fa38cb93-c2f6-4850-8ce4-2a86bd108e6d&lt;br/&gt;
bond_active_slave   : []&lt;br/&gt;
bond_downdelay      : 0&lt;br/&gt;
bond_fake_iface     : false&lt;br/&gt;
bond_mode           : []&lt;br/&gt;
bond_updelay        : 0&lt;br/&gt;
external_ids        : &lt;/p&gt;
{opendaylight-iid=&quot;/network-topology:network-topology/network-topology:topology[network-topology:topology-id=&apos;ovsdb:1&apos;]/network-topology:node[network-topology:node-id=&apos;ovsdb://134.134.170.72:6640/bridge/brtest2&apos;]/network-topology:termination-point[network-topology:tp-id=&apos;vlan10&apos;]&quot;}
&lt;p&gt;fake_bridge         : false&lt;br/&gt;
interfaces          : &lt;span class=&quot;error&quot;&gt;&amp;#91;c1666aa1-bd40-47ee-9f65-994b838d430f&amp;#93;&lt;/span&gt;&lt;br/&gt;
lacp                : []&lt;br/&gt;
mac                 : []&lt;br/&gt;
name                : &quot;vlan10&quot;&lt;br/&gt;
other_config        : {}&lt;br/&gt;
qos                 : []&lt;br/&gt;
statistics          : {}&lt;br/&gt;
status              : {}&lt;br/&gt;
tag                 : 10&lt;br/&gt;
trunks              : &lt;span class=&quot;error&quot;&gt;&amp;#91;2, 3&amp;#93;&lt;/span&gt;&lt;br/&gt;
vlan_mode           : access&lt;/p&gt;</comment>
                            <comment id="40849" author="sharad.d.mishra@intel.com" created="Wed, 3 Jun 2015 18:53:39 +0000"  >&lt;p&gt;Postman collection -   &lt;a href=&quot;https://www.getpostman.com/collections/330c161d1f46d6273e17&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.getpostman.com/collections/330c161d1f46d6273e17&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="40850" author="sharad.d.mishra@intel.com" created="Wed, 3 Jun 2015 19:31:09 +0000"  >&lt;p&gt;I also tried&lt;/p&gt;

&lt;p&gt;1. Create bridge using postman.&lt;br/&gt;
2. Add port using postman.&lt;br/&gt;
3. Add interface type using ovs-vsctl ( sudo ovs-vsctl &amp;#8211; set Interface vlan10 type=internal)&lt;br/&gt;
4. $  sudo ovs-vsctl show&lt;br/&gt;
    b31bca50-69da-4afe-8b14-5f8064cdf316&lt;br/&gt;
    Manager &quot;ptcp:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    Bridge &quot;brtest2&quot;&lt;br/&gt;
        Controller &quot;tcp:134.134.170.72:6640&quot;&lt;br/&gt;
        Port &quot;vlan10&quot;&lt;br/&gt;
            tag: 10&lt;br/&gt;
            Interface &quot;vlan10&quot;&lt;br/&gt;
                type: internal&lt;br/&gt;
        Port &quot;brtest2&quot;&lt;br/&gt;
            Interface &quot;brtest2&quot;&lt;br/&gt;
                type: internal&lt;br/&gt;
    ovs_version: &quot;2.3.1-git3282e51&quot;&lt;/p&gt;

&lt;p&gt;4. Update TP with &quot;options&quot; and &quot;trunk&quot; using postman.&lt;/p&gt;

&lt;p&gt;5. $  sudo ovs-vsctl show&lt;br/&gt;
    b31bca50-69da-4afe-8b14-5f8064cdf316&lt;br/&gt;
    Manager &quot;ptcp:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    Bridge &quot;brtest2&quot;&lt;br/&gt;
        Controller &quot;tcp:134.134.170.72:6640&quot;&lt;br/&gt;
        Port &quot;vlan10&quot;&lt;br/&gt;
            tag: 10&lt;br/&gt;
            trunks: &lt;span class=&quot;error&quot;&gt;&amp;#91;2, 3&amp;#93;&lt;/span&gt;&lt;br/&gt;
            Interface &quot;vlan10&quot;&lt;br/&gt;
                type: internal&lt;br/&gt;
                options: &lt;/p&gt;
{remote_ip=&quot;134.134.170.72&quot;}
&lt;p&gt;        Port &quot;brtest2&quot;&lt;br/&gt;
            Interface &quot;brtest2&quot;&lt;br/&gt;
                type: internal&lt;br/&gt;
    ovs_version: &quot;2.3.1-git3282e51&quot;&lt;/p&gt;</comment>
                            <comment id="40851" author="flavio@flaviof.com" created="Wed, 24 Jun 2015 01:33:24 +0000"  >&lt;p&gt;this is just a reference script. Refer to bug3545.sh for a handy&lt;br/&gt;
and easy script to reproduce this bug.&lt;/p&gt;</comment>
                            <comment id="40864" author="flavio@flaviof.com" created="Wed, 24 Jun 2015 01:33:24 +0000"  >&lt;p&gt;Attachment createFloat.sh has been added with description: original script where bug3545.sh came from&lt;/p&gt;</comment>
                            <comment id="40852" author="flavio@flaviof.com" created="Wed, 24 Jun 2015 01:34:44 +0000"  >
&lt;ol&gt;
	&lt;li&gt;steps to reproduce &lt;a href=&quot;https://jira.opendaylight.org/browse/OVSDB-167&quot; title=&quot;Updates to termination point configuration for existing termination points broken&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OVSDB-167&quot;&gt;&lt;del&gt;OVSDB-167&lt;/del&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;1) start ODL, and do:     feature:install odl-ovsdb-openstack&lt;/li&gt;
	&lt;li&gt;Make sure to wait for ODL to be fully up&lt;/li&gt;
	&lt;li&gt;&lt;/li&gt;
	&lt;li&gt;2) copy this script to a system that ir running OVS. Make sure OVS is completely&lt;/li&gt;
	&lt;li&gt;cleared. If using ubuntu, that involves something like:&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;#!/usr/bin/env bash&lt;/li&gt;
	&lt;li&gt;sudo service openvswitch-switch stop&lt;/li&gt;
	&lt;li&gt;sudo rm -rf /var/log/openvswitch/*&lt;/li&gt;
	&lt;li&gt;sudo rm -rf /etc/openvswitch/conf.db&lt;/li&gt;
	&lt;li&gt;sudo service openvswitch-switch start&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;3) make sure you have curl installed in the system where this script is ran&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;4) do &quot;sudo ovs-vsctl show&quot; and make sure there are no bridges and OVS is not&lt;/li&gt;
	&lt;li&gt;connected to ODL yet. An example of what it should look like is below:&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;$ sudo ovs-vsctl show&lt;/li&gt;
	&lt;li&gt;5c012e23-b5a1-45d4-9a2e-865a3f81c59e&lt;/li&gt;
	&lt;li&gt;ovs_version: &quot;2.3.0&quot;&lt;/li&gt;
	&lt;li&gt;$&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;5) change ODL_IP below to the ip address of where ODL is running&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;6) run this script. It will:&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;- explicitly create bridge br-ex;&lt;/li&gt;
	&lt;li&gt;- connect to ODL&lt;/li&gt;
	&lt;li&gt;- create neutron network&lt;/li&gt;
	&lt;li&gt;- add an ovs port&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;7) if bug is reproduced, you will notive that while there is a patch-port in&lt;/li&gt;
	&lt;li&gt;br-int, a patch port in br-ex is not created. Doing this will work around the bug&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;sudo ovs-vsctl add-port br-ex patch-int &amp;#8211; set interface patch-int type=patch &amp;#8211; set interface patch-int options:peer=patch-ext&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;===&lt;/p&gt;

&lt;p&gt;vagrant@devstack-control:~$ &lt;br/&gt;
vagrant@devstack-control:~$ sudo ovs-vsctl show&lt;br/&gt;
75234ef6-ef80-4899-8fda-2b26d1f7c199&lt;br/&gt;
    Manager &quot;tcp:192.168.50.1:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    Bridge br-ex&lt;br/&gt;
        Port br-ex&lt;br/&gt;
            Interface br-ex&lt;br/&gt;
                type: internal&lt;br/&gt;
    Bridge br-int&lt;br/&gt;
        Controller &quot;tcp:192.168.50.1: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;tap79adcba5-19&quot;&lt;br/&gt;
            Interface &quot;tap79adcba5-19&quot;&lt;br/&gt;
                type: internal&lt;br/&gt;
        Port patch-ext&lt;br/&gt;
            Interface patch-ext&lt;br/&gt;
                type: patch&lt;br/&gt;
                options: &lt;/p&gt;
{peer=patch-int}&lt;br/&gt;
    ovs_version: &quot;2.3.0&quot;&lt;br/&gt;
vagrant@devstack-control:~$ &lt;br/&gt;
vagrant@devstack-control:~$ &lt;br/&gt;
vagrant@devstack-control:~$ sudo ovs-vsctl add-port br-ex patch-int &amp;#8211; set interface patch-int type=patch &amp;#8211; set interface patch-int options:peer=patch-ext&lt;br/&gt;
vagrant@devstack-control:~$ sudo ovs-vsctl show&lt;br/&gt;
75234ef6-ef80-4899-8fda-2b26d1f7c199&lt;br/&gt;
    Manager &quot;tcp:192.168.50.1:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    Bridge br-ex&lt;br/&gt;
        Port br-ex&lt;br/&gt;
            Interface br-ex&lt;br/&gt;
                type: internal&lt;br/&gt;
        Port patch-int&lt;br/&gt;
            Interface patch-int&lt;br/&gt;
                type: patch&lt;br/&gt;
                options: {peer=patch-ext}&lt;br/&gt;
    Bridge br-int&lt;br/&gt;
        Controller &quot;tcp:192.168.50.1: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;tap79adcba5-19&quot;&lt;br/&gt;
            Interface &quot;tap79adcba5-19&quot;&lt;br/&gt;
                type: internal&lt;br/&gt;
        Port patch-ext&lt;br/&gt;
            Interface patch-ext&lt;br/&gt;
                type: patch&lt;br/&gt;
                options: {peer=patch-int}
&lt;p&gt;    ovs_version: &quot;2.3.0&quot;&lt;br/&gt;
vagrant@devstack-control:~$&lt;/p&gt;</comment>
                            <comment id="40865" author="flavio@flaviof.com" created="Wed, 24 Jun 2015 01:34:44 +0000"  >&lt;p&gt;Attachment bug3545.sh has been added with description: easy script for reproducing this bug&lt;/p&gt;</comment>
                            <comment id="40866" author="sharad.d.mishra@intel.com" created="Thu, 2 Jul 2015 22:15:22 +0000"  >&lt;p&gt;Attachment bug3545.out has been added with description: Output of shell script to create network and test this defect.&lt;/p&gt;</comment>
                            <comment id="40853" author="shague@redhat.com" created="Tue, 7 Jul 2015 18:44:32 +0000"  >&lt;p&gt;rc=&apos;ovs-vsctl: no bridge named br-int&lt;/p&gt;

&lt;p&gt;Can you also attach the logs from ODL? Looks like the node never connected properly to ODL and netvirt did not create br-int.&lt;/p&gt;

&lt;p&gt;This line should have enabled the connection: sudo ovs-vsctl set-manager tcp:localhost:6640&lt;/p&gt;</comment>
                            <comment id="40854" author="flavio@flaviof.com" created="Mon, 13 Jul 2015 17:57:08 +0000"  >&lt;p&gt;I missed a step that would enable l3 in ovsdb net-virt&lt;/p&gt;

&lt;p&gt;w/out that, no patch ports will be created (in any bridge).&lt;/p&gt;

&lt;p&gt;Will re-submit updated patch and instructions.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/opendaylight/ovsdb/blob/master/openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/impl/BridgeConfigurationManagerImpl.java#L369&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/ovsdb/blob/master/openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/impl/BridgeConfigurationManagerImpl.java#L369&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="40855" author="flavio@flaviof.com" created="Mon, 13 Jul 2015 17:58:32 +0000"  >
&lt;p&gt;Missed step 0: enable l3 forwarding in ovsdb netvirt:&lt;/p&gt;

&lt;p&gt;    echo &apos;ovsdb.l3.fwd.enabled=yes&apos; &amp;gt;&amp;gt; ./etc/custom.properties &lt;/p&gt;

&lt;p&gt;(In reply to Flavio Fernandes from comment #6)&lt;br/&gt;
&amp;gt; Created attachment 549 &lt;span class=&quot;error&quot;&gt;&amp;#91;details&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; easy script for reproducing this bug&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; # steps to reproduce &lt;a href=&quot;https://jira.opendaylight.org/browse/OVSDB-167&quot; title=&quot;Updates to termination point configuration for existing termination points broken&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OVSDB-167&quot;&gt;&lt;del&gt;OVSDB-167&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; # 1) start ODL, and do:     feature:install odl-ovsdb-openstack&lt;br/&gt;
&amp;gt; #    Make sure to wait for ODL to be fully up&lt;br/&gt;
&amp;gt; #&lt;/p&gt;</comment>
                            <comment id="40856" author="flavio@flaviof.com" created="Mon, 13 Jul 2015 18:02:15 +0000"  >
&lt;ol&gt;
	&lt;li&gt;steps to reproduce &lt;a href=&quot;https://jira.opendaylight.org/browse/OVSDB-167&quot; title=&quot;Updates to termination point configuration for existing termination points broken&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OVSDB-167&quot;&gt;&lt;del&gt;OVSDB-167&lt;/del&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;0) enable L3 forwarding in ODL, so patch ports will be created upon neutron network creation:&lt;/li&gt;
	&lt;li&gt;echo &apos;ovsdb.l3.fwd.enabled=yes&apos; &amp;gt;&amp;gt; ./etc/custom.properties&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;1) start ODL, and do:     feature:install odl-ovsdb-openstack&lt;/li&gt;
	&lt;li&gt;Make sure to wait for ODL to be fully up&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;2) copy this script to a system that ir running OVS. Make sure OVS is completely&lt;/li&gt;
	&lt;li&gt;cleared. If using ubuntu, that involves something like:&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;#!/usr/bin/env bash&lt;/li&gt;
	&lt;li&gt;sudo service openvswitch-switch stop&lt;/li&gt;
	&lt;li&gt;sudo rm -rf /var/log/openvswitch/*&lt;/li&gt;
	&lt;li&gt;sudo rm -rf /etc/openvswitch/conf.db&lt;/li&gt;
	&lt;li&gt;sudo service openvswitch-switch start&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;3) make sure you have curl installed in the system where this script is ran&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;4) do &quot;sudo ovs-vsctl show&quot; and make sure there are no bridges and OVS is not&lt;/li&gt;
	&lt;li&gt;connected to ODL yet. An example of what it should look like is below:&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;$ sudo ovs-vsctl show&lt;/li&gt;
	&lt;li&gt;5c012e23-b5a1-45d4-9a2e-865a3f81c59e&lt;/li&gt;
	&lt;li&gt;ovs_version: &quot;2.3.0&quot;&lt;/li&gt;
	&lt;li&gt;$&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;5) change ODL_IP below to the ip address of where ODL is running&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;6) run this script. It will:&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;- explicitly create bridge br-ex;&lt;/li&gt;
	&lt;li&gt;- connect to ODL&lt;/li&gt;
	&lt;li&gt;- create neutron network&lt;/li&gt;
	&lt;li&gt;- add an ovs port&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;7) if bug is reproduced, you will notive that while there is a patch-port in&lt;/li&gt;
	&lt;li&gt;br-int, a patch port in br-ex is not created. Doing this will work around the bug&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;sudo ovs-vsctl add-port br-ex patch-int &amp;#8211; set interface patch-int type=patch &amp;#8211; set interface patch-int options:peer=patch-ext&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="40867" author="flavio@flaviof.com" created="Mon, 13 Jul 2015 18:02:15 +0000"  >&lt;p&gt;Attachment bug3545.sh has been added with description: bug3545.sh&lt;/p&gt;</comment>
                            <comment id="40857" author="flavio@flaviof.com" created="Mon, 13 Jul 2015 18:16:37 +0000"  >&lt;p&gt;I re-run the script and not I hit the same issue Sharad see:&lt;/p&gt;

&lt;p&gt;br-int is not getting created at all in the node. I ended up with 2 br-int in mdsal&apos;s config:&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;network-topology&quot;: {&lt;br/&gt;
    &quot;topology&quot;: [&lt;br/&gt;
      {&lt;br/&gt;
        &quot;topology-id&quot;: &quot;ovsdb:1&quot;,&lt;br/&gt;
        &quot;node&quot;: [&lt;br/&gt;
          {&lt;br/&gt;
            &quot;node-id&quot;: &quot;ovsdb://uuid/ddfb2be2-eafe-477d-be33-12e87f35bdb5/bridge/br-int&quot;,&lt;br/&gt;
            &quot;ovsdb:bridge-name&quot;: &quot;br-int&quot;,&lt;br/&gt;
            &quot;ovsdb:managed-by&quot;: &quot;/network-topology:network-topology/network-topology:topology&lt;span class=&quot;error&quot;&gt;&amp;#91;network-topology:topology-id=&amp;#39;ovsdb:1&amp;#39;&amp;#93;&lt;/span&gt;/network-topology:node&lt;span class=&quot;error&quot;&gt;&amp;#91;network-topology:node-id=&amp;#39;ovsdb://uuid/ddfb2be2-eafe-477d-be33-12e87f35bdb5&amp;#39;&amp;#93;&lt;/span&gt;&quot;,&lt;br/&gt;
            &quot;ovsdb:controller-entry&quot;: [&lt;/p&gt;
              {
                &quot;target&quot;: &quot;tcp:192.168.50.1:6653&quot;
              }
&lt;p&gt;            ],&lt;br/&gt;
            &quot;ovsdb:protocol-entry&quot;: [&lt;/p&gt;
              {
                &quot;protocol&quot;: &quot;ovsdb:ovsdb-bridge-protocol-openflow-13&quot;
              }
&lt;p&gt;            ],&lt;br/&gt;
            &quot;ovsdb:fail-mode&quot;: &quot;ovsdb:ovsdb-fail-mode-secure&quot;&lt;br/&gt;
          },&lt;br/&gt;
          {&lt;br/&gt;
            &quot;node-id&quot;: &quot;ovsdb://uuid/273cc9c1-1800-4af0-9c7c-bceb0454628c/bridge/br-int&quot;,&lt;br/&gt;
            &quot;ovsdb:bridge-name&quot;: &quot;br-int&quot;,&lt;br/&gt;
            &quot;ovsdb:managed-by&quot;: &quot;/network-topology:network-topology/network-topology:topology&lt;span class=&quot;error&quot;&gt;&amp;#91;network-topology:topology-id=&amp;#39;ovsdb:1&amp;#39;&amp;#93;&lt;/span&gt;/network-topology:node&lt;span class=&quot;error&quot;&gt;&amp;#91;network-topology:node-id=&amp;#39;ovsdb://uuid/273cc9c1-1800-4af0-9c7c-bceb0454628c&amp;#39;&amp;#93;&lt;/span&gt;&quot;,&lt;br/&gt;
            &quot;ovsdb:controller-entry&quot;: [&lt;/p&gt;
              {
                &quot;target&quot;: &quot;tcp:192.168.50.1:6653&quot;
              }
&lt;p&gt;            ],&lt;br/&gt;
            &quot;ovsdb:protocol-entry&quot;: [&lt;/p&gt;
              {
                &quot;protocol&quot;: &quot;ovsdb:ovsdb-bridge-protocol-openflow-13&quot;
              }
&lt;p&gt;            ],&lt;br/&gt;
            &quot;ovsdb:fail-mode&quot;: &quot;ovsdb:ovsdb-fail-mode-secure&quot;&lt;br/&gt;
          }&lt;br/&gt;
        ]&lt;br/&gt;
      }&lt;br/&gt;
    ]&lt;br/&gt;
  }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;And I see br-ex (and nothing else) on the operational tree:&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;network-topology&quot;: {&lt;br/&gt;
    &quot;topology&quot;: [&lt;br/&gt;
      &lt;/p&gt;
{
        &quot;topology-id&quot;: &quot;netvirt:1&quot;
      }
&lt;p&gt;,&lt;br/&gt;
      &lt;/p&gt;
{
        &quot;topology-id&quot;: &quot;flow:1&quot;
      }
&lt;p&gt;,&lt;br/&gt;
      {&lt;br/&gt;
        &quot;topology-id&quot;: &quot;ovsdb:1&quot;,&lt;br/&gt;
        &quot;node&quot;: [&lt;br/&gt;
          {&lt;br/&gt;
            &quot;node-id&quot;: &quot;ovsdb://uuid/ddfb2be2-eafe-477d-be33-12e87f35bdb5/bridge/br-ex&quot;,&lt;br/&gt;
            &quot;ovsdb:bridge-name&quot;: &quot;br-ex&quot;,&lt;br/&gt;
            &quot;ovsdb:bridge-uuid&quot;: &quot;4110352b-f9a7-4edc-a473-faf7e450b1ee&quot;,&lt;br/&gt;
            &quot;ovsdb:datapath-id&quot;: &quot;00:00:2a:35:10:41:dc:4e&quot;,&lt;br/&gt;
            &quot;ovsdb:datapath-type&quot;: &quot;ovsdb:datapath-type-system&quot;,&lt;br/&gt;
            &quot;ovsdb:managed-by&quot;: &quot;/network-topology:network-topology/network-topology:topology&lt;span class=&quot;error&quot;&gt;&amp;#91;network-topology:topology-id=&amp;#39;ovsdb:1&amp;#39;&amp;#93;&lt;/span&gt;/network-topology:node&lt;span class=&quot;error&quot;&gt;&amp;#91;network-topology:node-id=&amp;#39;ovsdb://uuid/ddfb2be2-eafe-477d-be33-12e87f35bdb5&amp;#39;&amp;#93;&lt;/span&gt;&quot;,&lt;br/&gt;
            &quot;ovsdb:bridge-external-ids&quot;: [&lt;/p&gt;
              {
                &quot;bridge-external-id-key&quot;: &quot;bridge-id&quot;,
                &quot;bridge-external-id-value&quot;: &quot;br-ex&quot;
              }
&lt;p&gt;            ],&lt;br/&gt;
            &quot;termination-point&quot;: [&lt;/p&gt;
              {
                &quot;tp-id&quot;: &quot;br-ex&quot;,
                &quot;ovsdb:interface-type&quot;: &quot;ovsdb:interface-type-internal&quot;,
                &quot;ovsdb:port-uuid&quot;: &quot;6d845492-99d1-4716-acde-0e32ad3ac278&quot;,
                &quot;ovsdb:name&quot;: &quot;br-ex&quot;,
                &quot;ovsdb:interface-uuid&quot;: &quot;c55dfd94-21a3-4163-b06c-afe7634907e5&quot;,
                &quot;ovsdb:ofport&quot;: 65534
              }
&lt;p&gt;            ]&lt;br/&gt;
          },&lt;br/&gt;
          {&lt;br/&gt;
            &quot;node-id&quot;: &quot;ovsdb://uuid/ddfb2be2-eafe-477d-be33-12e87f35bdb5&quot;,&lt;br/&gt;
            &quot;ovsdb:managed-node-entry&quot;: [&lt;/p&gt;
              {
                &quot;bridge-ref&quot;: &quot;/network-topology:network-topology/network-topology:topology[network-topology:topology-id=&apos;ovsdb:1&apos;]/network-topology:node[network-topology:node-id=&apos;ovsdb://uuid/ddfb2be2-eafe-477d-be33-12e87f35bdb5/bridge/br-ex&apos;]&quot;
              }
&lt;p&gt;            ],&lt;br/&gt;
            &quot;ovsdb:connection-info&quot;: &lt;/p&gt;
{
              &quot;local-ip&quot;: &quot;192.168.50.1&quot;,
              &quot;remote-ip&quot;: &quot;192.168.50.20&quot;,
              &quot;remote-port&quot;: 47688,
              &quot;local-port&quot;: 6640
            }
&lt;p&gt;,&lt;br/&gt;
            &quot;ovsdb:ovs-version&quot;: &quot;2.3.2&quot;,&lt;br/&gt;
            &quot;ovsdb:openvswitch-external-ids&quot;: [&lt;/p&gt;
              {
                &quot;external-id-key&quot;: &quot;system-id&quot;,
                &quot;external-id-value&quot;: &quot;0b0f991e-5420-466f-aafd-492cdb2b130e&quot;
              }
&lt;p&gt;            ]&lt;br/&gt;
          }&lt;br/&gt;
        ]&lt;br/&gt;
      }&lt;br/&gt;
    ]&lt;br/&gt;
  }&lt;br/&gt;
}&lt;/p&gt;</comment>
                            <comment id="40858" author="flavio@flaviof.com" created="Mon, 13 Jul 2015 18:19:15 +0000"  >&lt;p&gt;this is karaf.log when br-int created twice in config tree, and never gets&lt;br/&gt;
in the operational tree.&lt;/p&gt;</comment>
                            <comment id="40868" author="flavio@flaviof.com" created="Mon, 13 Jul 2015 18:19:15 +0000"  >&lt;p&gt;Attachment karaf.log has been added with description: karaf.log when br-int is not getting created&lt;/p&gt;</comment>
                            <comment id="40859" author="flavio@flaviof.com" created="Mon, 13 Jul 2015 21:09:02 +0000"  >&lt;p&gt;(In reply to Flavio Fernandes from comment #11)&lt;br/&gt;
&amp;gt; Created attachment 567 &lt;span class=&quot;error&quot;&gt;&amp;#91;details&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; bug3545.sh&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; # steps to reproduce &lt;a href=&quot;https://jira.opendaylight.org/browse/OVSDB-167&quot; title=&quot;Updates to termination point configuration for existing termination points broken&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OVSDB-167&quot;&gt;&lt;del&gt;OVSDB-167&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&amp;gt; &lt;/p&gt;

&lt;p&gt;revising step 0 to remove any previous state in ODL:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;0.0) clean up ODL&apos;s previous state. But deleting data AND journal directories:  rm -rf ./data ./journal&lt;/li&gt;
	&lt;li&gt;0.5) enable L3 forwarding in ODL, so patch ports will be created upon neutron network creation:&lt;/li&gt;
	&lt;li&gt;echo &apos;ovsdb.l3.fwd.enabled=yes&apos; &amp;gt;&amp;gt; ./etc/custom.properties&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;1) start ODL, and do:     feature:install odl-ovsdb-openstack&lt;/li&gt;
	&lt;li&gt;Make sure to wait for ODL to be fully up&lt;br/&gt;
#&lt;br/&gt;
...&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="40860" author="flavio@flaviof.com" created="Mon, 13 Jul 2015 21:11:27 +0000"  >&lt;ul&gt;
	&lt;li&gt;added bigger sleep between manager setup and creation of neutron net;&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;make sure no state from previous ODL run is carried over:&lt;br/&gt;
   rm -rf ./data ./journal&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&amp;#8211;&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;steps to reproduce &lt;a href=&quot;https://jira.opendaylight.org/browse/OVSDB-167&quot; title=&quot;Updates to termination point configuration for existing termination points broken&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OVSDB-167&quot;&gt;&lt;del&gt;OVSDB-167&lt;/del&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;0.0) clean up ODL&apos;s previous state. But deleting data AND journal directories:  rm -rf ./data ./journal&lt;/li&gt;
	&lt;li&gt;0.5) enable L3 forwarding in ODL, so patch ports will be created upon neutron network creation:&lt;/li&gt;
	&lt;li&gt;echo &apos;ovsdb.l3.fwd.enabled=yes&apos; &amp;gt;&amp;gt; ./etc/custom.properties&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;1) start ODL, and do:     feature:install odl-ovsdb-openstack&lt;/li&gt;
	&lt;li&gt;Make sure to wait for ODL to be fully up&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;2) copy this script to a system that ir running OVS. Make sure OVS is completely&lt;/li&gt;
	&lt;li&gt;cleared. If using ubuntu, that involves something like:&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;#!/usr/bin/env bash&lt;/li&gt;
	&lt;li&gt;sudo service openvswitch-switch stop&lt;/li&gt;
	&lt;li&gt;sudo rm -rf /var/log/openvswitch/*&lt;/li&gt;
	&lt;li&gt;sudo rm -rf /etc/openvswitch/conf.db&lt;/li&gt;
	&lt;li&gt;sudo service openvswitch-switch start&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;3) make sure you have curl installed in the system where this script is ran&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;4) do &quot;sudo ovs-vsctl show&quot; and make sure there are no bridges and OVS is not&lt;/li&gt;
	&lt;li&gt;connected to ODL yet. An example of what it should look like is below:&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;$ sudo ovs-vsctl show&lt;/li&gt;
	&lt;li&gt;5c012e23-b5a1-45d4-9a2e-865a3f81c59e&lt;/li&gt;
	&lt;li&gt;ovs_version: &quot;2.3.0&quot;&lt;/li&gt;
	&lt;li&gt;$&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;5) change ODL_IP below to the ip address of where ODL is running&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;6) run this script. It will:&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;- explicitly create bridge br-ex;&lt;/li&gt;
	&lt;li&gt;- connect to ODL&lt;/li&gt;
	&lt;li&gt;- sleep, so odl is given time to create br-int&lt;/li&gt;
	&lt;li&gt;- create neutron network&lt;/li&gt;
	&lt;li&gt;- add an ovs port&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;7) if bug is reproduced, you will notive that while there is a patch-port in&lt;/li&gt;
	&lt;li&gt;br-int, a patch port in br-ex is not created. Doing this will work around the bug&lt;br/&gt;
#&lt;/li&gt;
	&lt;li&gt;sudo ovs-vsctl add-port br-ex patch-int &amp;#8211; set interface patch-int type=patch &amp;#8211; set interface patch-int options:peer=patch-ext&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="40869" author="flavio@flaviof.com" created="Mon, 13 Jul 2015 21:11:27 +0000"  >&lt;p&gt;Attachment bug3545.sh has been added with description: bug3545.sh&lt;/p&gt;</comment>
                            <comment id="40861" author="sharad.d.mishra@intel.com" created="Wed, 22 Jul 2015 15:25:43 +0000"  >&lt;p&gt;draft patch uploaded at &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/24364/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/24364/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="40862" author="flavio@flaviof.com" created="Wed, 12 Aug 2015 13:52:47 +0000"  >&lt;p&gt;gerrit on stable/lithium: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/25204/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/25204/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="40863" author="vishnoianil@gmail.com" created="Thu, 13 Aug 2015 07:01:47 +0000"  >&lt;p&gt;master : &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/24364/3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/24364/3&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12792" name="bug3545.out" size="34640" author="sharad.d.mishra@intel.com" created="Thu, 2 Jul 2015 22:15:22 +0000"/>
                            <attachment id="12795" name="bug3545.sh" size="21131" author="flavio@flaviof.com" created="Mon, 13 Jul 2015 21:11:27 +0000"/>
                            <attachment id="12793" name="bug3545.sh" size="20968" author="flavio@flaviof.com" created="Mon, 13 Jul 2015 18:02:15 +0000"/>
                            <attachment id="12791" name="bug3545.sh" size="20805" author="flavio@flaviof.com" created="Wed, 24 Jun 2015 01:34:44 +0000"/>
                            <attachment id="12790" name="createFloat.sh" size="21850" author="flavio@flaviof.com" created="Wed, 24 Jun 2015 01:33:24 +0000"/>
                            <attachment id="12794" name="karaf.log" size="144712" author="flavio@flaviof.com" created="Mon, 13 Jul 2015 18:19:15 +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>3545</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=3545]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10315"><![CDATA[Lithium]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10312"><![CDATA[High]]></customfieldvalue>

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

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