systemd-networkd restart brings down bond slaves

Bug #1826387 reported by Krzysztof Klimonda
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd
Fix Released
Unknown
systemd (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
New
Undecided
Unassigned
Cosmic
Won't Fix
Undecided
Unassigned

Bug Description

Reported upstream as https://github.com/systemd/systemd/issues/10118

Ubuntu bionic, systemd version 237-3ubuntu10.19

When systemd-networkd is used to manage network bonds, upon systemd-networkd, bonds are brought down for ~10 seconds affecting connectivity to the server. From networkd logs (truncated to:

```
# journalctl -b -u systemd-networkd | grep enp3s0f
Apr 25 12:45:33 compute01 systemd-networkd[30824]: Ignoring /etc/systemd/network/01-enp3s0f1.network, because it's not a regular file with suffix .netdev.
Apr 25 12:45:33 compute01 systemd-networkd[30824]: Ignoring /etc/systemd/network/00-enp3s0f0.network, because it's not a regular file with suffix .netdev.
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Flags change: +SLAVE +UP +LOWER_UP +RUNNING +MULTICAST +BROADCAST
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Link 6 added
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: udev initialized link
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Saved original MTU: 9000
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Flags change: +SLAVE +UP +LOWER_UP +RUNNING +MULTICAST +BROADCAST
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Link 3 added
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: udev initialized link
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Saved original MTU: 9000
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Link state is up-to-date
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: found matching network '/etc/systemd/network/01-enp3s0f1.network'
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Link is not managed by us
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Started LLDP.
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Enslaving by 'bond0'
Apr 25 12:45:33 compute01 systemd-networkd[30824]: bond0: Link 'enp3s0f1' was up when attempting to enslave it. Bringing link down.
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Bringing link down
Apr 25 12:45:33 compute01 systemd-networkd[30824]: bond0: Enslaving link 'enp3s0f1'
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Link state is up-to-date
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: found matching network '/etc/systemd/network/00-enp3s0f0.network'
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Link does not request DHCPv6 prefix delegation
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Started LLDP.
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Enslaving by 'bond0'
Apr 25 12:45:33 compute01 systemd-networkd[30824]: bond0: Link 'enp3s0f0' was up when attempting to enslave it. Bringing link down.
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f0: Bringing link down
Apr 25 12:45:33 compute01 systemd-networkd[30824]: bond0: Enslaving link 'enp3s0f0'
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Flags change: -UP -LOWER_UP -RUNNING
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Stopped LLDP.
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Lost carrier
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: State is configuring, dropping config
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Joined netdev
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: Bringing link up
Apr 25 12:45:33 compute01 systemd-networkd[30824]: enp3s0f1: IPv6 successfully enabled
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f0: Flags change: -UP -LOWER_UP -RUNNING
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f0: Stopped LLDP.
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f0: Lost carrier
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f0: State is configuring, dropping config
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f0: Joined netdev
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f0: Bringing link up
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f0: IPv6 successfully enabled
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f1: Flags change: +UP
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f1: Started LLDP.
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f0: Flags change: +UP +RUNNING
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f0: Started LLDP.
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f0: Gained carrier
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f0: Flags change: -RUNNING
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f0: Lost carrier
Apr 25 12:45:34 compute01 systemd-networkd[30824]: enp3s0f0: State is configuring, dropping config
Apr 25 12:45:37 compute01 systemd-networkd[30824]: enp3s0f0: Flags change: +LOWER_UP +RUNNING
Apr 25 12:45:37 compute01 systemd-networkd[30824]: enp3s0f0: Gained carrier
Apr 25 12:45:37 compute01 systemd-networkd[30824]: enp3s0f1: Flags change: +LOWER_UP +RUNNING
Apr 25 12:45:37 compute01 systemd-networkd[30824]: enp3s0f1: Gained carrier
```

Dan Streetman (ddstreet)
Changed in systemd (Ubuntu):
status: New → Fix Released
Changed in systemd:
status: Unknown → Fix Released
Dan Streetman (ddstreet)
Changed in systemd (Ubuntu Cosmic):
status: New → Won't Fix
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.