<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:20:30 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-19] NullPointerException while deleting the interface from router.</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-19</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;NetVirt throws following null pointer exception when subnet interface is deleted from the router.&lt;/p&gt;

&lt;p&gt;2016-05-17 00:14:09,886 | ERROR | ntDispatcherImpl | EventDispatcher                  | 300 - org.opendaylight.netvirt.openstack.net-virt - 1.3.0.SNAPSHOT | Exception in dispatching event NorthboundEvent [handler=NEUTRON_PORT, action=DELETE, port=NeutronPort [portUUID=4066b3ea-463d-4ea1-8707-3c79e435ab43, networkUUID=b1b2becb-fd1c-49fe-bf7d-a2e031d3697b, name=, adminStateUp=true, status=ACTIVE, macAddress=FA:16:3E:1C:65:BB, fixedIPs=[Neutron_IPs&lt;/p&gt;
{ipAddress=&apos;1.1.1.1&apos;, subnetUUID=&apos;2ec1b0b2-b7f2-4dab-83d3-9c78656eb5ea&apos;}
&lt;p&gt;], deviceID=ddbcf2ea-4562-43e6-a32b-838529afab10, deviceOwner=network:router_interface, tenantID=d95c67e9dbc44002b9ea0d947e4deb83, securityGroups=[], bindinghostID=, bindingvnicType=normal, bindingvnicType=normal, portSecurityEnabled=null], subnet=null, router=null, routerInterface=null, floatingIP=null, network=null, loadBalancer=null, loadBalancerPool=null, loadBalancerPoolMember=null, neutronsecurityRule=null]&lt;br/&gt;
java.lang.NullPointerException&lt;br/&gt;
	at org.opendaylight.netvirt.openstack.netvirt.impl.NeutronL3Adapter.cleanupFloatingIPRules(NeutronL3Adapter.java:1466)&lt;span class=&quot;error&quot;&gt;&amp;#91;300:org.opendaylight.netvirt.openstack.net-virt:1.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netvirt.openstack.netvirt.impl.NeutronL3Adapter.handleNeutronPortEvent(NeutronL3Adapter.java:444)&lt;span class=&quot;error&quot;&gt;&amp;#91;300:org.opendaylight.netvirt.openstack.net-virt:1.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netvirt.openstack.netvirt.PortHandler.doNeutronPortDeleted(PortHandler.java:127)&lt;span class=&quot;error&quot;&gt;&amp;#91;300:org.opendaylight.netvirt.openstack.net-virt:1.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netvirt.openstack.netvirt.PortHandler.processEvent(PortHandler.java:169)&lt;span class=&quot;error&quot;&gt;&amp;#91;300:org.opendaylight.netvirt.openstack.net-virt:1.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netvirt.openstack.netvirt.impl.EventDispatcherImpl.dispatchEvent(EventDispatcherImpl.java:95)&lt;span class=&quot;error&quot;&gt;&amp;#91;300:org.opendaylight.netvirt.openstack.net-virt:1.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netvirt.openstack.netvirt.impl.EventDispatcherImpl.access$200(EventDispatcherImpl.java:27)&lt;span class=&quot;error&quot;&gt;&amp;#91;300:org.opendaylight.netvirt.openstack.net-virt:1.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netvirt.openstack.netvirt.impl.EventDispatcherImpl$1.run(EventDispatcherImpl.java:56)&lt;span class=&quot;error&quot;&gt;&amp;#91;300:org.opendaylight.netvirt.openstack.net-virt:1.3.0.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_91&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_91&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_91&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_91&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_91&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;This actually causes delay in the flow removal and packet leaks across the subnets even after subnet interface is removed from the router. Above issue can be recreated using following steps (please enable L3)&lt;/p&gt;

&lt;p&gt;(1) Create two network/subnet (SB1, SB2) and spawn one VM in each network (VM1, VM2)&lt;br/&gt;
(2) Create router&lt;br/&gt;
(3) Attach both the network to router&lt;br/&gt;
(4) Ping from VM1 to VM2, ping will be successful.&lt;br/&gt;
(5) Now keep the ping on from VM1 to VM2&lt;br/&gt;
(6) Remove the interface of subnet SB2 from router&lt;br/&gt;
(7) You will see ping between VM1 and VM2 is still going on, ideally it should stop immediately. It will stop after a minute or so.&lt;br/&gt;
(8) If you look at the karaf log, you can see the NPE exception mentioned above.&lt;/p&gt;

&lt;p&gt;Karaf log is attached with the mail.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="19940">NETVIRT-19</key>
            <summary>NullPointerException while deleting the interface from router.</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="arthi.b@hcl.com">Arthi Bhattacharjee</assignee>
                                    <reporter username="Avishnoi">Anil Vishnoi</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 May 2016 07:36:24 +0000</created>
                <updated>Wed, 8 Jun 2016 08:59:56 +0000</updated>
                            <resolved>Wed, 8 Jun 2016 08:59:56 +0000</resolved>
                                    <version>Beryllium</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="36162" author="vishnoianil@gmail.com" created="Tue, 17 May 2016 07:36:24 +0000"  >&lt;p&gt;Attachment karaf.log has been added with description: karaf.log&lt;/p&gt;</comment>
                            <comment id="36163" author="vishnoianil@gmail.com" created="Tue, 17 May 2016 07:39:40 +0000"  >&lt;p&gt;Attachment karaf.log.1.tar.gz has been added with description: karaf.log.1.tar.gz&lt;/p&gt;</comment>
                            <comment id="36164" author="vishnoianil@gmail.com" created="Tue, 17 May 2016 07:40:05 +0000"  >&lt;p&gt;Attachment karaf.log.2.tar.gz has been added with description: karaf.log.2&lt;/p&gt;</comment>
                            <comment id="36157" author="arthi.b@hcl.com" created="Thu, 19 May 2016 09:14:50 +0000"  >&lt;p&gt;Hi Anil,&lt;/p&gt;

&lt;p&gt;Following are the steps I&#8217;ve followed:&lt;/p&gt;

&lt;p&gt;(1)	Downloaded latest Distribution (distribution karaf-0.5.0-20160518.060151-2309.tar.gz) and up the Karaf. &lt;br/&gt;
(2)	Enabled L3 feature in etc/custom.properties.&lt;br/&gt;
(3)	Stacked the control node.&lt;br/&gt;
(4)	Created two networks (N1 and N2)&lt;br/&gt;
(5)	Created router and interfaces for N1 and N2 added to the router.&lt;br/&gt;
(6)	Created two VM instances for each network.&lt;br/&gt;
(7)	Ping from VM1 to VM2, ping will be successful.&lt;br/&gt;
(8)	Removed the interface of second subnet from router&lt;br/&gt;
(9)	Ping stopped instantly but didn&#8217;t get Exception as mentioned in the bug.&lt;/p&gt;

&lt;p&gt;Thus bug is not reproduced. Please confirm from your side as well.&lt;/p&gt;</comment>
                            <comment id="36165" author="arthi.b@hcl.com" created="Thu, 19 May 2016 09:16:14 +0000"  >&lt;p&gt;Attachment offshore_karaf_0.5.0.zip has been added with description: Karaf log for reference&lt;/p&gt;</comment>
                            <comment id="36158" author="arthi.b@hcl.com" created="Wed, 1 Jun 2016 15:30:38 +0000"  >&lt;p&gt;Anil,&lt;/p&gt;

&lt;p&gt;By creating an external network, we can reproduce the bug. We have pushed a patch regarding this bug.&lt;/p&gt;</comment>
                            <comment id="36159" author="vishnoianil@gmail.com" created="Wed, 1 Jun 2016 16:16:37 +0000"  >&lt;p&gt;Hi Arthi,&lt;/p&gt;

&lt;p&gt;Please update the bug with the patch number, just for record.&lt;/p&gt;</comment>
                            <comment id="36160" author="arthi.b@hcl.com" created="Thu, 2 Jun 2016 05:40:52 +0000"  >&lt;p&gt;Anil,&lt;/p&gt;

&lt;p&gt;Following patch id is for the bug fixing.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/39699/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/39699/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="36161" author="shague@redhat.com" created="Tue, 7 Jun 2016 12:38:48 +0000"  >&lt;p&gt;b: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/39945/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/39945/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12183" name="karaf.log" size="533705" author="Avishnoi" created="Tue, 17 May 2016 07:36:24 +0000"/>
                            <attachment id="12184" name="karaf.log.1.tar.gz" size="33651" author="Avishnoi" created="Tue, 17 May 2016 07:39:40 +0000"/>
                            <attachment id="12185" name="karaf.log.2.tar.gz" size="42227" author="Avishnoi" created="Tue, 17 May 2016 07:40:05 +0000"/>
                            <attachment id="12186" name="offshore_karaf_0.5.0.zip" size="237308" author="arthi.b@hcl.com" created="Thu, 19 May 2016 09:16:14 +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>5894</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=5894]]></customfieldvalue>

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

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