[FROG] FRR 6.0.2 lost routes after Ubuntu 18.04.2 LTS update/upgrade

Sim simvirus at gmail.com
Wed Feb 20 06:44:02 EST 2019


After apt-get upgrade / upgrade FRR lost all routes.
Reboot or restart the server is the solution to resolve the issue.
I'm new with FRR, but this is not happened with Quagga in the last 10/15 years.

Is it a "FRR issue" or about Ubuntu 18.04 LTS version?

# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libnss-systemd libpam-systemd libpci3 libsystemd0 libudev1 pciutils
systemd systemd-sysv udev
9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,765 kB of archives.
After this operation, 56.3 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64
libnss-systemd amd64 237-3ubuntu10.13 [105 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64
libsystemd0 amd64 237-3ubuntu10.13 [205 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64
libpam-systemd amd64 237-3ubuntu10.13 [108 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64
systemd amd64 237-3ubuntu10.13 [2,899 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 udev
amd64 237-3ubuntu10.13 [1,101 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64
libudev1 amd64 237-3ubuntu10.13 [54.1 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64
systemd-sysv amd64 237-3ubuntu10.13 [12.0 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64
pciutils amd64 1:3.5.2-1ubuntu1.1 [257 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64
libpci3 amd64 1:3.5.2-1ubuntu1.1 [24.1 kB]
Fetched 4,765 kB in 8s (575 kB/s)
(Reading database ... 67479 files and directories currently installed.)
Preparing to unpack .../libnss-systemd_237-3ubuntu10.13_amd64.deb ...
Unpacking libnss-systemd:amd64 (237-3ubuntu10.13) over (237-3ubuntu10.12) ...
Preparing to unpack .../libsystemd0_237-3ubuntu10.13_amd64.deb ...
Unpacking libsystemd0:amd64 (237-3ubuntu10.13) over (237-3ubuntu10.12) ...
Setting up libsystemd0:amd64 (237-3ubuntu10.13) ...
(Reading database ... 67479 files and directories currently installed.)
Preparing to unpack .../libpam-systemd_237-3ubuntu10.13_amd64.deb ...
Unpacking libpam-systemd:amd64 (237-3ubuntu10.13) over (237-3ubuntu10.12) ...
Preparing to unpack .../systemd_237-3ubuntu10.13_amd64.deb ...
Unpacking systemd (237-3ubuntu10.13) over (237-3ubuntu10.12) ...
Preparing to unpack .../udev_237-3ubuntu10.13_amd64.deb ...
Unpacking udev (237-3ubuntu10.13) over (237-3ubuntu10.12) ...
Preparing to unpack .../libudev1_237-3ubuntu10.13_amd64.deb ...
Unpacking libudev1:amd64 (237-3ubuntu10.13) over (237-3ubuntu10.12) ...
Setting up libudev1:amd64 (237-3ubuntu10.13) ...
Setting up systemd (237-3ubuntu10.13) ...
(Reading database ... 67479 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_237-3ubuntu10.13_amd64.deb ...
Unpacking systemd-sysv (237-3ubuntu10.13) over (237-3ubuntu10.12) ...
Preparing to unpack .../pciutils_1%3a3.5.2-1ubuntu1.1_amd64.deb ...
Unpacking pciutils (1:3.5.2-1ubuntu1.1) over (1:3.5.2-1ubuntu1) ...
Preparing to unpack .../libpci3_1%3a3.5.2-1ubuntu1.1_amd64.deb ...
Unpacking libpci3:amd64 (1:3.5.2-1ubuntu1.1) over (1:3.5.2-1ubuntu1) ...
Setting up libnss-systemd:amd64 (237-3ubuntu10.13) ...
Processing triggers for ureadahead (0.100.0-20) ...
Setting up systemd-sysv (237-3ubuntu10.13) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up udev (237-3ubuntu10.13) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for dbus (1.12.2-1ubuntu1) ...
Setting up libpci3:amd64 (1:3.5.2-1ubuntu1.1) ...
Setting up libpam-systemd:amd64 (237-3ubuntu10.13) ...
Setting up pciutils (1:3.5.2-1ubuntu1.1) ...
Processing triggers for initramfs-tools (0.130ubuntu3.6) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-45-generic
Processing triggers for libc-bin (2.27-3ubuntu1) ...



# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.



# ps fax
  PID TTY      STAT   TIME COMMAND

  955 ?        S<s    0:45 /usr/lib/frr/watchfrr -d -r
/usr/lib/frr/watchfrr.sh restart %s -s /usr/lib/frr/watchfrr.sh start
%s -k /usr/lib/frr/watchfrr.sh stop %s zebra bgpd staticd
 1006 ?        S<sl   3:59 /usr/lib/frr/zebra -d -A 127.0.0.1 -s 90000000
 1009 ?        S<sl   7:22 /usr/lib/frr/bgpd -d -A 127.0.0.1
 1016 ?        S<s    0:05 /usr/lib/frr/staticd -d -A 127.0.0.1



# vtysh

Hello, this is FRRouting (version 6.0.2).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

xxx# sh ip bgp summary

IPv4 Unicast Summary:
BGP router identifier x.x.32.34, local AS number xxxxxx vrf-id 0
BGP table version 6693928
RIB entries 6, using 960 bytes of memory
Peers 2, using 41 KiB of memory

Neighbor        V         AS MsgRcvd MsgSent   TblVer  InQ OutQ
Up/Down State/PfxRcd
x.x.118.244   4       xxxx  915579   27779        0    0    0 00:03:45
      Active
x.x.32.33     4     xxxxxx  843680  352816        0    0    0 00:05:16
      Active



# ip add
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet x.x.32.34/32 scope global lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state
UP group default qlen 1000
    link/ether 00:50:56:ba:53:46 brd ff:ff:ff:ff:ff:ff
    inet x.x.32.29/28 brd x.x.32.31 scope global ens160
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:feba:5346/64 scope link
       valid_lft forever preferred_lft forever
3: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state
UP group default qlen 1000
    link/ether 00:50:56:ba:af:9d brd ff:ff:ff:ff:ff:ff
    inet x.x.32.3/28 brd x.x.32.15 scope global ens192
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:feba:af9d/64 scope link
       valid_lft forever preferred_lft forever


# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
x.x.32.0     0.0.0.0         255.255.255.240 U     0      0        0 ens192
x.x.32.16    0.0.0.0         255.255.255.240 U     0      0        0 ens160


Regards
Sim



More information about the frog mailing list