Actions
Bug #12080
closedSetting a route-map to redistribute in BGP leads to invalid configuration preventing frr from starting
Start date:
06/25/2021
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:
Description
Selecting a route map under Services / FRR BGP // Network Distribution / Redistribute Local results in an invalid frr.conf and prevents frr from starting:
[...] ! address-family ipv4 unicast redistribute kernel route-map [...] address-family ipv6 unicast redistribute kernel route-map [...]
Jun 25 15:12:12 watchfrr 83440 [EC 268435457] bgpd state -> down : read returned EOF Jun 25 15:12:12 watchfrr 83440 [EC 268435457] staticd state -> down : read returned EOF Jun 25 15:12:12 watchfrr 83440 [EC 268435457] zebra state -> down : read returned EOF Jun 25 15:12:12 watchfrr 83440 Terminating on signal Jun 25 15:12:13 watchfrr 1843 watchfrr 7.5.1 starting: vty@0 Jun 25 15:12:13 watchfrr 1843 zebra state -> down : initial connection attempt failed Jun 25 15:12:13 watchfrr 1843 staticd state -> down : initial connection attempt failed Jun 25 15:12:13 watchfrr 1843 bgpd state -> down : initial connection attempt failed Jun 25 15:12:13 watchfrr 1843 Forked background command [pid 1920]: /usr/local/etc/rc.d/frr restart all Jun 25 15:12:13 watchfrr 1843 restart all process 1920 exited with non-zero status 2
Adding a raw config with corrected statements lets frr start:
[...] ! address-family ipv4 unicast redistribute kernel route-map TESTMAP [...] address-family ipv6 unicast redistribute kernel route-map TESTMAP [...]
Jun 25 14:39:37 watchfrr 70190 [EC 268435457] bgpd state -> down : read returned EOF Jun 25 14:39:37 watchfrr 70190 [EC 268435457] staticd state -> down : read returned EOF Jun 25 14:39:37 watchfrr 70190 [EC 268435457] zebra state -> down : read returned EOF Jun 25 14:39:37 watchfrr 70190 Terminating on signal Jun 25 14:39:38 watchfrr 83440 watchfrr 7.5.1 starting: vty@0 Jun 25 14:39:38 watchfrr 83440 zebra state -> up : connect succeeded Jun 25 14:39:38 watchfrr 83440 staticd state -> up : connect succeeded Jun 25 14:39:38 watchfrr 83440 bgpd state -> up : connect succeeded Jun 25 14:39:38 watchfrr 83440 all daemons up, doing startup-complete notify
Actions