Bird 3.0-alpha0 crash on start

Francois Espinet francois.espinet at ovhcloud.com
Tue Apr 4 11:24:25 CEST 2023


Hello,

I am currently trying bird out in a route collector scenario. We have around 50 devices all sending around 1.2M routes.

I initially started with bird 2.0.12, but the CPU it stuck at 100%, and the debug logs has a lot of "channel reload burst split (max_feed=-1) ».

So I wanted to try bird 3.0, but I am getting the following logs (using the -d flag), and the router crashes just after starting:

bird: Started
bird: Trying to lock in a bad order
Aborted


Any idea what could be the issue there ?

Here is my config:

timeformat base         iso long;
timeformat log          iso long;
timeformat protocol     iso long;
timeformat route        iso long;

router id X.X.X.X;
hostname "route-collector";

attribute int roa_status1;
attribute int roa_status2;
roa4 table roa4_1;
roa4 table roa4_2;
roa6 table roa6_1;
roa6 table roa6_2;

ipv4 table pb4
ipv6 table pb6;

filter flag_rpki {
   if bgp_path.len = 0 || bgp_path.last = 16276 then accept;

   if roa_check(roa4_1, net, bgp_path.last) = ROA_INVALID then  roa_status1=1;
   if roa_check(roa4_1, net, bgp_path.last) = ROA_UNKNOWN then roa_status1=2;
   if roa_check(roa4_1, net, bgp_path.last) = ROA_VALID then roa_status1=3;

   if roa_check(roa4_2, net, bgp_path.last) = ROA_INVALID then roa_status2=1;
   if roa_check(roa4_2, net, bgp_path.last) = ROA_UNKNOWN then roa_status2=2;
   if roa_check(roa4_2, net, bgp_path.last) = ROA_VALID then roa_status2=3;
   accept;
}

protocol bgp PB {
  local X.X.X.X as 16276;
  neighbor range 0.0.0.0/0 as 16276;
  dynamic name "pb";
  dynamic name digits 2;

  ipv4 {
    export filter {
      reject;
    };
    table pb4;
    import filter flag_rpki;
    add paths rx;
    import table yes;
    next hop keep on;
    rpki reload on;
  };
  ipv6 {
    export filter {
      reject;
    };
    table pb6;
    import filter flag_rpki;
    add paths rx;
    import table yes;
    next hop keep on;
    rpki reload on;
  };
  strict bind on;
}

protocol rpki stack1 {
  roa4 { table roa4_1; };
  roa6 { table roa6_1; };
  remote X.X.X.Z port 323;
  transport tcp;
  refresh 300;
  retry 300;
  expire 600;
}


protocol rpki stack2 {
  roa4 { table roa4_2; };
  roa6 { table roa6_2; };
  remote X.X.X.Y port 323;
  transport tcp;
  refresh 300;
  retry 300;
  expire 600;
}


Best regards,
François
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20230404/57a79476/attachment.htm>


More information about the Bird-users mailing list