frr icon indicating copy to clipboard operation
frr copied to clipboard

isisd refresh routes after a random minutes / seconds triggers routes to be temporary unavailable

Open EasyNetDev opened this issue 1 year ago • 0 comments


Describe the bug ISIS daemon triggers routes to be temporary unavailable in system and traffic is dropped for some destinations.

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

To Reproduce

Configure 2 routers with these setups: R01 config:

interface lo
 description Loopback MPLS / BGP VPNv4 + VPNv6
 ip address 10.100.1.1/32
 ip address 89.x.x.0/32
 ip ospf area 0
 ip ospf passive
 ip router isis EasyNet
 ipv6 address 2a00:ece1:2::1:1/128
 ipv6 address fc00:0:0:1::1/128
 ipv6 ospf6 area 0
 ipv6 router isis EasyNet
 isis passive
 mpls enable
 no link-detect
exit
!
interface lan0.3001
 description R02 / MPLS-02
 ip address 10.100.0.5/30
 ipv6 address fc00:10:100::5/126
 ip ospf area 0
 ip ospf bfd
 ip ospf mpls ldp-sync
 ip ospf network point-to-point
 ip router isis EasyNet
 ipv6 ospf6 area 0
 ipv6 ospf6 bfd
 ipv6 ospf6 network point-to-point
 ipv6 router isis EasyNet
 isis bfd
 isis fast-reroute lfa
 isis metric 0
 mpls enable
exit
!
mpls ldp
 router-id 10.100.1.1
 dual-stack cisco-interop
 neighbor 10.100.2.1 password XXXXXXXX
 neighbor 10.100.13.1 password XXXXXXXX
 !
 address-family ipv4
  discovery transport-address 10.100.1.1
  !
  interface gre1301
  exit
  !
  interface lan0.3001
  exit
  !
 exit-address-family
 !
 address-family ipv6
  discovery transport-address fc00:0:0:1::1
  !
  interface gre1301
  exit
  !
  interface lan0.3001
  exit
  !
  interface wan0.3000
  exit
  !
 exit-address-family
 !
exit
!
router isis EasyNet
 net 49.0001.0101.9000.0001.00
 fast-reroute load-sharing disable level-1
 fast-reroute lfa tiebreaker lowest-backup-metric index 1 level-1
 fast-reroute load-sharing disable level-2
 mpls ldp-sync
exit
!
router isis EasyNet-A2
 net 49.0002.0101.9000.0001.00
 lsp-mtu 1400
exit

R02 config:

interface lo
 description Loopback MPLS / BGP VPNv4 + VPNv6
 ip address 10.100.2.1/32
 ip address 89.x.x.2/32
 ip ospf passive
 ip router isis EasyNet
 ipv6 address 2a00:X:X::2:1/128
 ipv6 address fc00:0:0:2::1/128
 ipv6 ospf6 area 0
 ipv6 router isis EasyNet
 isis passive
 mpls enable
 no link-detect
exit

interface lan0.3001
 description R01 / MPLS-02
 ip address 10.100.0.6/30
 ipv6 address fc00:10:100::6/126
 ip ospf area 0
 ip ospf bfd
 ip ospf mpls ldp-sync
 ip ospf network point-to-point
 ip router isis EasyNet
 ipv6 ospf6 area 0
 ipv6 ospf6 bfd
 ipv6 ospf6 network point-to-point
 ipv6 router isis EasyNet
 isis bfd
 isis fast-reroute lfa
 isis metric 0
 mpls enable
exit
!
mpls ldp
 router-id 10.100.2.1
 dual-stack cisco-interop
 neighbor 10.100.1.1 password XXXXXXXX
 !
 address-family ipv4
  discovery transport-address 10.100.2.1
  !
  interface lan0.3001
  exit
  !
 exit-address-family
 !
 address-family ipv6
  discovery transport-address fc00:0:0:2::1
  !
  interface lan0.3001
  exit
  !
 exit-address-family
 !
exit
!
router isis EasyNet
 net 49.0001.0101.9000.0002.00
 fast-reroute load-sharing disable level-1
 fast-reroute lfa tiebreaker lowest-backup-metric index 1 level-1
 fast-reroute load-sharing disable level-2
exit
!
router isis EasyNet-A2
 net 49.0002.0101.9000.0002.00
 lsp-mtu 1400
exit

Expected behavior The traffic shouldn't be affected.

The behavior is like this:

Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=42ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Request timed out.
Request timed out.
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=40ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62
Reply from 89.x.x.2: bytes=32 time=41ms TTL=62

Before refresh:

Every 1.0s: vtysh -c "sh ip route isis"                                                                                                            R01: Fri Jan 19 23:59:19 2024

vtysh_pam: Failed in account validation: Permission denied(6)Codes: K - kernel route, C - connected, L - local, 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, t - Table-Direct,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

I   10.100.0.0/30 [115/0] via 10.100.0.6, lan0.3001, weight 1, 00:06:25
I   10.100.0.4/30 [115/0] via 10.100.0.6, lan0.3001 inactive, weight 1, 00:06:25
I>* 10.100.2.1/32 [115/10] via 10.100.0.6, lan0.3001, label implicit-null, weight 1, 00:06:25
I>* 89.x.x.2/32 [115/10] via 10.100.0.6, lan0.3001, label implicit-null, weight 1, 00:06:25

After refresh:

Every 1.0s: vtysh -c "sh ip route isis"                                                                                                            R01: Fri Jan 19 23:59:30 2024

vtysh_pam: Failed in account validation: Permission denied(6)Codes: K - kernel route, C - connected, L - local, 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, t - Table-Direct,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

I   10.100.0.0/30 [115/0] via 10.100.0.6, lan0.3001, weight 1, 00:00:11
I   10.100.0.4/30 [115/0] via 10.100.0.6, lan0.3001 inactive, weight 1, 00:00:11
I>* 10.100.2.1/32 [115/10] via 10.100.0.6, lan0.3001, label implicit-null, weight 1, 00:00:11
I>* 89.x.x.2/32 [115/10] via 10.100.0.6, lan0.3001, label implicit-null, weight 1, 00:00:11

Logs: R01 logs:

2024-01-19T23:59:17.241106+02:00 R01 isisd[2120674]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L2 LAN IIH on lan0.3001, length 9213
2024-01-19T23:59:18.959556+02:00 R01 isisd[2120674]: [G43Y1-85255] ISIS-Adj (EasyNet): Sending P2P IIH on gre1301, length 1416
2024-01-19T23:59:18.980572+02:00 R01 isisd[2120674]: [H3GFN-BXSRF] ISIS-Adj (EasyNet): Rcvd L1 LAN IIH on lan0.3001, cirType L1L2, cirID 17
2024-01-19T23:59:18.980735+02:00 R01 isisd[2120674]: [SCM84-DFK6R] ISIS-Adj (EasyNet): Rcvd L1 LAN IIH from ce2c.116d.2a4d on lan0.3001, cirType L1L2, cirID 17, length 9213
2024-01-19T23:59:19.017918+02:00 R01 isisd[2120674]: [H3GFN-BXSRF] ISIS-Adj (EasyNet): Rcvd L2 LAN IIH on lan0.3001, cirType L1L2, cirID 17
2024-01-19T23:59:19.018082+02:00 R01 isisd[2120674]: [SCM84-DFK6R] ISIS-Adj (EasyNet): Rcvd L2 LAN IIH from ce2c.116d.2a4d on lan0.3001, cirType L1L2, cirID 17, length 9213
2024-01-19T23:59:19.053802+02:00 R01 isisd[2120674]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L1 LAN IIH on lan0.3001, length 9213
2024-01-19T23:59:20.015354+02:00 R01 isisd[2120674]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L2 LAN IIH on lan0.3001, length 9213
2024-01-19T23:59:20.181760+02:00 R01 isisd[2120674]: [H62XJ-ECWS5] ISIS-Upd (EasyNet): Rcvd L2 LSP on lan0.3001, cirType L1L2, cirID 17
2024-01-19T23:59:20.181868+02:00 R01 isisd[2120674]: [R78GD-MAYNF] ISIS-Upd (EasyNet): Rcvd L2 LSP 0101.9000.0002.39-00, seq 0x00000025, cksum 0x8233, lifetime 1166s, len 51, on lan0.3001
2024-01-19T23:59:20.181937+02:00 R01 isisd[2120674]: [SFWMK-K9QH2] ISIS-SPF (EasyNet) L2 SPF schedule called, lastrun 385 sec ago Caller: lsp_update ../isisd/isis_lsp.c:582
2024-01-19T23:59:20.182022+02:00 R01 isisd[2120674]: [KD9RA-6JFGA] ISIS-SPF (EasyNet) L2 SPF scheduled 0 sec from now
2024-01-19T23:59:20.182083+02:00 R01 isisd[2120674]: [ZQG46-SHQ3B] Flooding LSP 0101.9000.0002.39-00 except on lan0.3001 (From lsp_flood_or_update ../isisd/isis_pdu.c:841)
2024-01-19T23:59:20.182601+02:00 R01 isisd[2120674]: [N48RF-Z09QJ] ISIS-SPF (EasyNet) L2 SPF needed, periodic SPF
2024-01-19T23:59:21.743875+02:00 R01 isisd[2120674]: [G43Y1-85255] ISIS-Adj (EasyNet): Sending P2P IIH on gre1301, length 1416
2024-01-19T23:59:21.812858+02:00 R01 isisd[2120674]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L1 LAN IIH on lan0.3001, length 9213
2024-01-19T23:59:21.914429+02:00 R01 isisd[2120674]: [H3GFN-BXSRF] ISIS-Adj (EasyNet): Rcvd L1 LAN IIH on lan0.3001, cirType L1L2, cirID 17
2024-01-19T23:59:21.914566+02:00 R01 isisd[2120674]: [SCM84-DFK6R] ISIS-Adj (EasyNet): Rcvd L1 LAN IIH from ce2c.116d.2a4d on lan0.3001, cirType L1L2, cirID 17, length 9213
2024-01-19T23:59:21.993739+02:00 R01 isisd[2120674]: [H3GFN-BXSRF] ISIS-Adj (EasyNet): Rcvd L2 LAN IIH on lan0.3001, cirType L1L2, cirID 17
2024-01-19T23:59:21.993864+02:00 R01 isisd[2120674]: [SCM84-DFK6R] ISIS-Adj (EasyNet): Rcvd L2 LAN IIH from ce2c.116d.2a4d on lan0.3001, cirType L1L2, cirID 17, length 9213
2024-01-19T23:59:22.903155+02:00 R01 isisd[2120674]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L2 LAN IIH on lan0.3001, length 9213
2024-01-19T23:59:24.538545+02:00 R01 isisd[2120674]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L1 LAN IIH on lan0.3001, length 9213
2024-01-19T23:59:24.625743+02:00 R01 isisd[2120674]: [H3GFN-BXSRF] ISIS-Adj (EasyNet): Rcvd L1 LAN IIH on lan0.3001, cirType L1L2, cirID 17

R02 logs:

