Hello Olivier,
I tried version 1.992 and besides the startup script for staticd issue
(FreeBSD bugzilla bug 276333) I had two other issues:

1. When restarting the service with the patched startup script (as per the
patch from bug 276333) the mgmtd dawmon doesn’t start (below is the
output). Since FRR 9.0 a centralized management daemon (mgmtd) is
introduced and staticd configuration is migrated to mgmtd. Is there a way
fir workaround?

Output from “service frr restart”

/# service frr restart Checking mgmtd.conf 2024/01/28 17:42:30 MGMTD:
[YKHB9-ND03T] FE-client: msg_conn_send_msg: can't send message on closed
connection 2024/01/28 17:42:30 MGMTD: lib/vty.c:1684: vty_new(): assertion
(new->mgmt_session_id != 0) failed, extra info: Failed to create client
session for VTY MGMTD: Received signal 6 at 1706463750 (si_addr 0x0);
aborting... MGMTD: ?                                     821970b89
8205f0940 /usr/local/lib/libfrr.so.0 (mapped at 0x82183b000) MGMTD:
?                                     8219a4631        8205f0a70
/usr/local/lib/libfrr.so.0 (mapped at 0x82183b000) MGMTD:
?                                     825820f84        8205f0ad0
/lib/libthr.so.3 (mapped at 0x825807000) MGMTD:
?                                     82582052b        8205f0e90
/lib/libthr.so.3 (mapped at 0x825807000) MGMTD:     ---- signal ---- MGMTD:
?                                     8208162d3        8205f0f00 MGMTD:
---- signal ---- MGMTD: ?
826c9d13a        8205f1358 /lib/libc.so.7 (mapped at 0x826b77000) MGMTD:
?                                     826c19204        8205f1360
/lib/libc.so.7 (mapped at 0x826b77000) MGMTD:
?                                     826cc34dc        8205f1390
/lib/libc.so.7 (mapped at 0x826b77000) MGMTD:
?                                     8219d329b        8205f13d0
/usr/local/lib/libfrr.so.0 (mapped at 0x82183b000) MGMTD:
?                                     8219bb1aa        8205f14d0
/usr/local/lib/libfrr.so.0 (mapped at 0x82183b000) MGMTD:
?                                     8219bc4c0        8205f14f0
/usr/local/lib/libfrr.so.0 (mapped at 0x82183b000) MGMTD:
?                                     8219670ec        8205f1530
/usr/local/lib/libfrr.so.0 (mapped at 0x82183b000) MGMTD:
?                                     821966f83        8205f1970
/usr/local/lib/libfrr.so.0 (mapped at 0x82183b000) MGMTD:
?                                        217d76        8205f1a10
/usr/local/sbin/mgmtd (mapped at 0x200000) MGMTD:
?                                     826befd26        8205f1a40
/lib/libc.so.7 (mapped at 0x826b77000) MGMTD:
?                                        217be0        8205f1a90
/usr/local/sbin/mgmtd (mapped at 0x200000) MGMTD: no thread information
available core_handler: showing active allocations in memory group libfrr
core_handler: memstats:  Temporary memory              :      1 *
30 core_handler: memstats:  Buffer                        :      2
*         24 core_handler: memstats:  Host config                   :
6 * (variably sized) core_handler: memstats:  Command Tokens
:   1640 *         72 core_handler: memstats:  Command Token
Text            :   1223 * (variably sized) core_handler: memstats:
Command Token Help            :   1223 * (variably sized) core_handler:
memstats:  Command Argument Name         :    452 * (variably sized)
core_handler: memstats:  Graph                         :     13 *
8 core_handler: memstats:  Graph Node                    :   1890 *
32 core_handler: memstats:  Hash                          :     36 *
(variably sized) core_handler: memstats:  Hash Bucket
:    311 *         32 core_handler: memstats:  Hash
Index                    :     18 * (variably sized) core_handler:
memstats:  Link List                     :      5 *         40
core_handler: memstats:  Link Node                     :     26 *
24 core_handler: memstats:  frontend client               :      1 *
352 core_handler: memstats:  frontend client name          :      1
*         16 core_handler: memstats:  Northbound Node               :
193 *       1192 core_handler: memstats:  Northbound Configuration
:      3 *         24 core_handler: memstats:
Stream                        :      1 *       9032 core_handler:
memstats:  Thread                        :      4 *        128
core_handler: memstats:  Thread master                 :      4 * (variably
sized) core_handler: memstats:  Thread Poll Info              :      2 *
1876320 core_handler: memstats:  Thread stats                  :      3
*         96 core_handler: memstats:  Typed-hash bucket             :
1 *         16 core_handler: memstats:  Vector                        :
3807 *         24 core_handler: memstats:  Vector index
:   3807 * (variably sized) core_handler: memstats:
VRF                           :      1 *        216 core_handler:
memstats:  VTY                           :      2 * (variably sized)
core_handler: memstats:  YANG module                   :      6 *
48 core_handler: showing active allocations in memory group logging
subsystem core_handler: showing active allocations in memory group mgmt
core_handler: memstats:  xpath regex                   :      3 * (variably
sized) Abort trap FAILED [lyubd@verila]/# service frr status zebra is
running as pid 69615. ospfd is running as pid 75731. ospf6d is running as
pid 80058. bgpd is running as pid 85753. staticd is running as pid 89685.
mgmtd is not running. Booting for integrated-vtysh-config... [77931|zebra]
sending configuration [79581|ospfd] sending configuration [80087|ospf6d]
sending configuration [80251|bgpd] sending configuration [87623|staticd]
sending configuration Waiting for children to finish applying config...
[87623|staticd] done This command is deprecated, because it is not
VRF-aware. Please, use "no ip ospf passive" on an interface instead. This
command is deprecated, because it is not VRF-aware. Please, use "no ip ospf
passive" on an interface instead. This command is deprecated, because it is
not VRF-aware. Please, use "no ip ospf passive" on an interface instead.
[80087|ospf6d] done [79581|ospfd] done [77931|zebra] done [80251|bgpd] done

2. In the configuration of route maps it is not possible to add prefix
lists because of
https://github.com/FRRouting/frr/issues/14375
I saw that the libyang version in 1.992 is 2.1.111
Have you tested with libyand 2.1.80?
Can you please provide an updated version with correctly patched frr
service script and with libyang 2.1.80 if you find appropriate?

One more question, is it possible to have the option “service frr reload”?

Regards,
Lyubomir Yotov
_______________________________________________
Bsdrp-users mailing list
Bsdrp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bsdrp-users

Reply via email to