Project

General

Profile

Actions

Bug #12080

closed

Setting a route-map to redistribute in BGP leads to invalid configuration preventing frr from starting

Added by Marcos M over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
FRR
Target version:
-
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 #2

Updated by Jim Pingle over 4 years ago

  • Status changed from New to Pull Request Review
Actions #3

Updated by Renato Botelho over 4 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Marcos M

PR has been merged. Thanks!

Actions #4

Updated by Danilo Zrenjanin over 4 years ago

  • Status changed from Feedback to Resolved

Tested on the frr 1.1.0_13.

It works fine.

Actions

Also available in: Atom PDF