[Bug 1826387] [NEW] systemd-networkd restart brings down bond slaves
Krzysztof Klimonda
kklimonda at syntaxhighlighted.com
Thu Apr 25 10:51:59 UTC 2019
Public bug reported:
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
```
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1826387
Title:
systemd-networkd restart brings down bond slaves
Status in systemd package in Ubuntu:
New
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
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1826387/+subscriptions
More information about the foundations-bugs
mailing list