-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create ACL table fails due to incorrect check for supported ACL actions #2351
Conversation
…ns #11235 Signed-off-by: rck-innovium <rck@innovium.com>
…ns #11235 (#2351) Signed-off-by: rck-innovium <rck@innovium.com>
2022-06-24 93af69c: [PFC_WD] Avoid applying ZeroBuffer Profiles to ingress PG when a PFC storm is detected (sonic-net/sonic-swss#2304) 2022-06-24 37349cf: [swssconfig] Optimize performance of swssconfig (sonic-net/sonic-swss#2336) 2022-06-24 84e9b07: [fdborch] fix heap-use-after-free in clearFdbEntry() (sonic-net/sonic-swss#2353) 2022-06-24 1b8bd94: Create ACL table fails due to incorrect check for supported ACL actions #11235 (sonic-net/sonic-swss#2351) 2022-06-24 1ed0b4b: [macsec] Refactor the logic of macsec name map (sonic-net/sonic-swss#2348) 2022-06-23 f88f992: [mock_tests] Add Sflow Orch UTs (sonic-net/sonic-swss#2295) 2022-06-23 ec57bf1: [macsec] Update macsec flex counter (sonic-net/sonic-swss#2338) 2022-06-22 6e0fc85: [ACL] Support stage particular match fields (sonic-net/sonic-swss#2341) 2022-06-22 efb4530: [orchagent, DTel]: report session support to set user vrf (sonic-net/sonic-swss#2326) 2022-06-22 d82874d: Fix for "orchagent crashed when trying to delete fdb static entry with swssconfig #11046" (sonic-net/sonic-swss#2332) 2022-06-22 0c789e6: Fix qos map test in vs test (sonic-net/sonic-swss#2343) 2022-06-17 1bb5070: Enhance mock test for dynamic buffer manager for port removing and qos reload flows (sonic-net/sonic-swss#2262) 2022-06-16 700492f: [aclorch] Fix and simplify DTel watchlist tables and entries (sonic-net/sonic-swss#2155)
Please help in backporting to 202111.
Please kindly backport the below 2 pull requests to sonic 202111 branch.
|
…ns #11235 (sonic-net#2351) Signed-off-by: rck-innovium <rck@innovium.com>
Can you please help backport or let us know if I can do something to get this backported.. This is blocking our basic 202111 ACL features.. |
This is already labeled for 202111. @judyjoseph , can you please help with cherry-pick? |
@judyjoseph could you help cherry-pick this to 202111? This has been pending for sometime. |
@rck-innovium @kishoreatreya Sorry for delay - Can you check if this PR is applicable in 202111 branch as I see the fix is in AclTable::addMandatoryActions() - and the function is not present in the 202111 codebase. |
Hi @judyjoseph Thanks for looking at this. This PR is applicable for 202111.
So, the sequence of backporting required is: This has been detailed in an earlier comment here: |
…ns #11235 (sonic-net#2351) Signed-off-by: rck-innovium <rck@innovium.com>
raised a cherry-pick PR #2497 |
Update sonic-swss submodule: sonic-net/sonic-buildimage#12521 |
Create ACL table fails due to incorrect check for supported ACL actions #11235
Fixes sonic-net/sonic-buildimage#11235
Signed-off-by: rck-innovium rck@innovium.com
What I did
Fixed error sonic-net/sonic-buildimage#11235
Why I did it
Egress ACL table creation was failing.
root@sonic-dut:~#config acl add table DATA_EGRESS_IPV4_TEST L3 -s egress
Error:
Jun 23 02:23:09.467384 sonic-dut ERR swss#orchagent: :- validate: Action SAI_ACL_ACTION_TYPE_REDIRECT is not supported on table DATA_EGRESS_IPV4_TEST
Jun 23 02:23:09.467384 sonic-dut ERR swss#orchagent: :- doAclTableTask: Failed to create ACL table DATA_EGRESS_IPV4_TEST, invalid configur
How I verified it
root@sonic-dut:~#config acl add table DATA_EGRESS_IPV4_TEST L3 -s egress
Jun 23 20:49:22.050411 sonic-dut INFO caclmgrd[1278536]: ACL change detected for namespace ''
Jun 23 20:49:22.050473 sonic-dut NOTICE swss#orchagent: :- doAclTableTask: Successfully updated existing ACL table DATA_EGRESS_IPV4_TEST
Jun 23 20:49:22.050546 sonic-dut INFO caclmgrd[1278536]: Spawning ACL update thread for namepsace '' ...
Jun 23 20:49:22.551196 sonic-dut INFO caclmgrd[1278536]: ACL config for namespace '' has not changed for 0.5 seconds. Applying updates ...
Details if related