[Bug 1765833] [NEW] bond intervals default to seconds; breaks existing configs

Ryan Harper 1765833 at bugs.launchpad.net
Fri Apr 20 20:07:33 UTC 2018


Public bug reported:

1. # lsb_release -r -d
Description:	Ubuntu Bionic Beaver (development branch)
Release:	18.04

2. # apt-cache policy netplan.io 
netplan.io:
  Installed: 0.34.1
  Candidate: 0.34.1
  Version table:
 *** 0.34.1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

3. bonds with an mii-monitor-interval value of 100 should configure the
bond device with an mii-interval of 100 milliseconds.

% cat /sys/class/net/bond0/bonding/miimon
100

4.

cat /sys/class/net/bond0/bonding/miimon 
100000


This results in a 100+ second delay before a lacp bond device can transmit packets.

# journalctl -o short-precise | egrep "(bond0: Configured|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

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: netplan.io 0.34.1
ProcVersionSignature: Ubuntu 4.15.0-15.16-generic 4.15.15
Uname: Linux 4.15.0-15-generic x86_64
ApportVersion: 2.20.9-0ubuntu5
Architecture: amd64
Date: Fri Apr 20 19:56:50 2018
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: netplan.io
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: netplan.io (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic uec-images

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1765833

Title:
  bond intervals default to seconds; breaks existing configs

Status in netplan.io package in Ubuntu:
  New

Bug description:
  1. # lsb_release -r -d
  Description:	Ubuntu Bionic Beaver (development branch)
  Release:	18.04

  2. # apt-cache policy netplan.io 
  netplan.io:
    Installed: 0.34.1
    Candidate: 0.34.1
    Version table:
   *** 0.34.1 500
          500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
          100 /var/lib/dpkg/status

  3. bonds with an mii-monitor-interval value of 100 should configure
  the bond device with an mii-interval of 100 milliseconds.

  % cat /sys/class/net/bond0/bonding/miimon
  100

  4.

  cat /sys/class/net/bond0/bonding/miimon 
  100000

  
  This results in a 100+ second delay before a lacp bond device can transmit packets.

  # journalctl -o short-precise | egrep "(bond0: Configured|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

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: netplan.io 0.34.1
  ProcVersionSignature: Ubuntu 4.15.0-15.16-generic 4.15.15
  Uname: Linux 4.15.0-15-generic x86_64
  ApportVersion: 2.20.9-0ubuntu5
  Architecture: amd64
  Date: Fri Apr 20 19:56:50 2018
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: netplan.io
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1765833/+subscriptions



More information about the foundations-bugs mailing list