-
Notifications
You must be signed in to change notification settings - Fork 1.5k
PFC_WD_timestamp frequent changes in COUNTERS/{PORT} break telemetry SAMPLE mode #22201
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
PFC_WD_timestamp frequent changes in COUNTERS/{PORT} break telemetry SAMPLE mode #22201
Comments
MSADO: 31968783 |
Recently, we observed that the counter-polling interval could be inaccurate, impacting the functionalities that Lua implemented like PFC watchdog. So, we recorded the timestamp when the counters were polled so that the Lua plugin could determine the actual polling intervals by calculating the difference. |
…github issue sonic-net#17974 and #22201 Skip test_qos_dscp_mapping on dualtor due to github issue https://redmine.mellanox.com/issues/17974 Skip telemetry test_virtualdb_table_streaming case due to sonic-net/sonic-buildimage#22201
…github issue sonic-net#17974 and #22201 Skip test_qos_dscp_mapping on dualtor due to github issue sonic-net#17974 Skip telemetry test_virtualdb_table_streaming case due to sonic-net/sonic-buildimage#22201 Change-Id: If461fcf40ce8d1e1a7a8f30e7193965646d6e6e7
Skip telemetry test_virtualdb_table_streaming case due to sonic-net/sonic-buildimage#22201 Change-Id: I3b5092e148c83f6178df2da64d8ef1180fbbed22
Skip telemetry test_virtualdb_table_streaming case due to sonic-net/sonic-buildimage#22201 Change-Id: I3b5092e148c83f6178df2da64d8ef1180fbbed22
Skip telemetry test_virtualdb_table_streaming case due to sonic-net/sonic-buildimage#22201 Change-Id: I3b5092e148c83f6178df2da64d8ef1180fbbed22
…uently update the counter table (#1567) Move the timestamp out of the COUNTER table to avoid updating the table too frequently and overwhelming the telemetry system. Fixes sonic-net/sonic-buildimage#22201 Signed-off-by: Stephen Sun <[email protected]>
…uently update the counter table Move the timestamp out of the COUNTER table to avoid updating the table too frequently and overwhelming the telemetry system. Fixes sonic-net/sonic-buildimage#22201
…uently update the counter table (#51) Move the timestamp out of the COUNTER table to avoid updating the table too frequently and overwhelming the telemetry system. Fixes sonic-net/sonic-buildimage#22201
Is it platform specific
mellanox
Importance or Severity
High
Description of the bug
With the changes from the following PRs:
sonic-net/sonic-swss#3391 and sonic-net/sonic-sairedis#1534 we see that telemetry SAMPLE mode breaks when querying table COUNTERS from COUNTERS_DB and any port such as Ethernet0 for example.
Seems like the frequent updates and notifications that SAMPLE mode is constantly reading from redis, it is unable to successfully send data after the first sample.
Other tables in other DBs work fine for SAMPLE mode as well as other platforms and versions previous to these commits.
Steps to Reproduce
gnmi_cli -client_types=gnmi -a 127.0.0.1:50051 -t COUNTERS_DB -logtostderr -insecure -v 2 -q COUNTERS/Ethernet0 -qt s -streaming_type SAMPLE
Should see that the first sample works fine but no other data is sent from server to client.
Actual Behavior and Expected Behavior
Expected: SAMPLE mode for this query should be able to constantly get accurate data at sample interval
Actual: SAMPLE mode doesn't work after the first data send.
Relevant log output
Output of
show version
,show techsupport
Attach files (if any)
No response
The text was updated successfully, but these errors were encountered: