[Bug 1415302] [NEW] Ubuntu 14.04 bonding slaves stay down after boot

Alex Gorbachev rwood at iss-integration.com
Wed Jan 28 03:25:10 UTC 2015


Public bug reported:

Hello, this is an Ubuntu 14.04.1 LTS server with kernel 3.16.6, setting
up a bond of two 40 GbE NICs (Mellanox with the lastest OFED).  Looks
ike no matter what the order of the slaves is in
/etc/network/interfaces, the bond does not bring these up:

Best regards, Alex Gorbachev

root at e2:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# 1GB interface for management
auto eth1
iface eth1 inet static
  address 192.168.168.224
  netmask 255.255.255.0
  gateway 192.168.168.203
  dns-nameservers 192.168.168.203

#First slave
auto eth2
iface eth2 inet manual
bond-master bond0

#Second slave
auto eth3
iface eth3 inet manual
bond-master bond0

# Bond
auto bond0
iface bond0 inet static
  address 10.10.20.224
  netmask 255.255.255.0
  bond-slaves none
  bond-mode balance-rr
  bond-miimon 100
  bond-downdelay 200
  bond-updelay 200


root at e2:~# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: load balancing (round-robin)
MII Status: down
MII Polling Interval (ms): 100
Up Delay (ms): 200
Down Delay (ms): 200

Slave Interface: eth3
MII Status: down
Speed: Unknown
Duplex: Unknown
Link Failure Count: 0
Permanent HW addr: f4:52:14:40:10:f1
Slave queue ID: 0

Slave Interface: eth2
MII Status: down
Speed: Unknown
Duplex: Unknown
Link Failure Count: 0
Permanent HW addr: f4:52:14:40:10:f0
Slave queue ID: 0


root at e2:~# dmesg|grep bond
[   10.476483] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   11.546780] bonding: bond0: Setting MII monitoring interval to 100
[   11.546799] bonding: bond0: Setting down delay to 200
[   11.546812] bonding: bond0: Setting up delay to 200
[   11.582857] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
[   11.582860] 8021q: adding VLAN 0 to HW filter on device bond0
[   11.673348] bonding: bond0: interface eth2 does not exist!
[   11.681719] bonding: bond0: interface eth3 does not exist!
[   18.746452] bonding: bond0: Adding slave eth3
[   18.794436] bonding: bond0: Enslaving eth3 as an active interface with a down link
[   18.795687] bonding: bond0: Adding slave eth2
[   18.828054] bonding: bond0: Enslaving eth2 as an active interface with a down link
[   19.879933] bonding: bond0: Adding slave eth2
[   19.879935] bonding: bond0: option slaves: unable to set because the bond device is up
[   19.911741] bonding: bond0: Adding slave eth3
[   19.911743] bonding: bond0: option slaves: unable to set because the bond device is up

** Affects: ifenslave-2.6 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Upstart logs"
   https://bugs.launchpad.net/bugs/1415302/+attachment/4306973/+files/network-upstart-logs.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifenslave-2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1415302

Title:
  Ubuntu 14.04 bonding slaves stay down after boot

Status in ifenslave-2.6 package in Ubuntu:
  New

Bug description:
  Hello, this is an Ubuntu 14.04.1 LTS server with kernel 3.16.6,
  setting up a bond of two 40 GbE NICs (Mellanox with the lastest OFED).
  Looks ike no matter what the order of the slaves is in
  /etc/network/interfaces, the bond does not bring these up:

  Best regards, Alex Gorbachev

  root at e2:~# cat /etc/network/interfaces
  # This file describes the network interfaces available on your system
  # and how to activate them. For more information, see interfaces(5).

  # The loopback network interface
  auto lo
  iface lo inet loopback

  # 1GB interface for management
  auto eth1
  iface eth1 inet static
    address 192.168.168.224
    netmask 255.255.255.0
    gateway 192.168.168.203
    dns-nameservers 192.168.168.203

  #First slave
  auto eth2
  iface eth2 inet manual
  bond-master bond0

  #Second slave
  auto eth3
  iface eth3 inet manual
  bond-master bond0

  # Bond
  auto bond0
  iface bond0 inet static
    address 10.10.20.224
    netmask 255.255.255.0
    bond-slaves none
    bond-mode balance-rr
    bond-miimon 100
    bond-downdelay 200
    bond-updelay 200

  
  root at e2:~# cat /proc/net/bonding/bond0
  Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

  Bonding Mode: load balancing (round-robin)
  MII Status: down
  MII Polling Interval (ms): 100
  Up Delay (ms): 200
  Down Delay (ms): 200

  Slave Interface: eth3
  MII Status: down
  Speed: Unknown
  Duplex: Unknown
  Link Failure Count: 0
  Permanent HW addr: f4:52:14:40:10:f1
  Slave queue ID: 0

  Slave Interface: eth2
  MII Status: down
  Speed: Unknown
  Duplex: Unknown
  Link Failure Count: 0
  Permanent HW addr: f4:52:14:40:10:f0
  Slave queue ID: 0


  root at e2:~# dmesg|grep bond
  [   10.476483] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
  [   11.546780] bonding: bond0: Setting MII monitoring interval to 100
  [   11.546799] bonding: bond0: Setting down delay to 200
  [   11.546812] bonding: bond0: Setting up delay to 200
  [   11.582857] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
  [   11.582860] 8021q: adding VLAN 0 to HW filter on device bond0
  [   11.673348] bonding: bond0: interface eth2 does not exist!
  [   11.681719] bonding: bond0: interface eth3 does not exist!
  [   18.746452] bonding: bond0: Adding slave eth3
  [   18.794436] bonding: bond0: Enslaving eth3 as an active interface with a down link
  [   18.795687] bonding: bond0: Adding slave eth2
  [   18.828054] bonding: bond0: Enslaving eth2 as an active interface with a down link
  [   19.879933] bonding: bond0: Adding slave eth2
  [   19.879935] bonding: bond0: option slaves: unable to set because the bond device is up
  [   19.911741] bonding: bond0: Adding slave eth3
  [   19.911743] bonding: bond0: option slaves: unable to set because the bond device is up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1415302/+subscriptions



More information about the foundations-bugs mailing list