sonic-swss icon indicating copy to clipboard operation
sonic-swss copied to clipboard

[orchagent]: Resolving issue #18844

Open fountzou opened this issue 1 year ago • 0 comments

  • Don't install counters when session rule is inactive.

Mirror session is not activated and thus, the ACL rule is not created in sairedis/SAI (there is no next hop for the mirror destination IP). However, orchagent creates and registers the ACL counter with the flexcounter (FC) and the counter is being polled every polling interval. Since the ACL counter is not attached to any ACL rule, the BCM SAI introduces print errors in syslog.

What I did Removed the ACL counter when ACL mirror rule / session is inactive.

Why I did it To solve #18844 issue.

How I verified it

  • Running everflow and acl testcases.
  • Checking syslog for the offending error logs.

Details if related

fountzou avatar Jul 05 '24 17:07 fountzou