<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:36:07 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-329] br-int not created in clustered setup</title>
                <link>https://jira.opendaylight.org/browse/OVSDB-329</link>
                <project id="10158" key="OVSDB">ovsdb</project>
                    <description>&lt;p&gt;3 ODL (odl-mdsal-clustering, odl-jolokia, odl-ovsdb-openstack).  Controllers were freshly&lt;br/&gt;
unzipped and started and the below steps were done.  This is with a recent (4/12)&lt;br/&gt;
stable/beryllium distribution.&lt;/p&gt;

&lt;p&gt;ODL_1=172.18.182.15&lt;br/&gt;
ODL_1=172.18.182.3&lt;br/&gt;
ODL_1=172.18.182.19&lt;/p&gt;

&lt;p&gt;two ovs nodes A=172.18.182.7 and B=172.18.182.17, and made these two configs:&lt;/p&gt;

&lt;p&gt;ovs-vsctl set Open_vSwitch $OVS_UUID other_config:local_ip=$OVS_SYSTEM_IP&lt;br/&gt;
ovs-vsctl set-manager tcp:$ODL_1:6640 tcp:$ODL_2:6640 tcp:$ODL_3:6640&lt;/p&gt;

&lt;p&gt;A received the br-int config and netvirt pipeline, but B did not.&lt;/p&gt;

&lt;p&gt;ovs output from A:&lt;br/&gt;
-------------------------&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;ovs-vsctl show&lt;br/&gt;
ce273766-0e83-4f5f-87d7-e5014531dc60&lt;br/&gt;
    Manager &quot;tcp:172.18.182.19:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    Manager &quot;tcp:172.18.182.3:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    Manager &quot;tcp:172.18.182.15:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    Bridge br-int&lt;br/&gt;
        Controller &quot;tcp:172.18.182.15:6653&quot;&lt;br/&gt;
            is_connected: true&lt;br/&gt;
        Controller &quot;tcp:172.18.182.3:6653&quot;&lt;br/&gt;
            is_connected: true&lt;br/&gt;
        Controller &quot;tcp:172.18.182.19: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;
    ovs_version: &quot;2.0.2&quot;&lt;/li&gt;
&lt;/ol&gt;



&lt;ol&gt;
	&lt;li&gt;ovs-ofctl -OOpenflow13 dump-flows br-int&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0x0, duration=496.032s, table=0, n_packets=0, n_bytes=0, dl_type=0x88cc actions=CONTROLLER:65535&lt;br/&gt;
 cookie=0x0, duration=496.032s, table=0, n_packets=7, n_bytes=558, priority=0 actions=goto_table:20&lt;br/&gt;
 cookie=0x0, duration=496.022s, table=20, n_packets=7, n_bytes=558, priority=0 actions=goto_table:30&lt;br/&gt;
 cookie=0x0, duration=496.003s, table=30, n_packets=7, n_bytes=558, priority=0 actions=goto_table:40&lt;br/&gt;
 cookie=0x0, duration=495.976s, table=40, n_packets=7, n_bytes=558, priority=0 actions=goto_table:50&lt;br/&gt;
 cookie=0x0, duration=495.95s, table=50, n_packets=7, n_bytes=558, priority=0 actions=goto_table:60&lt;br/&gt;
 cookie=0x0, duration=495.929s, table=60, n_packets=7, n_bytes=558, priority=0 actions=goto_table:70&lt;br/&gt;
 cookie=0x0, duration=495.901s, table=70, n_packets=7, n_bytes=558, priority=0 actions=goto_table:80&lt;br/&gt;
 cookie=0x0, duration=495.877s, table=80, n_packets=7, n_bytes=558, priority=0 actions=goto_table:90&lt;br/&gt;
 cookie=0x0, duration=495.837s, table=90, n_packets=7, n_bytes=558, priority=0 actions=goto_table:100&lt;br/&gt;
 cookie=0x0, duration=495.818s, table=100, n_packets=7, n_bytes=558, priority=0 actions=goto_table:110&lt;br/&gt;
 cookie=0x0, duration=495.798s, table=110, n_packets=7, n_bytes=558, priority=0 actions=drop&lt;br/&gt;
root@jamo-mininet-ubuntu14:/home/ubuntu#&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;ovs output from B:&lt;br/&gt;
-------------------------&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;ovs-vsctl show&lt;br/&gt;
d2f2225b-9b42-4cb7-b0d2-8e4f5f03761a&lt;br/&gt;
    Manager &quot;tcp:172.18.182.19:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    Manager &quot;tcp:172.18.182.3:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    Manager &quot;tcp:172.18.182.15:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    ovs_version: &quot;2.4.0&quot;&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;on repeated attempts, the problem remained.  doing a &quot;del-manager&quot; followed by a &quot;set-manager&quot; I could&lt;br/&gt;
