[NETVIRT-19] NullPointerException while deleting the interface from router. Created: 17/May/16 Updated: 08/Jun/16 Resolved: 08/Jun/16 |
|
| Status: | Resolved |
| Project: | netvirt |
| Component/s: | General |
| Affects Version/s: | Beryllium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Anil Vishnoi | Assignee: | Arthi Bhattacharjee |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 5894 |
| Description |
|
NetVirt throws following null pointer exception when subnet interface is deleted from the router. 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 {ipAddress='1.1.1.1', subnetUUID='2ec1b0b2-b7f2-4dab-83d3-9c78656eb5ea'}], 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] 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) (1) Create two network/subnet (SB1, SB2) and spawn one VM in each network (VM1, VM2) Karaf log is attached with the mail. |
| Comments |
| Comment by Anil Vishnoi [ 17/May/16 ] |
|
Attachment karaf.log has been added with description: karaf.log |
| Comment by Anil Vishnoi [ 17/May/16 ] |
|
Attachment karaf.log.1.tar.gz has been added with description: karaf.log.1.tar.gz |
| Comment by Anil Vishnoi [ 17/May/16 ] |
|
Attachment karaf.log.2.tar.gz has been added with description: karaf.log.2 |
| Comment by Arthi Bhattacharjee [ 19/May/16 ] |
|
Hi Anil, Following are the steps I’ve followed: (1) Downloaded latest Distribution (distribution karaf-0.5.0-20160518.060151-2309.tar.gz) and up the Karaf. Thus bug is not reproduced. Please confirm from your side as well. |
| Comment by Arthi Bhattacharjee [ 19/May/16 ] |
|
Attachment offshore_karaf_0.5.0.zip has been added with description: Karaf log for reference |
| Comment by Arthi Bhattacharjee [ 01/Jun/16 ] |
|
Anil, By creating an external network, we can reproduce the bug. We have pushed a patch regarding this bug. |
| Comment by Anil Vishnoi [ 01/Jun/16 ] |
|
Hi Arthi, Please update the bug with the patch number, just for record. |
| Comment by Arthi Bhattacharjee [ 02/Jun/16 ] |
|
Anil, Following patch id is for the bug fixing. |
| Comment by Sam Hague [ 07/Jun/16 ] |