-
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
[T2] Continuous neighorch INFO logs emitted in orchagent #20214
Comments
@arlakshm mentioned that these logs are also seen on 202205 and are likely benign. |
arista-nwolfe
changed the title
[T2][202405] Continuous neighorch INFO logs emitted in orchagent
[T2] Continuous neighorch INFO logs emitted in orchagent
Sep 10, 2024
MSFT SONiC team will take a look. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seen on
202405
.If we turn on INFO log level in orchagent:
swssloglevel -n 0 -l INFO -c orchagent
swssloglevel -n 1 -l INFO -c orchagent
We see these logs continuously emitted:
neighorch.cpp
checks that the given port exists inportsorch
:portsorch->getPort
just checks that the given port name exists inm_portList
:I added tracing into
portsorch
at every place thatm_portList
is modified and I saw that ports local to the orchagent instance aren't added with the<LC>|<asic>|
prefix in the name.For example focusing on
cmp214-5|asic0|Ethernet72
.This port belongs to swss0 and we see it only added as
Ethernet72
:While a remote swss instance (swss1) sees it added as
cmp214-5|asic0|Ethernet72
Hence why only
swss0
emits this error:So the issue is one of the following:
-We should be adding the system port name with the prefix
<LC>|<asic>|
tom_portList
inportsorch
for local portsOR
-We should translate the system port name to strip the prefix
<LC>|<asic>|
before queryingm_portList
inportsorch
for local ports.The text was updated successfully, but these errors were encountered: