[NETVIRT-1050] When remote-sg is applied to the server, flow entries are not removed after server deletion Created: 04/Jan/18  Updated: 12/May/18  Resolved: 12/May/18

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Oxygen, Fluorine
Fix Version/s: Oxygen-SR2

Type: Bug Priority: Medium
Reporter: Arthi Bhattacharjee Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Setup:

3 control node

2 compute node 

3 controller in cluster 

 

DIstro: Nitrogen formal release 

 

Steps to reproduce the issue:

  1. Create 2  networks
  2. Create VM for each networks
  3. Apply ICMP remote SG for the VMs
  4. Create a router and add the interfaces for the networks.
  5. Check the communication between the VMs
  6. Delete the VMs

Observation:

When VMs are deleted, the flows are not removed from the dump-flows. 

 

Note: Occurs occasionally.  

 

 

 



 Comments   
Comment by Hari Prasidh [ 09/Feb/18 ]

I've tested the same scenario with single node more than 10 times and observed flows got removed all the time.

Comment by Hari Prasidh [ 14/Mar/18 ]

Issue reproduced all the time with below steps:

1. Create 2 networks
2. Create VM1 and VM2 on Net1 (assume VM1 on Compute1 and VM2 on compoute2)
3. Create VM3 and VM4 on Net2 (assume VM3 on Compute1 and VM4 on compoute2)
4. Apply ICMP remote SG for the VMs
5. Create a router and add the interfaces for the networks.
6. Check the communication between the VMs

7. Delete the VM4, observed remote sg flows table-211 && table-241) for VM4 successfully removed .
    openstack server delete VM4
8. When we try to delete the last VM on compute2 (VM2) and one of the compute1's VM (VM3) at a          time, the remote sg flows table-211 && table-241) for VM3 are not get removed from compoute2.
    openstack server delete VM2 VM3

Observation:
The issue is reproduced only when router associated with the subnets and the removal VM port should be the last port on the compute host and the operation should be multiple VM delete operation.

Comment by Sushant Jha [ 25/Apr/18 ]

Hi Hari,

Could you please clarify few things here. Like, what "remote sg flows" are you referring to here? Is it VM specific dump flows?

And please confirm the  build where this issue can be seen? I've checked in oxygen and its working fine there.

Also could you please provide the logs for these remote sg flows?

Thanks,

Sushant  

Comment by Sushant Jha [ 27/Apr/18 ]

As mentioned the reported issue is not seen in master build. All the VM specific flows gets cleared after deletion of VMs.

Please check the same in latest master build and let know if the issue persists?

Comment by Vinh Nguyen [ 12/May/18 ]

Not observed in Oxygen and master. 

Set bug status to Resolved/Won't Fix

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