<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:35:32 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-110] ovsdb throws exception, fails to try to program flows if ovs is running already at controller startup</title>
                <link>https://jira.opendaylight.org/browse/OVSDB-110</link>
                <project id="10158" key="OVSDB">ovsdb</project>
                    <description>&lt;p&gt;Reproduction steps:&lt;/p&gt;

&lt;p&gt;1)  On the host (this must be done first without the controller running  to reproduce):&lt;br/&gt;
sudo ovs-vsctl set-manager tcp:10.0.2.2:6640;sudo ovs-vsctl add-br br-int;sudo ovs-vsctl set bridge br-int protocols=&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;OpenFlow13&amp;quot;&amp;#93;&lt;/span&gt;;sudo ovs-vsctl set-controller br-int tcp:10.0.2.2:6633&lt;/p&gt;

&lt;p&gt;2)  The controller:&lt;br/&gt;
cd integration/distributions/extra/karaf&lt;br/&gt;
mvn clean install&lt;br/&gt;
cd target/assembly/bin&lt;br/&gt;
./karaf&lt;br/&gt;
feature:install odl-ovsdb-openstack&lt;/p&gt;

&lt;p&gt;No flows get programmed to ovs, but the following exception is in the logs:&lt;/p&gt;

&lt;p&gt;2014-09-22 09:16:55,555 | ERROR | g-notification-1 | ProviderNetworkManagerImpl       | 336 - org.opendaylight.ovsdb.openstack.net-virt - 1.0.0.SNAPSHOT | No providers matching OpenFlow13 found&lt;br/&gt;
2014-09-22 09:16:55,555 | ERROR | g-notification-1 | NotifyTask                       | 270 - org.opendaylight.controller.sal-binding-broker-impl - 1.1.0.SNAPSHOT | Unhandled exception thrown by listener: org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker@3542281b&lt;br/&gt;
java.util.NoSuchElementException&lt;br/&gt;
	at com.google.common.collect.AbstractIterator.next(AbstractIterator.java:154)&lt;span class=&quot;error&quot;&gt;&amp;#91;119:com.google.guava:14.0.1&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.ovsdb.openstack.netvirt.impl.ProviderNetworkManagerImpl.getProvider(ProviderNetworkManagerImpl.java:65)&lt;span class=&quot;error&quot;&gt;&amp;#91;336:org.opendaylight.ovsdb.openstack.net-virt:1.0.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler.notifyNode(SouthboundHandler.java:303)&lt;span class=&quot;error&quot;&gt;&amp;#91;336:org.opendaylight.ovsdb.openstack.net-virt:1.0.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.switchmanager.internal.SwitchManager.notifyNode(SwitchManager.java:1827)&lt;span class=&quot;error&quot;&gt;&amp;#91;307:org.opendaylight.controller.switchmanager.implementation:0.4.2.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.switchmanager.internal.SwitchManager.addNode(SwitchManager.java:1049)&lt;span class=&quot;error&quot;&gt;&amp;#91;307:org.opendaylight.controller.switchmanager.implementation:0.4.2.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.switchmanager.internal.SwitchManager.updateNode(SwitchManager.java:1150)&lt;span class=&quot;error&quot;&gt;&amp;#91;307:org.opendaylight.controller.switchmanager.implementation:0.4.2.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.sal.implementation.internal.Inventory.updateNode(Inventory.java:115)&lt;span class=&quot;error&quot;&gt;&amp;#91;82:org.opendaylight.controller.sal.implementation:0.4.2.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter.publishNodeUpdate(InventoryAndReadAdapter.java:721)&lt;span class=&quot;error&quot;&gt;&amp;#91;335:org.opendaylight.controller.sal-compatibility:1.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter.onNodeUpdated(InventoryAndReadAdapter.java:456)&lt;span class=&quot;error&quot;&gt;&amp;#91;335:org.opendaylight.controller.sal-compatibility:1.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker.onNotification(InventoryAndReadAdapter$$Broker$ListenerInvoker.java)&lt;span class=&quot;error&quot;&gt;&amp;#91;335:org.opendaylight.controller.sal-compatibility:1.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.sal.binding.impl.AbstractNotificationListenerRegistration.notify(AbstractNotificationListenerRegistration.java:38)&lt;span class=&quot;error&quot;&gt;&amp;#91;270:org.opendaylight.controller.sal-binding-broker-impl:1.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.sal.binding.impl.NotifyTask.run(NotifyTask.java:42)&lt;span class=&quot;error&quot;&gt;&amp;#91;270:org.opendaylight.controller.sal-binding-broker-impl:1.1.0.SNAPSHOT&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_65&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_65&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_65&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_65&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_65&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;This is basically two things:&lt;br/&gt;
a) ProviderNetworkManagerImpl throwing an exception&lt;br/&gt;
b) MD-SAL reporting that it threw the exception&lt;/p&gt;

&lt;p&gt;Interesting additional data.&lt;/p&gt;

&lt;p&gt;If after reproducing you do on the host:&lt;br/&gt;
sudo ovs-vsctl del-br br-int&lt;/p&gt;

&lt;p&gt;and then&lt;/p&gt;

&lt;p&gt;sudo ovs-vsctl set-manager tcp:10.0.2.2:6640;sudo ovs-vsctl add-br br-int;sudo ovs-vsctl set bridge br-int protocols=&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;OpenFlow13&amp;quot;&amp;#93;&lt;/span&gt;;sudo ovs-vsctl set-controller br-int tcp:10.0.2.2:6633&lt;/p&gt;

&lt;p&gt;the exception does not recur, and the flows get programmed to ovs.&lt;/p&gt;

&lt;p&gt;This looks like a startup race condition in ovsdb.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21802">OVSDB-110</key>
            <summary>ovsdb throws exception, fails to try to program flows if ovs is running already at controller startup</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>Mon, 22 Sep 2014 14:32:40 +0000</created>
                <updated>Thu, 19 Oct 2017 21:29:15 +0000</updated>
                            <resolved>Tue, 12 Jan 2016 23:15:20 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>openstack.net-virt-providers</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="21772">OVSDB-80</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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>2024</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=2024]]></customfieldvalue>

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

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