frr icon indicating copy to clipboard operation
frr copied to clipboard

Segment Routing Ti-LFA OSPFD crashing

Open anspectrum opened this issue 5 years ago • 3 comments

Operating System::: is Ubuntu 20.04 64 bit. Using docker community version 19.03.8 FRR version::: Downloaded from Docker Hub is FRRouting (version 7.7-dev_git) The same problem was observed in 7.5 (major release nov 11 2020) as well Kernel version::: Linux OS 5.4.0-66-generic

[x] Did you check if this is a duplicate issue? [x] Did you test it on the latest FRRouting/frr master branch?

ISSUE Description:: I test FRR in Docker containers. After enabling Segment Routing with OSPF and turning on Fast-Reroute Ti-LFA, I can see that backup paths (show ip route, MPLS labels) are available for other nodes. However after couple of minutes we see that there is only interface config left on the interfaces and no more OSPF config is there. Show running config shows that ospfd is not running / crashed.

Please let me know what other information I can provide to help with this issue.

Thanks.

anspectrum avatar Mar 11 '21 06:03 anspectrum

Hello,

We need the exact configuration of your testbed. Can you provide the configuration of FRR routers you used and the topology of the network ? Can you also activate the ospf debug on FRR nodes, at least for Segment Routing with debug ospf sr CLI and report here the log including the crash message.

Thanks

odd22 avatar Mar 22 '21 18:03 odd22

Thanks for the reply odd22. I've changed the machine. Earlier I was using Laptop (Core i7, 8G RAM). Now I am using PC (Core i3, 8G RAM). Both systems have same Linux and installed softwares.

On PC topology is working and no more crashes. For sake of information, here is the topology and configs: 1

Frr-1 Config: Current configuration: ! frr version 7.7-dev_git frr defaults traditional hostname frr-1 no ipv6 forwarding ! interface eth0 ip address 10.1.1.1/30 ip ospf network point-to-point ! interface eth1 ip address 10.1.1.5/30 ip ospf network point-to-point ! interface lo ip address 1.1.1.1/32 ! router ospf ospf router-id 1.1.1.1 fast-reroute ti-lfa network 0.0.0.0/0 area 0 capability opaque segment-routing on segment-routing global-block 1000 1999 segment-routing node-msd 5 segment-routing prefix 1.1.1.1/32 index 1 router-info area ! line vty ! end

Frr-2 Config: Current configuration: ! frr version 7.7-dev_git frr defaults traditional hostname frr-2 no ipv6 forwarding ! interface eth0 ip address 10.1.1.2/30 ip ospf network point-to-point ! interface eth2 ip address 10.1.1.10/30 ip ospf network point-to-point ! interface lo ip address 1.1.1.2/32 ! router ospf ospf router-id 1.1.1.2 fast-reroute ti-lfa network 0.0.0.0/0 area 0 capability opaque segment-routing on segment-routing global-block 1000 1999 segment-routing node-msd 5 segment-routing prefix 1.1.1.2/32 index 2 router-info area ! line vty ! end

Frr-3 Config: Current configuration: ! frr version 7.7-dev_git frr defaults traditional hostname frr-3 no ipv6 forwarding ! interface eth1 ip address 10.1.1.6/30 ip ospf network point-to-point ! interface eth2 ip address 10.1.1.9/30 ip ospf network point-to-point ! interface lo ip address 1.1.1.3/32 ! router ospf ospf router-id 1.1.1.3 fast-reroute ti-lfa network 0.0.0.0/0 area 0 capability opaque segment-routing on segment-routing global-block 1000 1999 segment-routing node-msd 5 segment-routing prefix 1.1.1.3/32 index 3 router-info area ! line vty ! end

And after building successsful backup paths. Routing table looks like this (Frr-1 is shown. The other two are similar)

frr-1(config-if)# do sh ip route Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR, f - OpenFabric, > - selected route, * - FIB route, q - queued, r - rejected, b - backup t - trapped, o - offload failure

O 1.1.1.1/32 [110/0] is directly connected, lo, weight 1, 01:02:34 C>* 1.1.1.1/32 is directly connected, lo, 01:04:46 O>* 1.1.1.2/32 [110/10000] via 10.1.1.2, eth0, label implicit-null, weight 1, backup 0, 00:10:22 b via 10.1.1.6, eth1, label 15019, weight 1 O>* 1.1.1.3/32 [110/10000] via 10.1.1.6, eth1, label implicit-null, weight 1, backup 0, 00:10:22 b via 10.1.1.2, eth0, label 15023, weight 1 O 10.1.1.0/30 [110/10000] is directly connected, eth0, weight 1, 00:13:16 C>* 10.1.1.0/30 is directly connected, eth0, 01:04:36 O 10.1.1.4/30 [110/10000] is directly connected, eth1, weight 1, 01:02:34 C>* 10.1.1.4/30 is directly connected, eth1, 01:04:29 O>* 10.1.1.8/30 [110/20000] via 10.1.1.2, eth0, weight 1, backup 1, 00:10:06

  •                     via 10.1.1.6, eth1, weight 1, backup 0, 00:10:06
    

b via 10.1.1.2, eth0, label 15023, weight 1 b via 10.1.1.6, eth1, label 15019, weight 1

In my opinion this issue maybe closed.

anspectrum avatar Mar 24 '21 07:03 anspectrum

OK. If you success to run TI-LFA on another PC, we could suppose is that your initial testbed which was faulty.

As suggested, I close this issue.

Don't hesitate to re-open it or open a new one if you find another problem.

odd22 avatar Mar 25 '21 09:03 odd22