[OVSDB-225] Remote Security Group - Terminating an instance fails to remove the corresponding rules Created: 17/Nov/15  Updated: 03/May/18  Resolved: 26/Jan/16

Status: Resolved
Project: ovsdb
Component/s: openstack.net-virt
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Rijil Abraham Assignee: Aswin Suryanarayanan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 4643

 Description   

I have a scenario for testing remote security groups where in after the VM is deleted, the corresponding rules fails to get deleted

Here is the scenario,
VM1 - SG1 with SG1 remote
VM2 - SG1 with SG1 remote

1)When vm1 is spawned no rules should be there. – AS EXPECTED
2)When vm2 is spawned two rules should be inserted – AS EXPECTED
3)When vm1 is deleted both the rules should be deleted – BOTH RULES STILL PRESENT



 Comments   
Comment by Rijil Abraham [ 17/Nov/15 ]

Build Used - distribution-karaf-0.4.0-20151113.034639-2068.zip

Comment by Rijil Abraham [ 18/Nov/15 ]

Another scenario,

VM1 SG1 with SG2 remote
VM2 with SG2 CIDR

1)When vm1 is spawned no rules should be there - AS EXPECTED
2) When vm2 is spawned two rules should be inserted - AS EXPECTED
3)When vm1 is deleted, SG releated with Vm2 should be retained - FLOW NOT DELETED
4)When vm2 is deleted,rule is deleted - BOTH RULES STILL PRESENT

Comment by Aswin Suryanarayanan [ 13/Jan/16 ]

This should be a side effect of BUG-4205 : VM delete doesnot remove all flows(https://bugs.opendaylight.org/show_bug.cgi?id=4205). Need to retest this scenarion once 4205 is fixed.

Comment by Sam Hague [ 19/Jan/16 ]

Rijil, could you verify this bug is fixed now that 4205 is fixed?

Comment by Aswin Suryanarayanan [ 25/Jan/16 ]

https://git.opendaylight.org/gerrit/33452

The fix for https://bugs.opendaylight.org/show_bug.cgi?id=4205 is extend to SecurityGroupCacheManagerImpl as well.

Comment by Aswin Suryanarayanan [ 26/Jan/16 ]

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

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