see two controllers log that they were &quot;NOT an OWNER of the device&quot;.  The 3rd controller would have&lt;br/&gt;
this exception:&lt;/p&gt;

&lt;p&gt;2016-04-12 23:19:19,704 | WARN  | pool-37-thread-3 | OvsdbConnectionManager           | 252 -&lt;br/&gt;
org.opendaylight.ovsdb.southbound-impl - 1.2.3.SNAPSHOT | OVSDB entity Entity{type=&apos;ovsdb&apos;,&lt;br/&gt;
id=/(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology/topology/topology[&lt;/p&gt;
{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)topology-id=ovsdb:1}
&lt;p&gt;]/node/node[&lt;/p&gt;
{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)node-id=ovsdb://uuid/d2f2225b-9b42-4cb7-b0d2-8e4f5f03761a}
&lt;p&gt;]}&lt;br/&gt;
was already registered for ownership&lt;br/&gt;
org.opendaylight.controller.md.sal.common.api.clustering.CandidateAlreadyRegisteredException: Candidate has already been&lt;br/&gt;
registered for Entity{type=&apos;ovsdb&apos;,&lt;br/&gt;
id=/(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology/topology/topology[&lt;/p&gt;
{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)topology-id=ovsdb:1}
&lt;p&gt;]/node/node[&lt;/p&gt;
{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)node-id=ovsdb://uuid/d2f2225b-9b42-4cb7-b0d2-8e4f5f03761a}
&lt;p&gt;]}&lt;br/&gt;
        at&lt;br/&gt;
org.opendaylight.controller.cluster.datastore.entityownership.DistributedEntityOwnershipService.registerCandidate(DistributedEntityOwnershipService.java:142)&lt;span class=&quot;error&quot;&gt;&amp;#91;165:org.opendaylight.controller.sal-distributed-datastore:1.3.2.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at&lt;br/&gt;
org.opendaylight.ovsdb.southbound.OvsdbConnectionManager.registerEntityForOwnership(OvsdbConnectionManager.java:515)&lt;span class=&quot;error&quot;&gt;&amp;#91;252:org.opendaylight.ovsdb.southbound-impl:1.2.3.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at&lt;br/&gt;
org.opendaylight.ovsdb.southbound.OvsdbConnectionManager.connected(OvsdbConnectionManager.java:115)&lt;span class=&quot;error&quot;&gt;&amp;#91;252:org.opendaylight.ovsdb.southbound-impl:1.2.3.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at&lt;br/&gt;
org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService$5.run(OvsdbConnectionService.java:379)&lt;span class=&quot;error&quot;&gt;&amp;#91;249:org.opendaylight.ovsdb.library:1.2.3.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_77&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_77&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at&lt;br/&gt;
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_77&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at&lt;br/&gt;
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_77&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_77&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_77&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.lang.Thread.run(Thread.java:745)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_77&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;The workaround was to stop ovs, delete the /etc/openvswitch/conf.db, start ovs and set the managers&lt;br/&gt;
again.  This time br-int was created and the netvirt pipeline showed up.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22021">OVSDB-329</key>
            <summary>br-int not created in clustered setup</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="vinh.nguyen@hcl.com">Vinh Nguyen</assignee>
                                    <reporter username="jluhrsen">Jamo Luhrsen</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Apr 2016 21:40:03 +0000</created>
                <updated>Tue, 28 Jun 2016 06:34:59 +0000</updated>
                            <resolved>Tue, 28 Jun 2016 06:34:59 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>Southbound.Open_vSwitch</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="41403" author="jluhrsen" created="Wed, 13 Apr 2016 21:40:27 +0000"  >&lt;p&gt;Attachment 3ControllerLogs.tar.gz has been added with description: controller logs&lt;/p&gt;</comment>
                            <comment id="41399" author="gvrangan" created="Wed, 11 May 2016 21:41:17 +0000"  >&lt;p&gt;Am also able to reporduce the scenario at my end using Beryllium SR2 and 3node deployment with feature: odl-ovsdb-openstack&lt;/p&gt;


&lt;p&gt;There was a exception&lt;/p&gt;

