unattended updates, missing routes

Bug #1968550 reported by sascha arthur
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
frr (Ubuntu)
Expired
Undecided
Unassigned
Jammy
Expired
Undecided
Unassigned

Bug Description

Hello,

It happened now twice for me that after a "unattended update" the linux kernel is missing routes which were announced via BGP. From my point of view, the problem is that networkd is restarted(?). Which leads to a deletion of the routes in linux kernel.

# cat /var/log/unattended-upgrades/unattended-upgrades.log | grep "upgraded:"
2022-04-08 06:45:58,859 INFO Packages that will be upgraded: cloud-init dpkg libarchive13 liblzma5 libudisks2-0 libutempter0 linux-generic linux-headers-generic linux-image-generic patch tmux udisks2 update-notifier-common xz-utils
2022-04-09 06:11:51,294 INFO Packages that will be upgraded: libboost-iostreams1.74.0 libboost-thread1.74.0 libudisks2-0 libx11-6 libx11-data libx11-dev libx11-xcb1 ltrace python3-distutils python3-gdbm python3-lib2to3 udisks2 update-notifier-common
2022-04-10 06:09:12,653 INFO Packages that will be upgraded: gzip liblzma5 libnss-mymachines libnss-systemd libpam-systemd libsystemd0 libudev1 systemd systemd-container systemd-sysv systemd-timesyncd udev update-notifier-common xz-utils
2022-04-11 06:26:31,366 INFO Packages that will be upgraded: libjpeg8 update-notifier-common

# systemctl status frr
● frr.service - FRRouting
     Loaded: loaded (/lib/systemd/system/frr.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-04-08 02:00:16 UTC; 3 days ago

# systemctl status systemd-networkd.service
● systemd-networkd.service - Network Configuration
     Loaded: loaded (/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2022-04-10 06:09:17 UTC; 1 day 3h ago

# vtysh -c "show ip route" | grep "B>"
B>* 10.3.0.0/16 [20/0] via 172.25.84.114, wg-00001-dc-003, weight 1, 3d08h05m
B>* 10.4.0.0/16 [20/0] via 172.25.84.122, wg-00001-dc-004, weight 1, 1d15h36m
B>* 172.20.0.0/16 [20/0] via 10.0.240.129, wg-00001-int, weight 1, 3d08h05m

# ip route | grep /16
10.1.0.0/16 dev ethGeoInternal proto kernel scope link src 10.1.254.253

As you can see 10.3.0.0/16 and 10.4.0.0/16 is missing in "ip route"

Tags: server-todo
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Hi,

Thanks for taking the time to file this bug and trying to make Ubuntu better.

This systemd-networkd behavior has been seeing in other bugs, like:

https://bugs.launchpad.net/ubuntu/+source/keepalived/+bug/1815101

Could you please tell us which Ubuntu release you are using?

I am setting this bug to Incomplete, once you provide more information please set it back to New and we will take a look again.

Changed in frr (Ubuntu):
status: New → Incomplete
Revision history for this message
sascha arthur (sarthur) wrote :

happened on jammy

Changed in frr (Ubuntu):
status: Incomplete → New
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thanks for confirming the Ubuntu release where this is happening, sascha.

I spent a few minutes trying to understand what may be happening here (and reading the Lucas mentioned above), but so far I have to confess that I am still a bit lost.

Would it be possible for you to provide a step-by-step reproducer, please? Also, it would be helpful if you could attach any log files that you think are interesting for this problem. Can you reproduce this using Impish and/or Focal?

For now I'm marking this bug as Incomplete again. Please mark it back as New once you provide what was requested. I'll also try to discuss with the team and check if this rings a bell for anyone.

Thanks.

Changed in frr (Ubuntu Jammy):
status: New → Incomplete
tags: added: server-triage-discuss
tags: removed: server-triage-discuss
tags: added: server-todo
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for frr (Ubuntu Jammy) because there has been no activity for 60 days.]

Changed in frr (Ubuntu Jammy):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for frr (Ubuntu) because there has been no activity for 60 days.]

Changed in frr (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.