[Bug 996369] Re: bond slave interface sometimes does not come up on boot
*** This bug is a duplicate of bug 1160490 *** https://bugs.launchpad.net/bugs/1160490 @alexlist You can check the upstart logs for more on the cause of that. For the key issue described in this bug (interfaces not coming up at all) that does appear to be fixed. ** This bug has been marked a duplicate of bug 1160490 race condition updating statefile -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** Changed in: linux (Ubuntu) Assignee: (unassigned) => khuanglim (khuang0411) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
** Attachment added: "/etc/network/interfaces" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+attachment/3954681/+files/interfaces ** Also affects: linux (Ubuntu Trusty) Importance: High Status: Incomplete ** Changed in: linux (Ubuntu Trusty) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
I can reproduce the delay problem on Trusty. machine is pingable after around 8s, which means that bonding, vlans and bridges all work. However, startup is delayed by ~120s for unknown reasons. After that, startup resumes and all services come up. ** Attachment added: "dmesg" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+attachment/3954680/+files/dmesg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
We can confirm similar issues with Precise. However, testing a default Precise 12.04.3 installation with any generic Quantal or Raring LTS kernel seems to work fine. Tests preformed: Continues looping boot using a similar script as mentioned by Chris J Arges. Counted amount of successful boots - working bond0 with both slaves up - with different kernels. Symptoms after boot: - Bond0 down with no slaves - Bond0 comes up with only 1 slave - Bond0 comes up with 2 slaves with 1 interface marked down Hardware: Dell M610-II 01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709S Gigabit Ethernet (rev 20) 01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709S Gigabit Ethernet (rev 20) Network configuration: root@test:~# cat /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet manual bond-master bond0 bond-primary eth0 eth1 auto eth1 iface eth1 inet manual bond-master bond0 bond-primary eth0 eth1 auto bond0 iface bond0 inet static address 10.1.1.2 netmask 255.255.255.0 broadcast 10.1.1.255 gateway 10.1.1.1 bond_arp_validate 3 bond_mode active-backup bond_arp_interval 200 bond_arp_ip_target 10.1.1.1 bond_slaves none root@test:~# cat /etc/modprobe.d/bonding.conf alias bond0 bonding options bonding mode=1 arp_interval=200 arp_ip_target=10.1.1.1 Test results: Ubuntu 12.04.3 LTS with linux-image-3.2.0-54-generic (3.2.0-54.82) - Failed several boots with the listed symptoms Ubuntu 12.04.3 LTS with linux-image-3.5.0-41-generic (3.5.0-41.64~precise1) - 300+ boots Ubuntu 12.04.3 LTS with linux-image-3.8.0-31-generic (3.8.0-31.46~precise1) - 300+ boots -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
Unfortunately I cannot test for this bug any longer. I no longer have access to a switch with aggregation support. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
Given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request. We are approaching release and would like to confirm if this bug is still present. Please test again with the latest development kernel and indicate in the bug if this issue still exists or not. You can update to the latest development kernel by simply running the following commands in a terminal window: sudo apt-get update sudo apt-get dist-upgrade If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released. Thank you for your help, we really do appreciate it. ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** Tags added: kernel-request-3.11.0-7.14 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
** Tags added: regression-potential -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
** Tags added: bios-outdated-2013.07.02 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
I believe this issue is related to bug 1160490. I have test ifupdown packages there that may eliminate a race condition based on an upstream patch. Please give them a test and provide feedback. This solved my issue in #35. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
** Tags removed: kernel-key -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
** Also affects: linux (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Quantal) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Raring) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Saucy) Importance: High Status: Confirmed ** Changed in: linux (Ubuntu Raring) Status: New => Confirmed ** Changed in: linux (Ubuntu Quantal) Status: New => Confirmed ** Changed in: linux (Ubuntu Precise) Status: New => Confirmed ** Changed in: linux (Ubuntu Raring) Importance: Undecided => High ** Changed in: linux (Ubuntu Quantal) Importance: Undecided => High ** Changed in: linux (Ubuntu Precise) Importance: Undecided => High ** Tags added: quantal raring saucy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
** Changed in: linux (Ubuntu) Importance: Medium => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
** Tags removed: kernel-da-key ** Tags added: kernel-key -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
I've been able to reproduce a similar issue. To test: 1) Create a VM with the latest image, and add 12 network interfaces. 2) Use the attached interfaces.lp996369 3) Add something like this to rc.local to reproduce the issue: sleep 60 if [ `ifconfig | grep eth | wc -l` = 12 ]; then echo "Everything is A-ok!" reboot else echo "We have a problem." fi 4) once the machine quits rebooting you will eventually find the one of the interfaces did not come up. ** Attachment added: "interfaces.lp996369" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+attachment/3762211/+files/interfaces.lp996369 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
** Tags added: kernel-da-key -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
I am also experiencing issues on reboot. Secondary iP's won't come up even though I can see then in ifconfig. I have to do service networking restart after a reboot to get things working. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
And, finally if you're using jumbo frames, you'll want to apply jumbo frames for ipv6 as well (not sure if this is the recommended method, or not), but here's my /etc/sysctl.conf as well. ** Attachment added: "/etc/sysctl.conf" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+attachment/3431347/+files/sysctl.conf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
Updated /etc/modules file This file is required so that the bonding driver gets preloaded, before the networking subsystem starts up, and to make sure that the bonding strategy chosen is actually applied. ** Attachment added: "/etc/modules (use this instead of /etc/modprobe.d/bonding.conf)" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+attachment/3431346/+files/modules -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
Updated interfaces file ** Attachment added: "Updated interfaces file (/etc/network/interfaces)" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+attachment/3431345/+files/interfaces -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
Have had to make a few more adjustments. I realized the above still wasn't putting it into aggregated mode (cat /proc/net/bonding/bond0), and one of the links that was down was showing as being up. Please find the new updates attached, and ignore all my other previous files. ** Attachment added: "Enslave script used by interfaces file" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+attachment/3431339/+files/enslave -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
Problem solved. It appears the way in which ifenslave is invoked has changed, and most of the documentation on the net on how to configure it doesn't work anymore. Step by step instructions for getting it working are at the URL, http://www.ubuntugeek.com/how-to-setup-bond-or-team-network-cards-in- ubuntu-10-1010-04.html My network interfaces are called c10gb0 and c10gb1 respectively. My bonding interface is bond0. My new /etc/network/interfaces file is as follows: auto lo iface lo inet loopback auto bond0 bond0:0 bond0:1 auto gb0 # Set up BONDed ports (link aggregation) iface bond0 inet static address 10.0.0.49 gateway 10.0.0.5 netmask 255.255.0.0 bond_mode 802.3ad bond_miimon 100 bond_lacp_rate 1 up /usr/local/bin/enslave bond0 c10gb0 c10gb1 down /usr/local/bin/enslave -d bond0 c10gb0 c10gb1 iface bond0:0 inet static address 10.0.0.100 netmask 255.255.0.0 iface bond0:1 inet static address 10.0.0.128 netmask 255.255.0.0 My /etc/modprobe.d/aliases.conf is the same as the example at ubuntugeek.com: alias bond0 bonding options mode=0 miimon=100 downdelay=200 updelay=200 And my /usr/local/bin/enslave script is as follows: #!/bin/bash if [[ ! -z "$1" && "$1" = "-d" ]]; then /sbin/ifconfig bond0:1 down /sbin/ifconfig bond0:0 down else /sbin/ifconfig bond0:0 10.0.0.100 netmask 255.255.0.0 /sbin/ifconfig bond0:1 10.0.0.128 netmask 255.255.0.0 fi /sbin/ifenslave $@ After everything is up, I have bond0 (10.0.0.49), bond0:0 (10.0.0.100) and bond0:1 (10.0.0.128) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
Is there anything else I need to advance the status of this ticket? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
Also, fwiw, the mac addresses of c10gb0 and c10gb1 have been changed to reflect the mac address of bond0. So, there's definitely some bonding of some sort happening. It's just not being reflected in bond0:0 and bond0:1 showing up. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
If I wait long enough (2 minutes to 6 minutes), the interfaces will eventually come up. If I issue a sudo /etc/init.d/networking restart command, they'll come up as soon as the command has finished executing. So, it seems maybe there's something getting locked up during startup, because of a race condition or something. However, I'm not seeing any evidence of any of the networking scripts hanging in the output of 'sudo ps auxffww'. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
Also, when it's in this state, the module 'bonding' is loaded, and when I issue the command 'sudo ifenslave bond0 c10gb0 c10gb1', it reports that c10gb0 and c10gb1 are already slaves. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
Upgrade to kernel 3.7.0-999.201210220405_amd64 doesn't fix anything. The extreme delay of startup of the bonded interfaces is still there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
Fwiw, our interfaces file is as follows: auto lo iface lo inet loopback auto bond0 bond0:0 bond0:1 auto gb0 # Set up BONDed ports (link aggregation) iface bond0 inet static address 10.0.0.49 gateway 10.0.0.5 netmask 255.255.0.0 bond-slaves c10gb0 c10gb1 # LACP configuration bond_mode 802.3ad bond_miimon 100 bond_lacp_rate 1 iface bond0:0 inet static address 10.0.0.100 netmask 255.255.0.0 iface bond0:1 inet static address 10.0.0.128 netmask 255.255.0.0 iface gb0 inet static address 10.1.0.128 netmask 255.255.0.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
** Changed in: linux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
** Changed in: linux (Ubuntu) Status: Expired => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
Btw, this also affects the package ifenslave-2.6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
FWIW, all of the machines where we're running into this problem are running the driver code as downloaded from Intel.com for both the Intel 1GbE drivers and the 10GbE drivers. The bonded interfaces are on a dual port 10GbE Intel adapter. The machines are not connected to the Internet, so I cannot run apport- collect on them because as I understand it, the tool requires an Internet connection? If there's any additional information anyone needs, please feel free to ask and I will try to accommodate your request. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
I will be installing the latest mainline kernel on one of the machines where we're having this problem this afternoon to see if it fixes the problem. (We're having this problem on at least 7 machines, currently.) If the latest mainline kernel fixes the problem, I will try the latest stable branch mainline kernel to see if that also fixes the problem. I'd like to avoid upgrading udev if at all possible just because it complicates things a bit more. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
I just thought I'd point out that this problem occurs in 10.04.4 as well. What happens is not that the other interfaces don't come up, but that they're taking an extended period of time to come up (sometimes as much as 5 or 6 minutes for the :0 and :1 interfaces to come up.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
[Expired for linux (Ubuntu) because there has been no activity for 60 days.] ** Changed in: linux (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
Just though I would add a comment that I am also seeing this behaviour. It (might) be related to having a "post-up" command attached to the ethernet configuration. Here is my interfaces file: xfers ~ # 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 # The primary network interface auto bond0 iface bond0 inet static address 172.16.1.10 netmask 255.255.255.0 broadcast 172.16.1.255 network 172.16.1.0 gateway 172.16.1.1 dns-nameservers 10.0.0.120 10.0.1.120 dns-search mps.lan wilts.mps.lan dns-domain mps.lan bond-slaves none bond_mode 802.3ad bond_miimon 40 bond_lacp_rate 1 bond_use_carrier 1 post-up /usr/local/sbin/check-bond.sh $IFACE pre-down /usr/local/sbin/check-bond.sh stop $IFACE ## ftp.mps.lan - for internal access up ip addr add 172.16.1.20/24 dev $IFACE ## ftp-sohonet.mps.lan - for FTP/Aspera Connect over Sohonet up ip addr add 172.16.1.21/24 dev $IFACE ## ftp-abovenet-7a.mps.lan - for FTP/Aspera Connect over the Abovenet 7A link up ip addr add 172.16.1.22/24 dev $IFACE ## ftp-abovenet-7a.mps.lan - for FTP/Aspera Connect over the Abovenet 7B link up ip addr add 172.16.1.23/24 dev $IFACE ## faspex-sohonet.mps.lan - for FASPEX over Sohonet up ip addr add 172.16.1.24/24 dev $IFACE ## faspex-sohonet.mps.lan - for FASPEX over the Abovenet 7A link up ip addr add 172.16.1.25/24 dev $IFACE ## faspex-sohonet.mps.lan - for FASPEX over the Abovenet 7B link up ip addr add 172.16.1.26/24 dev $IFACE # Slave Definition for bond0 auto eth2 iface eth2 inet manual bond-master bond0 bond-primary eth2 eth3 auto eth3 iface eth3 inet manual bond-master bond0 bond-primary eth2 eth3 If I comment out my post-up line, I appear to get a reliable network interface brought up at boot time, however, with the post-up line enabled, I often see one of the slaves fail on boot. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
Do you know if this issue happened in a previous version of Ubuntu, or is this a new issue? Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.4kernel[1] (Not a kernel in the daily directory). Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'. Once testing of the upstream kernel is complete, please mark this bug as "Confirmed". Thanks in advance. http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-rc7-precise/ ** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** Tags added: needs-upstream-testing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
apport information ** Tags added: apport-collected ** Description changed: bug report: Hi guys, I'm running ubuntu12.04 server on a HP DL380G7. server01 ~ # lsb_release -rd Description: Ubuntu 12.04 LTS Release: 12.04 I've got 2 ethernet cards with 4x 10G interfaces. I've got a bond on 4x10G where only eth4 and eth6 are patched. server01 ~ # ethtool -i eth4 driver: be2net version: 4.0.100u firmware-version: 4.0.360.15 bus-info: :0e:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: no server01 ~ # ethtool -i eth6 driver: be2net version: 4.0.100u firmware-version: 4.0.360.15 bus-info: :15:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: no After a reboot I expect to see a bond0 interface with 2 RUNNING SLAVE interfaces. However, sometimes I only see 1 interface coming up in the bond after a reboot and when I manually bring the other interface up (ifconfig eth6 up) it works: # cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) Bonding Mode: IEEE 802.3ad Dynamic link aggregation Transmit Hash Policy: layer2 (0) MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 802.3ad info LACP rate: slow Min links: 0 Aggregator selection policy (ad_select): stable Active Aggregator Info: Aggregator ID: 2 Number of ports: 1 Actor Key: 33 Partner Key: 32773 Partner Mac Address: 00:23:04:ee:be:01 Slave Interface: eth6 MII Status: down SHOULD BE UP Speed: 1 Mbps Duplex: full Link Failure Count: 1 Permanent HW addr: 00:9c:02:3c:c9:70 Aggregator ID: 1 Slave queue ID: 0 Slave Interface: eth4 MII Status: up ONLY INTERFACE THAT IS UP Speed: 1 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:9c:02:3c:99:98 Aggregator ID: 2 Slave queue ID: 0 Slave Interface: eth7 MII Status: down Speed: Unknown Duplex: Unknown Link Failure Count: 0 Permanent HW addr: 00:9c:02:3c:c9:74 Aggregator ID: 3 Slave queue ID: 0 Slave Interface: eth5 MII Status: down Speed: Unknown Duplex: Unknown Link Failure Count: 0 Permanent HW addr: 00:9c:02:3c:99:9c Aggregator ID: 4 Slave queue ID: 0 server01 ~ # ifconfig bond0 Link encap:Ethernet HWaddr 00:9c:02:3c:c9:70 inet6 addr: fe80::29c:2ff:fe3c:c970/64 Scope:Link UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 RX packets:169071 errors:0 dropped:54 overruns:0 frame:0 TX packets:1236 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:18435358 (18.4 MB) TX bytes:174727 (174.7 KB) eth4 Link encap:Ethernet HWaddr 00:9c:02:3c:c9:70 UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 RX packets:169071 errors:0 dropped:45 overruns:0 frame:0 TX packets:1235 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:18435358 (18.4 MB) TX bytes:174637 (174.6 KB) eth5 Link encap:Ethernet HWaddr 00:9c:02:3c:c9:70 UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) eth7 Link encap:Ethernet HWaddr 00:9c:02:3c:c9:70 UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1333 errors:0 dropped:0 overruns:0 frame:0 TX packets:1333 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:102784 (102.7 KB) TX bytes:102784 (102.7 KB) vlan888 Link encap:Ethernet HWaddr 00:9c:02:3c:c9:70 inet addr:1.1.0.50 Bcast:1.1.0.63 Mask:255.255.255.240 inet6 addr: ::::11/124 Scope:Global inet6 addr: fe80::29c:2ff:fe3c:c970/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:168250 errors:0 dropped:0 overruns:0 frame:0 TX packets:661 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:15995674 (15.9 MB) TX bytes:41938 (41.9 KB) vlan889 Link encap:Ethernet HW
[Bug 996369] Re: bond slave interface sometimes does not come up on boot
** Package changed: ubuntu => linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/996369 Title: bond slave interface sometimes does not come up on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/996369/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs