Skip to content

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Feb 15, 2025

When SRv6 is enabled and an SRv6 locator is specified in the IS-IS configuration, IS-IS may attempt to request SRv6 locator information from zebra before the connection is fully established. If this occurs, the request fails with the following error:

2025/02/14 21:41:20 ISIS: [HR66R-TWQYD][EC 100663302] srv6_manager_get_locator: invalid zclient socket

As a result, IS-IS is unable to obtain the locator information, preventing SRv6 from working.

This PR fixes the issue by ensuring IS-IS requests SRv6 locator information once the connection with zebra is successfully established.


This is an automatic backport of pull request #18178 done by Mergify.

This commit adds a function that iterates over all IS-IS areas and asks
the SRv6 Manager for information about the configured locators.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
(cherry picked from commit 0b76fb3)
When SRv6 is enabled and an SRv6 locator is specified in the IS-IS
configuration, IS-IS may attempt to request SRv6 locator information from
zebra before the connection is fully established. If this occurs, the
request fails with the following error:

```
2025/02/14 21:41:20 ISIS: [HR66R-TWQYD][EC 100663302] srv6_manager_get_locator: invalid zclient socket
````

As a result, IS-IS is unable to obtain the locator information,
preventing SRv6 from working.

This commit fixes the issue by ensuring IS-IS requests SRv6 locator
information once the connection with zebra is successfully established.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
(cherry picked from commit f02dba1)
@cscarpitta
Copy link
Contributor

The code is not in 10.0

@cscarpitta cscarpitta closed this Feb 15, 2025
@Jafaral Jafaral deleted the mergify/bp/stable/10.0/pr-18178 branch February 26, 2025 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant