[NETVIRT-376] During Deletion of Instances and Network. Flows are not getting removed from table:20 and table:90 Created: 16/Dec/16  Updated: 08/Apr/19  Resolved: 16/Jan/17

Status: Resolved
Project: netvirt
Component/s: None
Affects Version/s: Boron
Fix Version/s: None

Type: Bug
Reporter: Karthik Sivasamy Assignee: Hari Prasidh
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: Zip Archive FlowsDetails.zip     Zip Archive karaf logs.zip    
External issue ID: 7393

 Description   

ODL Version : distribution-karaf-0.5.2-Boron-SR2

Openstack Version : mitaka

Setup Details : 1 Control Node + 2 Compute Nodes + 3 ODL Nodes

Steps to Reproduce :
1. ./unstack Control Node and Compute nodes
2. Delete logs, snapshot and data from all three ODL nodes
3. Start ./bin/karaf and installing "odl-ovsdb-openstack"
4. Check cluster is formed. And check network topology is initiated
5. ./stack up Control Node and Compute Nodes
6. Check initial flows in control node and compute nodes.
7. Create a Network and 5 instances. And check ip address are assigned for all the instances.
8. Check control node and compute nodes flows for the created network and instances.
9. Delete Instances and network.
10. Check flows for removed network and instances in the control node and compute nodes. We observed flows are not removed and below are our observation:

Observations:

1) When all instances are deleted, flows are not getting removed from table:20, table:90. In both control node and compute nodes
2) When a network is deleted, dhcp flows are not getting removed from control node but it removed from compute nodes. And in compute nodes "ARP flows" from instances are not getting removed.
3) Some Instances "ip flows" are not getting removed in table:90. In both control and compute nodes.
4) We have observed above issues in both "Normal" and "Failover scenario"

The same above issue is reproduced in CSIT, below is the link,

https://logs.opendaylight.org/releng/jenkins092/netvirt-legacy-csit-3node-openstack-mitaka-upstream-boron/39/archives/log.html.gz#s1-s3-s1-t43-k3-k1-k2-k1-k16-k3

Please find attached files for Karaf logs and Flow details.



 Comments   
Comment by Karthik Sivasamy [ 16/Dec/16 ]

Attachment karaf logs.zip has been added with description: Karaf logs of all 3 ODL nodes

Comment by Karthik Sivasamy [ 16/Dec/16 ]

Attachment FlowsDetails.zip has been added with description: Flow details for Control and Compute Nodes

Comment by balakrishnan k [ 16/Jan/17 ]

patch was pushed to fix the issue
https://git.opendaylight.org/gerrit/#/c/49848/

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