Skip to content
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

Orchagent Keeps Resetting With SAI_STATUS_ATTR_NOT_IMPLEMENTED_6 Error #21246

Open
wumiaont opened this issue Dec 20, 2024 · 5 comments
Open

Comments

@wumiaont
Copy link
Contributor

Description

With Latest master, it's found orchagent is keep resetting because of the SAI_STATUS_ATTR_NOT_IMPLEMENTED_6 error. This results swss container resets and finally give up restart swss. Issue is found on chassis with Broadcom ASICs.

2024 Dec 20 16:54:35.034880 ixre-egl-board29 ERR syncd0#syncd: [06:00.0] SAI_API_TUNNEL:brcm_sai_create_tunnel:1536 Unknown/unsupported tunnel attribute 27 passed
2024 Dec 20 16:54:35.034910 ixre-egl-board29 ERR syncd0#syncd: [06:00.0] SAI_API_TUNNEL:brcm_sai_create_tunnel:1541 Error processing tunnel attribute failed with error -196614.
2024 Dec 20 16:54:35.034952 ixre-egl-board29 ERR syncd0#syncd: :- sendApiResponse: api SAI_COMMON_API_CREATE failed in syncd mode: SAI_STATUS_ATTR_NOT_IMPLEMENTED_6
2024 Dec 20 16:54:35.034952 ixre-egl-board29 ERR syncd0#syncd: :- processQuadEvent: attr: SAI_TUNNEL_ATTR_TYPE: SAI_TUNNEL_TYPE_IPINIP
2024 Dec 20 16:54:35.035002 ixre-egl-board29 ERR syncd0#syncd: :- processQuadEvent: attr: SAI_TUNNEL_ATTR_OVERLAY_INTERFACE: oid:0x60000000008d9
2024 Dec 20 16:54:35.035038 ixre-egl-board29 ERR syncd0#syncd: :- processQuadEvent: attr: SAI_TUNNEL_ATTR_UNDERLAY_INTERFACE: oid:0x600000000089d
2024 Dec 20 16:54:35.035038 ixre-egl-board29 ERR syncd0#syncd: :- processQuadEvent: attr: SAI_TUNNEL_ATTR_DECAP_ECN_MODE: SAI_TUNNEL_DECAP_ECN_MODE_COPY_FROM_OUTER
2024 Dec 20 16:54:35.035052 ixre-egl-board29 ERR syncd0#syncd: :- processQuadEvent: attr: SAI_TUNNEL_ATTR_DECAP_TTL_MODE: SAI_TUNNEL_TTL_MODE_PIPE_MODEL
2024 Dec 20 16:54:35.035069 ixre-egl-board29 ERR syncd0#syncd: :- processQuadEvent: attr: SAI_TUNNEL_ATTR_DECAP_DSCP_MODE: SAI_TUNNEL_DSCP_MODE_PIPE_MODEL
2024 Dec 20 16:54:35.035069 ixre-egl-board29 ERR syncd0#syncd: :- processQuadEvent: attr: SAI_TUNNEL_ATTR_DECAP_QOS_DSCP_TO_TC_MAP: oid:0x140000000008d2
2024 Dec 20 16:54:35.035108 ixre-egl-board29 ERR swss0#orchagent: :- create: create status: SAI_STATUS_ATTR_NOT_IMPLEMENTED_6
2024 Dec 20 16:54:35.035108 ixre-egl-board29 ERR swss0#orchagent: :- addDecapTunnel: Failed to create tunnel
2024 Dec 20 16:54:35.035177 ixre-egl-board29 ERR swss0#orchagent: :- handleSaiCreateStatus: Encountered failure in create operation, exiting orchagent, SAI API: SAI_API_TUNNEL, status: SAI_STATUS_ATTR_NOT_IMPLEMENTED_6

It's found that this PR introduces the issue. #20650. Looks like this PR introduced new SAI attributes which is not supported by Broadcom ASIC SAI.

Reverting this PR resolves the issue of orchagent.

Output of show version:

master

(paste your output here)
@wumiaont wumiaont changed the title Orchagent Crashes With SAI_STATUS_ATTR_NOT_IMPLEMENTED_6 Error Orchagent Keeps Resetting With SAI_STATUS_ATTR_NOT_IMPLEMENTED_6 Error Dec 20, 2024
@saksarav-nokia
Copy link
Contributor

BCM SAI doesnot support SAI_TUNNEL_ATTR_DECAP_QOS_DSCP_TO_TC_MAP and returns error.

@Gfrom2016
Copy link
Contributor

@developfast Could you help check this?

@developfast
Copy link
Contributor

developfast commented Dec 23, 2024

@saksarav-nokia attribute is supported and tested on broadcom device - https://github.com/sonic-net/sonic-swss/blob/eae729e22864ba31a412efcaa575fc0d61a2b25c/orchagent/tunneldecaporch.cpp#L823

sairedis.rec.2.gz:4328:2024-12-21.03:12:13.783995|c|SAI_OBJECT_TYPE_TUNNEL:oid:0x2a0000000005b4|SAI_TUNNEL_ATTR_TYPE=SAI_TUNNEL_TYPE_IPINIP|SAI_TUNNEL_ATTR_OVERLAY_INTERFACE=oid:0x60000000005b3|SAI_TUNNEL_ATTR_UNDERLAY_INTERFACE=oid:0x600000000000a|SAI_TUNNEL_ATTR_DECAP_ECN_MODE=SAI_TUNNEL_DECAP_ECN_MODE_STANDARD|SAI_TUNNEL_ATTR_DECAP_TTL_MODE=SAI_TUNNEL_TTL_MODE_PIPE_MODEL|SAI_TUNNEL_ATTR_DECAP_DSCP_MODE=SAI_TUNNEL_DSCP_MODE_PIPE_MODEL|SAI_TUNNEL_ATTR_DECAP_QOS_DSCP_TO_TC_MAP=oid:0x140000000005ab

@wumiaont which SKU are you running on and which BCM SAI version?

@saksarav-nokia
Copy link
Contributor

We are testing with BCM SAI 11.2.18.1 for DNX platforms.

@saksarav-nokia
Copy link
Contributor

@saksarav-nokia attribute is supported and tested on broadcom device - https://github.com/sonic-net/sonic-swss/blob/eae729e22864ba31a412efcaa575fc0d61a2b25c/orchagent/tunneldecaporch.cpp#L823

sairedis.rec.2.gz:4328:2024-12-21.03:12:13.783995|c|SAI_OBJECT_TYPE_TUNNEL:oid:0x2a0000000005b4|SAI_TUNNEL_ATTR_TYPE=SAI_TUNNEL_TYPE_IPINIP|SAI_TUNNEL_ATTR_OVERLAY_INTERFACE=oid:0x60000000005b3|SAI_TUNNEL_ATTR_UNDERLAY_INTERFACE=oid:0x600000000000a|SAI_TUNNEL_ATTR_DECAP_ECN_MODE=SAI_TUNNEL_DECAP_ECN_MODE_STANDARD|SAI_TUNNEL_ATTR_DECAP_TTL_MODE=SAI_TUNNEL_TTL_MODE_PIPE_MODEL|SAI_TUNNEL_ATTR_DECAP_DSCP_MODE=SAI_TUNNEL_DSCP_MODE_PIPE_MODEL|SAI_TUNNEL_ATTR_DECAP_QOS_DSCP_TO_TC_MAP=oid:0x140000000005ab

@wumiaont which SKU are you running on and which BCM SAI version?

@developfast , Which BCM SAI version you are testing with?. Is this with XGS or DNX?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants