Bug 2129316 - equivalent nbdb ACLs to logical_flow translation: stage-hint isn't updated when ACL is deleted
Summary: equivalent nbdb ACLs to logical_flow translation: stage-hint isn't updated wh...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: ovn22.12
Version: RHEL 8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: OVN Team
QA Contact: Ehsan Elahi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-23 10:13 UTC by Nadia Pinaeva
Modified: 2022-09-26 02:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-2309 0 None None None 2022-09-23 10:25:23 UTC

Description Nadia Pinaeva 2022-09-23 10:13:06 UTC
Description of problem:
I create 2 acls that will be identical in nbdb, only have different names, then I see these 2 acls will get translated to only 1 set of logical flows in sbdb, and will have one of the ACL uuids in stage-hint.
Then if I delete that ACL that is listed in stage-hint, sbdb logical flows will stay the same (which is expected, since there is 1 equivalent ACL left), but stage-hint will stay the same, with UUID of ACL that doesn't exist anymore.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create 2 equivalent ACLs with different names in nbdb
2. Check only 1 set (that is 2 flows for "reg0[10] == 1" and "reg0[9] == 1") of logical_flows created, find nbdb ACL UUID in stage-hint
3. Delete ACLs with UUID noted in the previous step
4. Check logical_flows are the same, including stage-hint of non-existing ACL


Note You need to log in before you can comment on or make changes to this bug.