-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Missing FEC port statistics on management port cause port rate script to fail #10850
Closed
Comments
Known issue with BRCM SAI. |
We have already started a case for this with BRCM SAI team. Initial reply from BRCM SAI team is that this is not supported on TH3 devices. but looks to be a generic issue for all 10G ports which FEC does not apply perhaps... Will update once confirmed and plan course of action for this. |
This was referenced May 28, 2022
jimmyzhai
added a commit
to sonic-net/sonic-swss
that referenced
this issue
Jun 3, 2022
What I did Fix issue sonic-net/sonic-buildimage#10850 partially by adding sanity check in port_rates.lua. If the must-have counters of one port are not able to get, skip its rate computation. Why I did it It avoids port_rates.lua execution exits abnormally.
jimmyzhai
added a commit
to sonic-net/sonic-sairedis
that referenced
this issue
Jun 9, 2022
Fix sonic-net/sonic-buildimage#10850. A fact is there might be different port types on asic, then different port stats capabilities. Instead of using a cached supported port counter ID list for all ports, it gets supported port counter list per port.
yxieca
pushed a commit
to sonic-net/sonic-sairedis
that referenced
this issue
Jun 9, 2022
Fix sonic-net/sonic-buildimage#10850. A fact is there might be different port types on asic, then different port stats capabilities. Instead of using a cached supported port counter ID list for all ports, it gets supported port counter list per port.
lukasstockner
added a commit
to genesiscloud/sonic-buildimage
that referenced
this issue
Jun 13, 2022
yxieca
pushed a commit
to sonic-net/sonic-swss
that referenced
this issue
Jun 15, 2022
What I did Fix issue sonic-net/sonic-buildimage#10850 partially by adding sanity check in port_rates.lua. If the must-have counters of one port are not able to get, skip its rate computation. Why I did it It avoids port_rates.lua execution exits abnormally.
preetham-singh
pushed a commit
to preetham-singh/sonic-swss
that referenced
this issue
Aug 6, 2022
What I did Fix issue sonic-net/sonic-buildimage#10850 partially by adding sanity check in port_rates.lua. If the must-have counters of one port are not able to get, skip its rate computation. Why I did it It avoids port_rates.lua execution exits abnormally.
pettershao-ragilenetworks
pushed a commit
to pettershao-ragilenetworks/sonic-sairedis
that referenced
this issue
Nov 18, 2022
Fix sonic-net/sonic-buildimage#10850. A fact is there might be different port types on asic, then different port stats capabilities. Instead of using a cached supported port counter ID list for all ports, it gets supported port counter list per port.
skbarista
pushed a commit
to skbarista/sonic-sairedis
that referenced
this issue
Dec 2, 2022
Fix sonic-net/sonic-buildimage#10850. A fact is there might be different port types on asic, then different port stats capabilities. Instead of using a cached supported port counter ID list for all ports, it gets supported port counter list per port.
lukasstockner
pushed a commit
to genesiscloud/sonic-swss
that referenced
this issue
Mar 31, 2023
What I did Fix issue sonic-net/sonic-buildimage#10850 partially by adding sanity check in port_rates.lua. If the must-have counters of one port are not able to get, skip its rate computation. Why I did it It avoids port_rates.lua execution exits abnormally.
lukasstockner
pushed a commit
to genesiscloud/sonic-sairedis
that referenced
this issue
Mar 31, 2023
Fix sonic-net/sonic-buildimage#10850. A fact is there might be different port types on asic, then different port stats capabilities. Instead of using a cached supported port counter ID list for all ports, it gets supported port counter list per port.
lukasstockner
added a commit
to genesiscloud/sonic-buildimage
that referenced
this issue
Mar 31, 2023
lukasstockner
pushed a commit
to genesiscloud/sonic-sairedis
that referenced
this issue
Mar 31, 2023
Fix sonic-net/sonic-buildimage#10850. A fact is there might be different port types on asic, then different port stats capabilities. Instead of using a cached supported port counter ID list for all ports, it gets supported port counter list per port.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When running a recent 202111 image on a Celestica Seastone2, the syslog gets spammed with errors related to FEC counters and Redis failures, and
show interface counters
doesn't show port data rates on ports past Ethernet63.Steps to reproduce the issue:
Describe the results you received:
When SONiC tries to query the port counters on the front-panel 10G management port, it fails to get FEC counters (presumably the mgmt port does not support FEC) and then fails to collect any info.
Therefore, the relevant DB entry stays mostly empty:
This in turn causes
port_rates.lua
to fail, since it expects the entry to contain various counters.Relevant logs:
Describe the results you expected:
SONiC should just ignore the unsupported FEC counters, or at least skip processing of port rates on the port with missing info instead of failing for all ports.
Output of
show version
:f71c57e581b1c3610a83b29892b60e1b23ed251f
Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: