Skip to content

Conversation

@choppsv1
Copy link
Contributor

@choppsv1 choppsv1 commented Jan 2, 2026

Needed to close mgmtd vtys before we closed our loopback mgmtd client connection which is used by those vtys.

Add a regression test which reproduces the issue before the fix has been applied.

Also fix core detection for topotests

fixes #20305

@frrbot frrbot bot added mgmt FRR Management Infra tests Topotests, make check, etc labels Jan 2, 2026
Copy link
Contributor

@vjardin vjardin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, the core detection fix (**/*.dmp with recursive=True) is a helpful bonus.

Signed-off-by: Christian Hopps <chopps@labn.net>
- Need to vty_terminate() (i.e., vty_close our vtys) before we cleanup the mgmt
client sessions associated with those vtys. vty_terminate() is normally done in
frr_fini(), but we also need to do our client cleanup before calling frr_fini()
as we need the event system still initialized and frr_fini() cleans it up.

Signed-off-by: Christian Hopps <chopps@labn.net>
@choppsv1 choppsv1 force-pushed the chopps/fix-clenaup-abort branch from dff0465 to 3d4aa96 Compare January 2, 2026 17:28
@Jafaral Jafaral merged commit aa677ff into FRRouting:master Jan 3, 2026
18 checks passed
@Jafaral
Copy link
Member

Jafaral commented Jan 3, 2026

@Mergifyio backport stable/10.5

@mergify
Copy link

mergify bot commented Jan 3, 2026

backport stable/10.5

✅ Backports have been created

Details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport master mgmt FRR Management Infra size/L tests Topotests, make check, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mgmtd Core when FRR restart during 10K static config load

3 participants