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

[RouteOrch] Orchagent crashed when add and delete route at same time. #3436

Open
yangyue8 opened this issue Dec 20, 2024 · 0 comments · May be fixed by #3438
Open

[RouteOrch] Orchagent crashed when add and delete route at same time. #3436

yangyue8 opened this issue Dec 20, 2024 · 0 comments · May be fixed by #3438

Comments

@yangyue8
Copy link

yangyue8 commented Dec 20, 2024

Description
The refcount of nexthop is incorrect when delete and add route at the same time, which causes orchagent crashed.

Error Log

2024-11-25.06:00:49.527708|R|SAI_OBJECT_TYPE_ROUTE_ENTRY||
{"dest":"100.1.40.0/24","switch_id":"oid:0x21000000000000","vr":"oid:0x3000000000477"}
2024-11-25.06:00:49.530093|C|SAI_OBJECT_TYPE_ROUTE_ENTRY||
{"dest":"100.1.40.0/24","switch_id":"oid:0x21000000000000","vr":"oid:0x3000000000478"}
|SAI_ROUTE_ENTRY_ATTR_NEXT_HOP_ID=oid:0x4000000000491
2024-11-25.06:00:49.532539|a|SYNCD_INVOKE_DUMP

2024 Nov 25 06:00:49.532717 sonic ERR swss#orchagent: :- removeMplsNextHop: Failed to remove next hop push17/148+100.1.48.1@Ethernet1, rv:-17
2024 Nov 25 06:00:49.532717 sonic ERR swss#orchagent: :- handleSaiRemoveStatus: Encountered failure in remove operation, exiting orchagent, SAI API: SAI_API_NEXT_HOP, status: SAI_STATUS_OBJECT_IN_USE
2024 Nov 25 06:00:49.532753 sonic NOTICE swss#orchagent: :- notifySyncd: sending syncd: SYNCD_INVOKE_DUMP
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

Successfully merging a pull request may close this issue.

1 participant