2024-01-19T23:59:17.241019+02:00 R02 isisd[50336]: [H3GFN-BXSRF] ISIS-Adj (EasyNet): Rcvd L2 LAN IIH on lan0.3001, cirType L1L2, cirID 57
2024-01-19T23:59:17.241213+02:00 R02 isisd[50336]: [SCM84-DFK6R] ISIS-Adj (EasyNet): Rcvd L2 LAN IIH from 7610.45f5.319b on lan0.3001, cirType L1L2, cirID 57, length 9213
2024-01-19T23:59:17.739960+02:00 R02 isisd[50336]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L2 LAN IIH on wan0.3000, length 9213
2024-01-19T23:59:18.389274+02:00 R02 isisd[50336]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L1 LAN IIH on wan0.3000, length 9213
2024-01-19T23:59:18.979785+02:00 R02 isisd[50336]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L1 LAN IIH on lan0.3001, length 9213
2024-01-19T23:59:19.017052+02:00 R02 isisd[50336]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L2 LAN IIH on lan0.3001, length 9213
2024-01-19T23:59:19.053762+02:00 R02 isisd[50336]: [H3GFN-BXSRF] ISIS-Adj (EasyNet): Rcvd L1 LAN IIH on lan0.3001, cirType L1L2, cirID 57
2024-01-19T23:59:19.053920+02:00 R02 isisd[50336]: [SCM84-DFK6R] ISIS-Adj (EasyNet): Rcvd L1 LAN IIH from 7610.45f5.319b on lan0.3001, cirType L1L2, cirID 57, length 9213
2024-01-19T23:59:20.015240+02:00 R02 isisd[50336]: [H3GFN-BXSRF] ISIS-Adj (EasyNet): Rcvd L2 LAN IIH on lan0.3001, cirType L1L2, cirID 57
2024-01-19T23:59:20.015460+02:00 R02 isisd[50336]: [SCM84-DFK6R] ISIS-Adj (EasyNet): Rcvd L2 LAN IIH from 7610.45f5.319b on lan0.3001, cirType L1L2, cirID 57, length 9213
2024-01-19T23:59:20.181076+02:00 R02 isisd[50336]: [QE6VF-BE161] ISIS-Upd (EasyNet): Refreshed L2 Pseudo LSP 0101.9000.0002.39-00, len 51, seq 0x00000025, cksum 0x8233, lifetime 1166s, refresh 862s
2024-01-19T23:59:20.182017+02:00 R02 isisd[50336]: [Z9FW1-T3SB5] ISIS-Upd (EasyNet): Sending L2 LSP 0101.9000.0002.39-00, seq 0x00000025, cksum 0x8233, lifetime 1166s on lan0.3001
2024-01-19T23:59:20.686967+02:00 R02 isisd[50336]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L2 LAN IIH on wan0.3000, length 9213
2024-01-19T23:59:21.130142+02:00 R02 isisd[50336]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L1 LAN IIH on wan0.3000, length 9213
2024-01-19T23:59:21.812660+02:00 R02 isisd[50336]: [H3GFN-BXSRF] ISIS-Adj (EasyNet): Rcvd L1 LAN IIH on lan0.3001, cirType L1L2, cirID 57
2024-01-19T23:59:21.812815+02:00 R02 isisd[50336]: [SCM84-DFK6R] ISIS-Adj (EasyNet): Rcvd L1 LAN IIH from 7610.45f5.319b on lan0.3001, cirType L1L2, cirID 57, length 9213
2024-01-19T23:59:21.913774+02:00 R02 isisd[50336]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L1 LAN IIH on lan0.3001, length 9213
2024-01-19T23:59:21.993074+02:00 R02 isisd[50336]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L2 LAN IIH on lan0.3001, length 9213
2024-01-19T23:59:22.902939+02:00 R02 isisd[50336]: [H3GFN-BXSRF] ISIS-Adj (EasyNet): Rcvd L2 LAN IIH on lan0.3001, cirType L1L2, cirID 57
2024-01-19T23:59:22.903077+02:00 R02 isisd[50336]: [SCM84-DFK6R] ISIS-Adj (EasyNet): Rcvd L2 LAN IIH from 7610.45f5.319b on lan0.3001, cirType L1L2, cirID 57, length 9213
2024-01-19T23:59:23.642575+02:00 R02 isisd[50336]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L2 LAN IIH on wan0.3000, length 9213
2024-01-19T23:59:23.905424+02:00 R02 isisd[50336]: [SKACH-0THYP] ISIS-Adj (EasyNet): Sending L1 LAN IIH on wan0.3000, length 9213

Screenshots

Versions

  • OS Version: Debian 13 Trixie
  • Kernel: 6.5.3-1 / 6.5.13-1
  • FRR Version: 9.2-dev

Additional context FRR is 9.2 git version

commit 94178edac3b36c6b2ebc09173a589b14419cf04e (HEAD -> master, origin/master, origin/HEAD)
Merge: 5eb2ddaa1 a197107db
Author: Donatas Abraitis <[email protected]>
Date:   Thu Jan 18 09:18:04 2024 +0200

EasyNetDev avatar Jan 19 '24 22:01 EasyNetDev