Open stepanblyschak opened 3 years ago
This is likely a duplicate of https://github.com/Azure/sonic-buildimage/issues/7933
@vaibhavhd this is different issue from what I can see.
@qbdwlr, can you look into this issue? We have to first check on the capability for CRM_MPLS_INSEG (Introduced by https://github.com/Azure/sonic-swss/pull/1686). @smaheshm for visibility.
@stepanblyschak @prsunny This issue is resolved by https://github.com/Azure/sonic-sairedis/pull/824 The sonic-sairedis submodule in sonic-buildimage was not updated until https://github.com/Azure/sonic-buildimage/pull/8043 which is after the build date of the version in this issue.
I still see this issue on latest master, hash c89b62e4daaad76daaa26bb0f87bbbf8432a33ae.
Jul 20 08:06:04.617027 sonic ERR swss#orchagent: :- getResAvailableCounters: Failed to get availability for object_type 63 , rv:-15
SONiC Software Version: SONiC.master.164-c89b62e4d_Internal
Distribution: Debian 10.10
Kernel: 4.19.0-12-2-amd64
Build commit: c89b62e4d
Build date: Mon Jul 19 11:52:39 UTC 2021
Built by: sw-r2d2-bot@r-build-sonic02-006
Platform: x86_64-mlnx_msn2700-r0
HwSKU: Mellanox-SN2700
ASIC: mellanox
ASIC Count: 1
Serial Number: MT2020T04244
Model Number: MSN2700-CS2FO
Hardware Revision: A2
Uptime: 08:31:00 up 31 min, 1 user, load average: 3.02, 2.94, 2.47
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-dhcp-relay latest 686785c81783 420MB
docker-syncd-mlnx latest bc04841bed8d 963MB
docker-syncd-mlnx master.164-c89b62e4d_Internal bc04841bed8d 963MB
docker-sflow latest f994144320ad 425MB
docker-sflow master.164-c89b62e4d_Internal f994144320ad 425MB
docker-snmp latest a18c80c5db8e 454MB
docker-snmp master.164-c89b62e4d_Internal a18c80c5db8e 454MB
docker-teamd latest 159cee436dec 424MB
docker-teamd master.164-c89b62e4d_Internal 159cee436dec 424MB
docker-platform-monitor latest ecd27e1ccb45 740MB
docker-platform-monitor master.164-c89b62e4d_Internal ecd27e1ccb45 740MB
docker-router-advertiser latest 110db9199230 413MB
docker-router-advertiser master.164-c89b62e4d_Internal 110db9199230 413MB
docker-lldp latest b77501eeae3b 453MB
docker-lldp master.164-c89b62e4d_Internal b77501eeae3b 453MB
docker-database latest 85ba1a0f1aa6 413MB
docker-database master.164-c89b62e4d_Internal 85ba1a0f1aa6 413MB
docker-sonic-mgmt-framework latest 8a299b9c6c6f 569MB
docker-sonic-mgmt-framework master.164-c89b62e4d_Internal 8a299b9c6c6f 569MB
docker-orchagent latest 665ac0634b1d 443MB
docker-orchagent master.164-c89b62e4d_Internal 665ac0634b1d 443MB
docker-nat latest 1289ecb19cb8 427MB
docker-nat master.164-c89b62e4d_Internal 1289ecb19cb8 427MB
docker-sonic-telemetry latest c6af4f8a5aa6 501MB
docker-sonic-telemetry master.164-c89b62e4d_Internal c6af4f8a5aa6 501MB
docker-macsec latest 2134fe8f7df9 428MB
docker-macsec master.164-c89b62e4d_Internal 2134fe8f7df9 428MB
docker-fpm-frr latest dcb4e521e750 443MB
docker-fpm-frr master.164-c89b62e4d_Internal dcb4e521e750 443MB
docker-sonic-restapi latest 2c135713854f 355MB
docker-sonic-restapi master.164-c89b62e4d_Internal 2c135713854f 355MB
@Junchao-Mellanox I didn't realize that Mellanox platform was being tested here... I mistakenly assumed that this was seen testing VS platform. Clearly Mellanox does not have any support for this type of resource in its SAI implementation and this error will continue until it does. It is not clear why this resource is being polled in the absence of any MPLS configuration. I will submit a PR to check for NOT_IMPLEMENTED/NOT_SUPPORTED return status (presumably Mellanox SAI will return one of these from sai_object_type_get_availability() for this resource type) and output a more appropriate log message for this status.
Description
Errors in logs querying for SAI_OBJECT_TYPE_INSEG_ENTRY found on switch that does not support them.
Steps to reproduce the issue:
show log -f | grep ERR
Describe the results you received:
rv:-5 means SAI_STATUS_INVALID_PARAMETER - this is our SAI issue which will be resolved but in any case the current code does not check for not supported/not implemented values:
https://github.com/Azure/sonic-swss/blob/master/orchagent/crmorch.cpp#L557
Describe the results you expected:
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
sonic_dump_r-ocelot-02_20210701_151705.tar.gz