I've built netplan.io locally with this PR and it resolves the issue. We see
we're passing the 100 value through into networkd, and it gets the ms suffix.
Then in the journal, after the bond has been started, it is ready right away.
root@rharper-b2:~# apt-cache policy netplan.io
netplan.io:
Installed: 0.35ubuntu2
Candidate: 0.35ubuntu2
Version table:
*** 0.35ubuntu2 100
100 /var/lib/dpkg/status
0.35 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
root@rharper-b2:~# cat /sys/class/net/bond0/bonding/miimon
100
root@rharper-b2:~#
root@rharper-b2:~# grep mii-monitor /etc/netplan/50-cloud-init.yaml
mii-monitor-interval: 100
root@rharper-b2:~# grep MII /run/systemd/network/10-netplan-bond0.netdev
MIIMonitorSec=100ms
root@rharper-b2:~# journalctl -o short-precise | egrep "(bond0:
Configured|Reboot|bond0.*up)"
Apr 20 19:49:37.369840 rharper-b2 kernel: bond0: Enslaving enp3s0f1 as a backup
interface with a down link
Apr 20 19:49:37.533851 rharper-b2 kernel: bond0: Enslaving enp3s0f0 as a backup
interface with a down link
Apr 20 19:49:50.835954 rharper-b2 systemd-networkd[1101]: bond0: Configured
Apr 20 19:51:17.869837 rharper-b2 kernel: bond0: link status definitely up for
interface enp3s0f1, 10000 Mbps full duplex
Apr 20 19:51:17.869944 rharper-b2 kernel: bond0: first active interface up!
Apr 20 19:51:17.869992 rharper-b2 kernel: bond0: link status definitely up for
interface enp3s0f0, 10000 Mbps full duplex
Apr 20 20:23:52.830809 rharper-b2 systemd[1]: Starting Reboot...
-- Reboot --
Apr 20 20:25:52.537598 rharper-b2 kernel: bond0: Enslaving enp3s0f1 as a backup
interface with a down link
Apr 20 20:25:52.701599 rharper-b2 kernel: bond0: Enslaving enp3s0f0 as a backup
interface with a down link
Apr 20 20:25:52.829601 rharper-b2 kernel: bond0: link status definitely up for
interface enp3s0f1, 10000 Mbps full duplex
Apr 20 20:25:52.829628 rharper-b2 kernel: bond0: first active interface up!
Apr 20 20:25:53.037556 rharper-b2 kernel: bond0: link status definitely up for
interface enp3s0f0, 10000 Mbps full duplex
Apr 20 20:26:06.511706 rharper-b2 systemd-networkd[1050]: bond0: Configured
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1765833
Title:
bond intervals default to seconds; breaks existing configs
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1765833/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs