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

[BGP] Yang validation failure - libyang: Mandatory node "action" instance does not exist #21589

Open
gpunathilell opened this issue Jan 31, 2025 · 2 comments
Assignees
Labels
BRCM FRR 🚥 Triaged this issue has been triaged

Comments

@gpunathilell
Copy link
Contributor

gpunathilell commented Jan 31, 2025

This is a statistical issue which occurred only once on switch startup, The error log is:

2025 Jan 26 20:48:41.210446 sonic ERR bgp#mgmtd[33]: libyang: Mandatory node "action" instance does not exist. (Data location "/frr-route-map:lib/route-map[name='FROM_BGP_PEER_V6']/entry[sequence='10']".)
2025 Jan 26 20:48:41.219701 sonic ERR bgp#mgmtd[33]: [SG2F2-M78GE] COMMIT_CONFIG request for client 0xf failed, Error: 'YANG error(s):#012 Path: Data location "/frr-route-map:lib/route-map[name='FROM_BGP_PEER_V6']/entry[sequence='10']".#012 Error: Mandatory node "action" instance does not exist.#012'

The action instance is present in the running configuration on the switch, so this log should not be occuring:

Image used: Latest 202411 image
The running configuration which is present on the image regarding FROM_BGP_PEER_V6:

route-map FROM_BGP_PEER_V6 permit 1

on-match next

set ipv6 next-hop prefer-global

exit

!

route-map FROM_BGP_PEER_V6 permit 10

call ALLOW_LIST_DEPLOYMENT_ID_0_V6

on-match next

exit

!

route-map FROM_BGP_PEER_V6 permit 11

match community allow_list_default_community

exit

!

route-map FROM_BGP_PEER_V6 permit 100


exit

!

route-map TO_BGP_PEER_V4 permit 100

call CHECK_IDF_ISOLATION

exit

This issue is unable to be reproduced.
The expectation is that no error logs are present on startup.

sonic_dump_Mellanox-SN2700_20250126_210833.tar.gz

@hasan-brcm
Copy link
Contributor

Please collect techsupport and upload if the issue is reproducible. Otherwise, this defect does not have sufficient info to move forward.

@adyeung adyeung added Triaged this issue has been triaged BRCM labels Feb 6, 2025
@gpunathilell
Copy link
Contributor Author

Techsupport is added to the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BRCM FRR 🚥 Triaged this issue has been triaged
Projects
None yet
Development

No branches or pull requests

4 participants