[OVSDB-196] VM delete doesnot removed all related flows(i.e specific to VMs) Created: 27/Aug/15  Updated: 19/Jan/16  Resolved: 19/Jan/16

Status: Resolved
Project: ovsdb
Component/s: Neutron
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Vasanthan Balasubramaniyan Assignee: Badrinath
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File BERLIYUM_2260_KARAF.log     Text File SR1.log    
Issue Links:
Duplicate
is duplicated by OVSDB-197 Network delete doesnot removed the Vx... Resolved
External issue ID: 4205

 Description   

Build#: Lithium-SR1 Build
Openstack: stable/kilo
Neutron Plugin:
enable_plugin networking-odl https://github.com/stackforge/networking-odl stable/kilo

Problem:
=========
When creating the VM's(VM1: Mac: fa:16:3e:b7:a1:ff IP:3.1.1.4),the following flow entries has been created specific to VM

cookie=0x0, duration=616.567s, table=0, n_packets=147, n_bytes=13626, in_port=3,dl_src=fa:16:3e:b7:a1:ff actions=set_field:0x43b->tun_id,load:0x1->NXM_NX_REG0[],goto_table:20
cookie=0x0, duration=616.635s, table=40, n_packets=120, n_bytes=11682, priority=36001,ip,in_port=3,dl_src=fa:16:3e:b7:a1:ff,nw_src=3.1.1.4 actions=goto_table:50

When deleted the VM's following flow doesn't removed from ovs-vsswitch

cookie=0x0, duration=616.635s, table=40, n_packets=120, n_bytes=11682, priority=36001,ip,in_port=3,dl_src=fa:16:3e:b7:a1:ff,nw_src=3.1.1.4 actions=goto_table:50

This stale flow entries retained until unstack the compute node (where VM spawned).

On ODL Side,
When deleting the VM,it thrown with NullPointerException.



 Comments   
Comment by Vasanthan Balasubramaniyan [ 27/Aug/15 ]

Attachment SR1.log has been added with description: VM Delete scenario

Comment by Badrinath [ 04/Sep/15 ]

This is a race condition between Northbound and Southbound Events.
A clean solution needs to be investigated.

Comment by Vasanthan Balasubramaniyan [ 23/Nov/15 ]

Search keyword "2015-11-23 11:08:54,233 | ERROR"

Comment by Vasanthan Balasubramaniyan [ 23/Nov/15 ]

Attachment BERLIYUM_2260_KARAF.log has been added with description: BERLIYUM_2260_KARAF_ISSUE

Comment by Sam Hague [ 06/Jan/16 ]

https://git.opendaylight.org/gerrit/#/c/28676/
https://git.opendaylight.org/gerrit/#/c/32187/

Comment by Flavio Fernandes [ 15/Jan/16 ]

(In reply to Sam Hague from comment #4)
> https://git.opendaylight.org/gerrit/#/c/28676/
> https://git.opendaylight.org/gerrit/#/c/32187/

also

https://git.opendaylight.org/gerrit/#/c/32498/

Comment by Flavio Fernandes [ 15/Jan/16 ]

(In reply to Flavio Fernandes from comment #5)
(In reply to Sam Hague from comment #4)
> https://git.opendaylight.org/gerrit/#/c/28676/
> https://git.opendaylight.org/gerrit/#/c/32187/

also

https://git.opendaylight.org/gerrit/#/c/32498/
https://git.opendaylight.org/gerrit/#/c/32695/

Generated at Wed Feb 07 20:35:45 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.