You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
We observe that the acl counter CRM test fails against the 201911 image due to loganalyzer failures. These failures are because caclmgrd is writing error messages to the syslog referencing dataplane ACL rules. These failures are observed during test teardown.
Steps to reproduce the issue:
Run test_crm.py::test_acl_counter against 201911 image
Describe the results you received:
Oct 4 09:25:39.761878 str-dx010-acs-1 ERR caclmgrd[2593]: :- pops: Failed to get content for table key ACL_RULE|DATAACL|RULE_47
Describe the results you expected:
Tests should pass, no errors should be reported for dataplane ACL rules.
@abdosi: The log message in question is being generated by swsscommon, so it appears that this was introduced when you migrated caclmgrd to use swsscommon in lieu of swsssdk when adding multi-ASIC support. I assume this issue is also present in the master branch. Can you please investigate?
Possible Root casue: (Not able to reproduce on my local setup)
caclmgrd subscribes to swsscommon.CFG_ACL_RULE_TABLE_NAME Which is also subscribed by Orchagent also .
In this test case we are loading and deleting DATAACL rules which gets processed by caclmgrd and causes iptables to be reprogrammed for each event (though not causing any issue with rule itself) but this take time
Meanwhile acl-loader delete on DATAACL gets called and Orchagent process those events. Meanwhile caclmgrd being slow still processing SET events and can trigger above error where Delete is already done by Orchagent and caclmgrd set event is still trying to get information.
PR##5560 ignores DATAACL event by caclmgrd and should avoid caclmgrd getting slow and hopefully should not se above error messages.
Description
We observe that the acl counter CRM test fails against the 201911 image due to loganalyzer failures. These failures are because caclmgrd is writing error messages to the syslog referencing dataplane ACL rules. These failures are observed during test teardown.
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Tests should pass, no errors should be reported for dataplane ACL rules.
Output of
show version
:The text was updated successfully, but these errors were encountered: