Created attachment 246319 [details] net/frr[89]: fix frr-reload finding frr-reload.py
Does frr-reload work on your side ? # grep frr /etc/rc.conf frr_vtysh_boot="YES" frr_enable="yes" # cat /usr/local/etc/frr/frr.conf hostname router ! # service frr start Checking intergrated config... Checking vtysh.conf OK Starting zebra. 2023/11/15 09:45:14 ZEBRA: [NNACN-54BDA][EC 4043309110] Disabling MPLS support (no kernel support) Starting mgmtd. Starting babeld. (etc.) [84569|staticd] done Waiting for children to finish applying config... # vtysh -c "show running-config" Building configuration... Current configuration: ! hostname router ! end # frr-reload Exiting: failed to connect to any daemons. Traceback (most recent call last): File "/usr/local/sbin/frr-reload.py", line 2036, in <module> if not vtysh.is_config_available() or not reload_ok: File "/usr/local/sbin/frr-reload.py", line 94, in is_config_available output = self("configure") File "/usr/local/sbin/frr-reload.py", line 82, in __call__ raise VtyshException( __main__.VtyshException: vtysh returned status 1 for command "configure"
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=84962599a83eff316bcc34cd0665d2ffeb8500b5 commit 84962599a83eff316bcc34cd0665d2ffeb8500b5 Author: R. Christian McDonald <rcm@rcm.sh> AuthorDate: 2023-11-14 21:43:11 +0000 Commit: Olivier Cochard <olivier@FreeBSD.org> CommitDate: 2023-11-16 10:39:30 +0000 net/frr[89]: fix frr-reload finding frr-reload.py PR: 275095 Sponsored by: Rubicon Communications, LLC ("Netgate") net/frr8/Makefile | 9 ++++----- net/frr9/Makefile | 8 ++++---- 2 files changed, 8 insertions(+), 9 deletions(-)
The problem was on my side (old libyang2 version). Thanks for your patch.
(In reply to Olivier Cochard from comment #3) Awesome, thanks for committing it :)