<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:20:38 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>[NETVIRT-77] [Legacy] br-int not getting created when Netvirt used as 3node</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-77</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;distribution used for testing: &lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.5.0-SNAPSHOT/distribution-karaf-0.5.0-20160817.134922-4396.zip&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.5.0-SNAPSHOT/distribution-karaf-0.5.0-20160817.134922-4396.zip&lt;/a&gt;&lt;/p&gt;


&lt;p&gt; Steps Tried out&lt;/p&gt;

&lt;p&gt; 1. Deploy 3 node as Cluster&lt;/p&gt;

&lt;p&gt; 2. Installed odl-ovsdb-openstack, odl-jolokia in 3nodes&lt;/p&gt;

&lt;p&gt; 3. Ensured the clustering is fine by checking sync status&lt;/p&gt;

&lt;p&gt; 4. Added the 3 node as Managers to OVS&lt;/p&gt;

&lt;p&gt; Observation1: br-int not getting created&lt;/p&gt;

&lt;p&gt; Observation2: Manually created br-int and then checked dump-fl;ows, the pipeline initial flows are nnot geting added.&lt;/p&gt;



&lt;p&gt; Observation 3: saw this is ODL2 log&lt;br/&gt;
--------------------------------------------------------&lt;br/&gt;
 2016-08-17 20:10:47,707 | WARN  | rint Extender: 3 | NetvirtProvidersProvider         | 314 - org.opendaylight.netvirt.openstack.net-virt-providers - 1.3.0.SNAPSHOT | Failed to start Netvirt:&lt;br/&gt;
java.lang.NullPointerException&lt;br/&gt;
        at org.opendaylight.netvirt.openstack.netvirt.impl.ProviderNetworkManagerImpl.providerAdded(ProviderNetworkManagerImpl.java:74)&lt;br/&gt;
        at org.opendaylight.netvirt.openstack.netvirt.providers.openflow13.OF13Provider.setDependencies(OF13Provider.java:2017)&lt;br/&gt;
        at org.opendaylight.netvirt.openstack.netvirt.providers.ConfigActivator$1.addingService(ConfigActivator.java:186)&lt;br/&gt;
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)&lt;span class=&quot;error&quot;&gt;&amp;#91;karaf-org.osgi.core.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)&lt;span class=&quot;error&quot;&gt;&amp;#91;karaf-org.osgi.core.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)&lt;span class=&quot;error&quot;&gt;&amp;#91;karaf-org.osgi.core.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)&lt;span class=&quot;error&quot;&gt;&amp;#91;karaf-org.osgi.core.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)&lt;span class=&quot;error&quot;&gt;&amp;#91;karaf-org.osgi.core.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)&lt;span class=&quot;error&quot;&gt;&amp;#91;karaf-org.osgi.core.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.netvirt.openstack.netvirt.providers.ConfigActivator.start(ConfigActivator.java:191)&lt;br/&gt;
        at org.opendaylight.netvirt.openstack.netvirt.providers.NetvirtProvidersProvider.start(NetvirtProvidersProvider.java:97)&lt;br/&gt;
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.lang.reflect.Method.invoke(Method.java:498)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:299)&lt;span class=&quot;error&quot;&gt;&amp;#91;15:org.apache.aries.blueprint.core:1.4.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:956)&lt;span class=&quot;error&quot;&gt;&amp;#91;15:org.apache.aries.blueprint.core:1.4.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)&lt;span class=&quot;error&quot;&gt;&amp;#91;15:org.apache.aries.blueprint.core:1.4.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)&lt;span class=&quot;error&quot;&gt;&amp;#91;15:org.apache.aries.blueprint.core:1.4.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)&lt;span class=&quot;error&quot;&gt;&amp;#91;15:org.apache.aries.blueprint.core:1.4.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)&lt;span class=&quot;error&quot;&gt;&amp;#91;15:org.apache.aries.blueprint.core:1.4.4&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_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)&lt;span class=&quot;error&quot;&gt;&amp;#91;15:org.apache.aries.blueprint.core:1.4.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:247)&lt;span class=&quot;error&quot;&gt;&amp;#91;15:org.apache.aries.blueprint.core:1.4.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)&lt;span class=&quot;error&quot;&gt;&amp;#91;15:org.apache.aries.blueprint.core:1.4.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682)&lt;span class=&quot;error&quot;&gt;&amp;#91;15:org.apache.aries.blueprint.core:1.4.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377)&lt;span class=&quot;error&quot;&gt;&amp;#91;15:org.apache.aries.blueprint.core:1.4.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)&lt;span class=&quot;error&quot;&gt;&amp;#91;15:org.apache.aries.blueprint.core:1.4.4&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_101&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_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.aries.blueprint.container.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:106)&lt;span class=&quot;error&quot;&gt;&amp;#91;15:org.apache.aries.blueprint.core:1.4.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)&lt;span class=&quot;error&quot;&gt;&amp;#91;15:org.apache.aries.blueprint.core:1.4.4&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_101&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_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&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_101&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;------------------------------------------------&lt;/p&gt;

&lt;p&gt; 5. Checked the entity owners , ODL2 was the owner of netvirt-provider entity&lt;/p&gt;


&lt;p&gt; 6. Killed karaf in ODL2 and restarted&lt;/p&gt;

&lt;p&gt; 7. ODL1 became owner of netvirt-provider&lt;br/&gt;
  Observation: br-int got created and pipeline flows got added&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="19998">NETVIRT-77</key>
            <summary>[Legacy] br-int not getting created when Netvirt used as 3node</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="bertrandlow">Bertrand Low</assignee>
                                    <reporter username="gvrangan">Venkatrangan Govindarajan</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Aug 2016 00:31:22 +0000</created>
                <updated>Fri, 9 Mar 2018 18:21:30 +0000</updated>
                            <resolved>Wed, 24 Aug 2016 19:13:29 +0000</resolved>
                                    <version>Boron</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="36277" author="gvrangan" created="Thu, 18 Aug 2016 00:38:12 +0000"  >&lt;p&gt;Attachment odl1_bug_6455_log.tgz has been added with description: ODL1 logs&lt;/p&gt;</comment>
                            <comment id="36278" author="gvrangan" created="Thu, 18 Aug 2016 00:38:26 +0000"  >&lt;p&gt;Attachment odl2_bug_6455_log.tgz has been added with description: ODL2 logs&lt;/p&gt;</comment>
                            <comment id="36279" author="gvrangan" created="Thu, 18 Aug 2016 00:38:40 +0000"  >&lt;p&gt;Attachment odl3_bug_6455_log.tgz has been added with description: ODL3 logs&lt;/p&gt;</comment>
                            <comment id="36272" author="gvrangan" created="Fri, 19 Aug 2016 18:42:46 +0000"  >&lt;p&gt;The issue occurs in releng also now&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-3node-openstack-mitaka-openstack-boron/118/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-3node-openstack-mitaka-openstack-boron/118/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="36273" author="bertrandlow" created="Tue, 23 Aug 2016 00:49:07 +0000"  >&lt;p&gt;The error appears to be happening because of a timing issue between O13Provider and ProviderNetworkManagerImpl&lt;br/&gt;
1) An O13Provider calls setDependency when ProviderNetworkManagerImpl service registers&lt;br/&gt;
2) O13Provider::setDependency calls ProviderNetworkManagerImpl::providerAdd&lt;br/&gt;
3) ProviderNetworkManagerImpl::providerAdd calls ovsdbInventoryService.providersReady().&lt;br/&gt;
This statement causes the NullPointerException because ovsdbInventoryService is null. OvsdbInventoryService is a dependency for ProviderNetworkManagerImpl but when this exception occurs, it has not yet been added as such.&lt;/p&gt;

&lt;p&gt;The effect of this error is that Netvirt will fail to start properly. In this particular case, because ovsdbInventoryService is null, OvsdbInventoryServiceImpl will never get notified that its providers are ready, and hence the following will be true: the ovsdbDataChangeListener will not start, and both the NeutronModelsDataChangeListeners and the NetvirtTopology will not be initialized. In general though, seeing the &quot;Failed to start Netvirt&quot; log does not tell us which component of Netvirt has failed; it only tells us that Netvirt will not behave in an expected way.&lt;/p&gt;

&lt;p&gt;Likely, fixing the NullPointerException will allow Netvirt to start up properly and hence the successfully creation of br-int.&lt;/p&gt;</comment>
                            <comment id="36274" author="bertrandlow" created="Tue, 23 Aug 2016 00:54:26 +0000"  >&lt;p&gt;Sam pointed out that blueprint migration may have contributed to this behaviour because blueprint causes the order of ConfigActivator.start() in Netvirt and in Netvirt-Providers to be random (see &lt;a href=&quot;https://lists.opendaylight.org/pipermail/netvirt-dev/2016-August/001274.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/netvirt-dev/2016-August/001274.html&lt;/a&gt;). That is, sometimes, Netvirt-Providers will start up before Netvirt starts up.&lt;/p&gt;

&lt;p&gt;This random order is in itself not the cause of the problem, as we have observed successful starts independent of whether Netvirt-Providers starts up before Netvirt or vice versa. However, in the instances where the timing issue described above occurs, Netvirt-Providers has been observed to start up before Netvirt.&lt;/p&gt;

&lt;p&gt;We will confirm if adding the OvsdbInventoryService dependency to netvirt-provider.xml works to properly set all dependencies before startup, thus avoiding the NullPointerException.&lt;/p&gt;</comment>
                            <comment id="36275" author="bertrandlow" created="Wed, 24 Aug 2016 16:33:34 +0000"  >&lt;p&gt;Patch submitted.&lt;/p&gt;

&lt;p&gt;Inject dependency of OvsdbInventoryService to blueprint for NetvirtProvidersProvider&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/44562/4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/44562/4&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The patch has been tested and the bug has not been observed after applying the patch&lt;/p&gt;</comment>
                            <comment id="36276" author="bertrandlow" created="Wed, 24 Aug 2016 19:13:29 +0000"  >&lt;p&gt;master branch:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/44572/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/44572/1&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/44623&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/44623&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12201" name="odl1_bug_6455_log.tgz" size="78202" author="gvrangan" created="Thu, 18 Aug 2016 00:38:12 +0000"/>
                            <attachment id="12202" name="odl2_bug_6455_log.tgz" size="106893" author="gvrangan" created="Thu, 18 Aug 2016 00:38:26 +0000"/>
                            <attachment id="12203" name="odl3_bug_6455_log.tgz" size="64788" author="gvrangan" created="Thu, 18 Aug 2016 00:38:40 +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>6455</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=6455]]></customfieldvalue>

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

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