&lt;p&gt;ifier KeyedInstanceIdentifier&lt;/p&gt;
{targetType=interface org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node, path
=[org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NetworkTopology, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topo
logy.rev131021.network.topology.Topology[key=TopologyKey [_topologyId=Uri [_value=ovsdb:1]]], org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev
131021.network.topology.topology.Node[key=NodeKey [_nodeId=Uri [_value=ovsdb://uuid/4e1fa111-de62-4b68-89b5-e95ed2404459]]]]}
&lt;p&gt; generated for device connection ConnectionIn&lt;br/&gt;
fo &lt;span class=&quot;error&quot;&gt;&amp;#91;Remote-address=10.128.0.7, Remote-port=47579, Local-address10.128.0.6, Local-port=6640, type=PASSIVE&amp;#93;&lt;/span&gt;&lt;br/&gt;
2016-05-11 20:13:06,817 | WARN  | pool-38-thread-7 | OvsdbConnectionManager           | 238 - org.opendaylight.ovsdb.southbound-impl - 1.2.3.Beryllium-SR2 | OVSDB entity &lt;br/&gt;
Entity{type=&apos;ovsdb&apos;, id=/(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology/topology/topology[&lt;/p&gt;
{(urn:TBD:params:xml:ns:yang:network-topology
?revision=2013-10-21)topology-id=ovsdb:1}
&lt;p&gt;]/node/node[&lt;/p&gt;
{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)node-id=ovsdb://uuid/4e1fa111-de62-4b68-89b5-e95ed2
404459}
&lt;p&gt;]} was already registered for ownership&lt;br/&gt;
org.opendaylight.controller.md.sal.common.api.clustering.CandidateAlreadyRegisteredException: Candidate has already been registered for Entity{type=&apos;ovsdb&apos;, id=/(urn:TBD:&lt;br/&gt;
params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology/topology/topology[&lt;/p&gt;
{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)topology-id=o
vsdb:1}
&lt;p&gt;]/node/node[&lt;/p&gt;
{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)node-id=ovsdb://uuid/4e1fa111-de62-4b68-89b5-e95ed2404459}
&lt;p&gt;]}&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.entityownership.DistributedEntityOwnershipService.registerCandidate(DistributedEntityOwnershipService.java:142)[1&lt;br/&gt;
52:org.opendaylight.controller.sal-distributed-datastore:1.3.2.Beryllium-SR2]&lt;br/&gt;
        at org.opendaylight.ovsdb.southbound.OvsdbConnectionManager.registerEntityForOwnership(OvsdbConnectionManager.java:515)[238:org.opendaylight.ovsdb.southbound-impl&lt;br/&gt;
:1.2.3.Beryllium-SR2]&lt;br/&gt;
        at org.opendaylight.ovsdb.southbound.OvsdbConnectionManager.connected(OvsdbConnectionManager.java:115)[238:org.opendaylight.ovsdb.southbound-impl:1.2.3.Beryllium-&lt;br/&gt;
SR2]&lt;br/&gt;
        at org.opendaylight.ovsdb.lib.impl.OvsdbConnectionService$5.run(OvsdbConnectionService.java:379)&lt;span class=&quot;error&quot;&gt;&amp;#91;235:org.opendaylight.ovsdb.library:1.2.3.Beryllium-SR2&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.lang.Thread.run(Thread.java:745)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
2016-05-11 21:16:39,825 | INFO  | ult-dispatcher-6 | Shard&lt;/p&gt;</comment>
                            <comment id="41400" author="gvrangan" created="Wed, 11 May 2016 22:47:07 +0000"  >&lt;p&gt;Steps that landed me in the failure&lt;/p&gt;

&lt;p&gt;a. Set up ODL 3node &lt;br/&gt;
b. stack up Control Node&lt;br/&gt;
c. stack up compute node&lt;br/&gt;
d. brought down compute node&lt;br/&gt;
e. bring up compute node again, the br-int was not getting created  and the karaf.log indicated the exception.&lt;/p&gt;</comment>
                            <comment id="41401" author="vinh.nguyen@hcl.com" created="Tue, 17 May 2016 19:00:44 +0000"  >&lt;p&gt;Code review:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/39002/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/39002/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="41402" author="vishnoianil@gmail.com" created="Tue, 28 Jun 2016 06:34:59 +0000"  >&lt;p&gt;This bug is fixed through following patches&lt;/p&gt;

&lt;p&gt;master : &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/40541/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/40541/2&lt;/a&gt;&lt;br/&gt;
stable/beryllium : &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/39002/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/39002/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12875" name="3ControllerLogs.tar.gz" size="111822" author="jluhrsen" created="Wed, 13 Apr 2016 21:40:27 +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>5721</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=5721]]></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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02227:</customfieldvalue>

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