Hello!

I am running Ubuntu 14.04.3 LTS.

This update introduces problem in my setup, adapted to old behavior:
auto eth2
iface eth2 inet manual
        bond-master bond0
        up ip link set $IFACE txqueuelen 10000

auto eth3
iface eth3 inet manual
        bond-master bond0
        up ip link set $IFACE txqueuelen 10000

auto bond0
iface bond0 inet static
        address 10.0.66.3
        netmask 255.255.255.0
        bond-mode 802.3ad
        bond-lacp-rate 1
        bond-slaves none
        pre-ip ifup eth2
        pre-up ifup eth3
        up ip link set $IFACE txqueuelen 10000

Interface bond0 is not becoming up:

root@storage003:~# ps axu |grep ifup
root         780  0.0  0.0   4392  1448 ?        Ss   00:03   0:00 ifup --allow 
auto eth3
root         783  0.0  0.0   4392  1460 ?        Ss   00:03   0:00 ifup --allow 
auto eth2
root        1067  0.0  0.0   4392  1516 ?        Ss   00:03   0:00 ifup --allow 
auto bond0
root        1087  0.0  0.0   4448   668 ?        S    00:03   0:00 /bin/sh -c 
ifup eth3
root        1088  0.0  0.0   4388  1344 ?        S    00:03   0:00 ifup eth3
root        2150  0.0  0.0   4388  1548 ?        S    00:03   0:00 ifup -a

root@storage003:~# ps axu |grep ifenslave
root         816  0.1  0.0   4448  1436 ?        S    00:03   0:48 /bin/sh 
/etc/network/if-pre-up.d/ifenslave
root         817  0.1  0.0   4448  1504 ?        S    00:03   0:48 /bin/sh 
/etc/network/if-pre-up.d/ifenslave
root     1792323  0.0  0.0  15124  2136 pts/0    S+   11:39   0:00 grep 
--color=auto ifenslave

root@storage003:~# for i in `ps -ef | grep ifup | grep -v grep | awk '{print 
$2}'`; do echo $i; cat /proc/$i/environ; done
780
ID_BUS=pciUPSTART_INSTANCE=eth3ACTION=addID_VENDOR_FROM_DATABASE=Intel 
CorporationSEQNUM=3065USEC_INITIALIZED=9113IFINDEX=4KERNEL=eth3DEVPATH=/devices/pci0000:00/0000:00:02.2/0000:03:00.0/net/eth3ID_OUI_FROM_DATABASE=Intel
 
CorporateUPSTART_JOB=network-interfaceTERM=linuxSUBSYSTEM=netID_MODEL_ID=0x154dPATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/binID_NET_NAME_MAC=enxa0369f209924ID_MODEL_FROM_DATABASE=10GbE
 2P X520 
AdapterUPSTART_EVENTS=net-device-addedINTERFACE=eth3PWD=/ID_VENDOR_ID=0x8086ID_NET_NAME_PATH=enp3s0f0ID_PCI_CLASS_FROM_DATABASE=Network
 controllerID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller783
ID_BUS=pciUPSTART_INSTANCE=eth2ACTION=addID_VENDOR_FROM_DATABASE=Intel 
CorporationSEQNUM=3067USEC_INITIALIZED=9131IFINDEX=5KERNEL=eth2DEVPATH=/devices/pci0000:00/0000:00:02.2/0000:03:00.1/net/eth2ID_OUI_FROM_DATABASE=Intel
 
CorporateUPSTART_JOB=network-interfaceTERM=linuxSUBSYSTEM=netID_MODEL_ID=0x154dPATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/binID_NET_NAME_MAC=enxa0369f209926ID_MODEL_FROM_DATABASE=10GbE
 2P X520 
AdapterUPSTART_EVENTS=net-device-addedINTERFACE=eth2PWD=/ID_VENDOR_ID=0x8086ID_NET_NAME_PATH=enp3s0f1ID_PCI_CLASS_FROM_DATABASE=Network
 controllerID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller1067
UPSTART_INSTANCE=bond0ACTION=addSEQNUM=3979USEC_INITIALIZED=5735IFINDEX=6KERNEL=bond0DEVPATH=/devices/virtual/net/bond0UPSTART_JOB=network-interfaceTERM=linuxSUBSYSTEM=netPATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/binUPSTART_EVENTS=net-device-addedINTERFACE=bond0PWD=/DEVTYPE=bond1087
IF_ADDRESS=10.0.66.3IF_NETMASK=255.255.255.0IF_BOND_MODE=802.3adIF_BOND_LACP_RATE=1IF_BOND_SLAVES=noneIF_PRE_IP=ifup
 
eth2IF_BROADCAST=10.0.66.255IFUPDOWN_bond0=pre-upIFACE=bond0LOGICAL=bond0ADDRFAM=inetMETHOD=staticMODE=startPHASE=pre-upVERBOSITY=0PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin1088
METHOD=staticMODE=startLOGICAL=bond0IFUPDOWN_bond0=pre-upPHASE=pre-upIF_ADDRESS=10.0.66.3IF_PRE_IP=ifup
 
eth2ADDRFAM=inetIF_BOND_MODE=802.3adIF_BOND_LACP_RATE=1VERBOSITY=0PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binIF_NETMASK=255.255.255.0IFACE=bond0IF_BOND_SLAVES=nonePWD=/IF_BROADCAST=10.0.66.2552150
UPSTART_INSTANCE=INSTANCE=UPSTART_JOB=networkingTERM=linuxPATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/binUPSTART_EVENTS=local-filesystems
 stoppedPWD=/RESULT=okJOB=udevtrigger

I have to bring interfaces up by hands.

It looks like I have to update my config that was working well on old
version. It is not expected behavior in LTS release.

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

Title:
  ifupdown initialization problems caused by race condition

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to