Activity log for bug #889423

Date Who What changed Old value New value Message
2011-11-12 10:18:54 Albert Chin bug added bug
2011-11-13 17:07:47 Tom Ellis bug added subscriber Tom Ellis
2011-11-13 17:08:01 Launchpad Janitor ifupdown (Ubuntu): status New Confirmed
2011-11-13 17:16:50 Tom Ellis tags pse
2011-11-13 17:17:06 Tom Ellis bug added subscriber Canonical PSE
2011-11-13 22:20:59 Tom Ellis description Configuring an 802.3ad bond doesn't appear to work correctly. The following entry in /etc/network/interfaces should configure an 802.3ad bond between interfaces eth2 and eth3: #auto bond0 iface bond0 inet static address 10.191.62.2 netmask 255.255.255.0 broadcast 10.191.62.255 bond-slaves eth2 eth3 bond-primary eth2 eth3 bond-mode 802.3ad bond-lacp_rate fast bond-miimon 100 However, after booting the system, we have: # ifconfig -a bond0 Link encap:Ethernet HWaddr 00:1b:21:b7:21:ea inet addr:10.191.62.2 Bcast:10.191.62.255 Mask:255.255.255.0 inet6 addr: fe80::21b:21ff:feb7:21ea/64 Scope:Link UP BROADCAST MASTER 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:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) eth2 Link encap:Ethernet HWaddr 00:1b:21:b7:21:ea UP BROADCAST RUNNING 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) Memory:b2420000-b2440000 eth3 Link encap:Ethernet HWaddr 00:1b:21:b7:21:ea UP BROADCAST RUNNING 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) Memory:b2400000-b2420000 # 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: down MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 802.3ad info LACP rate: fast Aggregator selection policy (ad_select): stable bond bond0 has no active aggregator Slave Interface: eth2 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 1 Permanent HW addr: 00:1b:21:b7:21:ea Aggregator ID: N/A Slave queue ID: 0 Slave Interface: eth3 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 1 Permanent HW addr: 00:1b:21:b7:21:eb Aggregator ID: N/A Slave queue ID: 0 If I do the following: # ip link set dev bond0 up # ifenslave bond0 eth2 eth3 # ifconfig bond0 10.191.62.2 netmask 255.255.255.0 I get: # ifconfig bond0 bond0 Link encap:Ethernet HWaddr 00:1b:21:b7:21:ea inet addr:10.191.62.2 Bcast:10.191.62.255 Mask:255.255.255.0 inet6 addr: fe80::21b:21ff:feb7:21ea/64 Scope:Link UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 RX packets:17 errors:0 dropped:17 overruns:0 frame:0 TX packets:27 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2108 (2.1 KB) TX bytes:3126 (3.1 KB) # 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: fast Aggregator selection policy (ad_select): stable Active Aggregator Info: Aggregator ID: 1 Number of ports: 2 Actor Key: 17 Partner Key: 24 Partner Mac Address: 00:04:96:18:54:d5 Slave Interface: eth2 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:1b:21:b7:21:ea Aggregator ID: 1 Slave queue ID: 0 Slave Interface: eth3 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:1b:21:b7:21:eb Aggregator ID: 1 Slave queue ID: 0 I can ping 10.191.62.2 after making the above changes. So, either I am configuring /etc/network/interfaces incorrectly or ifupdown/ifenslave is doing the wrong thing. Note also the number of dropped packages on bond0. Why should I see any dropped packages on the bond0 interface? Configuring an 802.3ad bond doesn't appear to work correctly. The following entry in /etc/network/interfaces should configure an 802.3ad bond between interfaces eth2 and eth3: #auto bond0 iface bond0 inet static   address 10.191.62.2   netmask 255.255.255.0   broadcast 10.191.62.255   bond-slaves eth2 eth3   bond-primary eth2 eth3   bond-mode 802.3ad   bond-lacp_rate fast   bond-miimon 100 However, after booting the system, we have:   # ifconfig -a   bond0 Link encap:Ethernet HWaddr 00:1b:21:b7:21:ea             inet addr:10.191.62.2 Bcast:10.191.62.255 Mask:255.255.255.0             inet6 addr: fe80::21b:21ff:feb7:21ea/64 Scope:Link             UP BROADCAST MASTER 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:0             RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)   eth2 Link encap:Ethernet HWaddr 00:1b:21:b7:21:ea             UP BROADCAST RUNNING 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)             Memory:b2420000-b2440000   eth3 Link encap:Ethernet HWaddr 00:1b:21:b7:21:ea             UP BROADCAST RUNNING 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)             Memory:b2400000-b2420000   # 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: down   MII Polling Interval (ms): 100   Up Delay (ms): 0   Down Delay (ms): 0   802.3ad info   LACP rate: fast   Aggregator selection policy (ad_select): stable   bond bond0 has no active aggregator   Slave Interface: eth2   MII Status: up   Speed: 1000 Mbps   Duplex: full   Link Failure Count: 1   Permanent HW addr: 00:1b:21:b7:21:ea   Aggregator ID: N/A   Slave queue ID: 0   Slave Interface: eth3   MII Status: up   Speed: 1000 Mbps   Duplex: full   Link Failure Count: 1   Permanent HW addr: 00:1b:21:b7:21:eb   Aggregator ID: N/A   Slave queue ID: 0 If I do the following:   # ip link set dev bond0 up   # ifenslave bond0 eth2 eth3   # ifconfig bond0 10.191.62.2 netmask 255.255.255.0 I get:   # ifconfig bond0   bond0 Link encap:Ethernet HWaddr 00:1b:21:b7:21:ea             inet addr:10.191.62.2 Bcast:10.191.62.255 Mask:255.255.255.0             inet6 addr: fe80::21b:21ff:feb7:21ea/64 Scope:Link             UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1             RX packets:17 errors:0 dropped:17 overruns:0 frame:0             TX packets:27 errors:0 dropped:0 overruns:0 carrier:0             collisions:0 txqueuelen:0             RX bytes:2108 (2.1 KB) TX bytes:3126 (3.1 KB)   # 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: fast   Aggregator selection policy (ad_select): stable   Active Aggregator Info:           Aggregator ID: 1           Number of ports: 2           Actor Key: 17           Partner Key: 24           Partner Mac Address: 00:04:96:18:54:d5   Slave Interface: eth2   MII Status: up   Speed: 1000 Mbps   Duplex: full   Link Failure Count: 0   Permanent HW addr: 00:1b:21:b7:21:ea   Aggregator ID: 1   Slave queue ID: 0   Slave Interface: eth3   MII Status: up   Speed: 1000 Mbps   Duplex: full   Link Failure Count: 0   Permanent HW addr: 00:1b:21:b7:21:eb   Aggregator ID: 1   Slave queue ID: 0 I can ping 10.191.62.2 after making the above changes. So, either I am configuring /etc/network/interfaces incorrectly or ifupdown/ifenslave is doing the wrong thing. Note also the number of dropped packages on bond0. Why should I see any dropped packages on the bond0 interface? DistroRelease: Ubuntu 11.10 Package: ifupdown 0.7~alpha5.1ubuntu5 PackageArchitecture: amd64 ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 3.0.0-12.20-server 3.0.4 SourcePackage: ifupdown Uname: Linux 3.0.0-12-server x86_64
2011-11-13 22:24:29 Tom Ellis attachment added proc-net-bonding-bond0-802.3ad https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/889423/+attachment/2595909/+files/proc-net-bonding-bond0-802.3ad
2011-11-13 22:24:41 Tom Ellis attachment added ifconfig-802.3ad https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/889423/+attachment/2595910/+files/ifconfig-802.3ad
2011-11-14 10:33:53 Jose Plans bug added subscriber Jose Plans
2011-11-22 09:25:15 Tom Ellis bug added subscriber Stéphane Graber
2011-11-30 18:18:52 Stéphane Graber ifupdown (Ubuntu): assignee Stéphane Graber (stgraber)
2011-12-01 21:16:14 nelis111 bug added subscriber nelis111
2011-12-02 02:59:21 Albert Chin attachment added Kernel log https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/889423/+attachment/2615445/+files/kern.log
2011-12-09 16:14:26 Launchpad Janitor branch linked lp:ubuntu/ifenslave-2.6
2011-12-14 15:31:01 Stéphane Graber affects ifupdown (Ubuntu) ifenslave-2.6 (Ubuntu)
2011-12-14 15:31:01 Stéphane Graber ifenslave-2.6 (Ubuntu): status Confirmed Fix Released
2011-12-16 18:54:17 Peter Matulis bug added subscriber Peter Matulis
2012-01-05 09:52:32 Fabien Engels bug added subscriber Fabien Engels
2012-01-20 19:41:34 Stéphane Graber nominated for series Ubuntu Oneiric
2012-01-20 19:41:34 Stéphane Graber bug task added ifenslave-2.6 (Ubuntu Oneiric)
2012-01-20 19:41:51 Stéphane Graber bug task added vlan (Ubuntu)
2012-01-20 19:42:02 Stéphane Graber bug task added bridge-utils (Ubuntu)
2012-01-20 19:42:20 Stéphane Graber bridge-utils (Ubuntu Oneiric): status New In Progress
2012-01-20 19:42:22 Stéphane Graber ifenslave-2.6 (Ubuntu Oneiric): status New In Progress
2012-01-20 19:42:25 Stéphane Graber vlan (Ubuntu Oneiric): status New In Progress
2012-01-20 19:42:29 Stéphane Graber vlan (Ubuntu Oneiric): assignee Stéphane Graber (stgraber)
2012-01-20 19:42:36 Stéphane Graber bridge-utils (Ubuntu Oneiric): assignee Stéphane Graber (stgraber)
2012-01-20 19:42:39 Stéphane Graber ifenslave-2.6 (Ubuntu): assignee Stéphane Graber (stgraber)
2012-01-20 19:42:43 Stéphane Graber ifenslave-2.6 (Ubuntu Oneiric): assignee Stéphane Graber (stgraber)
2012-01-20 19:42:46 Stéphane Graber vlan (Ubuntu): status New Fix Released
2012-01-20 19:42:49 Stéphane Graber bridge-utils (Ubuntu): status New Fix Released
2012-01-20 21:11:59 Stéphane Graber vlan (Ubuntu Oneiric): status In Progress Fix Committed
2012-01-20 21:12:26 Stéphane Graber bridge-utils (Ubuntu Oneiric): status In Progress Fix Committed
2012-01-20 22:00:42 Stéphane Graber ifenslave-2.6 (Ubuntu Oneiric): status In Progress Fix Committed
2012-01-24 05:51:10 Martin Pitt bug added subscriber Ubuntu Stable Release Updates Team
2012-01-24 05:51:11 Martin Pitt bug added subscriber SRU Verification
2012-01-24 05:51:14 Martin Pitt tags pse pse verification-needed
2012-01-24 06:25:26 Launchpad Janitor branch linked lp:ubuntu/oneiric-proposed/bridge-utils
2012-01-25 05:52:27 Matt Dirba bug added subscriber Matt Dirba
2012-01-30 03:43:24 Launchpad Janitor branch linked lp:ubuntu/oneiric-proposed/vlan
2012-01-30 04:14:25 Launchpad Janitor branch linked lp:ubuntu/oneiric-proposed/ifenslave-2.6
2012-02-09 21:00:28 Stéphane Graber description Configuring an 802.3ad bond doesn't appear to work correctly. The following entry in /etc/network/interfaces should configure an 802.3ad bond between interfaces eth2 and eth3: #auto bond0 iface bond0 inet static   address 10.191.62.2   netmask 255.255.255.0   broadcast 10.191.62.255   bond-slaves eth2 eth3   bond-primary eth2 eth3   bond-mode 802.3ad   bond-lacp_rate fast   bond-miimon 100 However, after booting the system, we have:   # ifconfig -a   bond0 Link encap:Ethernet HWaddr 00:1b:21:b7:21:ea             inet addr:10.191.62.2 Bcast:10.191.62.255 Mask:255.255.255.0             inet6 addr: fe80::21b:21ff:feb7:21ea/64 Scope:Link             UP BROADCAST MASTER 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:0             RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)   eth2 Link encap:Ethernet HWaddr 00:1b:21:b7:21:ea             UP BROADCAST RUNNING 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)             Memory:b2420000-b2440000   eth3 Link encap:Ethernet HWaddr 00:1b:21:b7:21:ea             UP BROADCAST RUNNING 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)             Memory:b2400000-b2420000   # 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: down   MII Polling Interval (ms): 100   Up Delay (ms): 0   Down Delay (ms): 0   802.3ad info   LACP rate: fast   Aggregator selection policy (ad_select): stable   bond bond0 has no active aggregator   Slave Interface: eth2   MII Status: up   Speed: 1000 Mbps   Duplex: full   Link Failure Count: 1   Permanent HW addr: 00:1b:21:b7:21:ea   Aggregator ID: N/A   Slave queue ID: 0   Slave Interface: eth3   MII Status: up   Speed: 1000 Mbps   Duplex: full   Link Failure Count: 1   Permanent HW addr: 00:1b:21:b7:21:eb   Aggregator ID: N/A   Slave queue ID: 0 If I do the following:   # ip link set dev bond0 up   # ifenslave bond0 eth2 eth3   # ifconfig bond0 10.191.62.2 netmask 255.255.255.0 I get:   # ifconfig bond0   bond0 Link encap:Ethernet HWaddr 00:1b:21:b7:21:ea             inet addr:10.191.62.2 Bcast:10.191.62.255 Mask:255.255.255.0             inet6 addr: fe80::21b:21ff:feb7:21ea/64 Scope:Link             UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1             RX packets:17 errors:0 dropped:17 overruns:0 frame:0             TX packets:27 errors:0 dropped:0 overruns:0 carrier:0             collisions:0 txqueuelen:0             RX bytes:2108 (2.1 KB) TX bytes:3126 (3.1 KB)   # 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: fast   Aggregator selection policy (ad_select): stable   Active Aggregator Info:           Aggregator ID: 1           Number of ports: 2           Actor Key: 17           Partner Key: 24           Partner Mac Address: 00:04:96:18:54:d5   Slave Interface: eth2   MII Status: up   Speed: 1000 Mbps   Duplex: full   Link Failure Count: 0   Permanent HW addr: 00:1b:21:b7:21:ea   Aggregator ID: 1   Slave queue ID: 0   Slave Interface: eth3   MII Status: up   Speed: 1000 Mbps   Duplex: full   Link Failure Count: 0   Permanent HW addr: 00:1b:21:b7:21:eb   Aggregator ID: 1   Slave queue ID: 0 I can ping 10.191.62.2 after making the above changes. So, either I am configuring /etc/network/interfaces incorrectly or ifupdown/ifenslave is doing the wrong thing. Note also the number of dropped packages on bond0. Why should I see any dropped packages on the bond0 interface? DistroRelease: Ubuntu 11.10 Package: ifupdown 0.7~alpha5.1ubuntu5 PackageArchitecture: amd64 ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 3.0.0-12.20-server 3.0.4 SourcePackage: ifupdown Uname: Linux 3.0.0-12-server x86_64 SRU instructions (from comment 41 and 46): === bridge-utils === So there are two things to test with that new bridge-utils: 1) Bridge interface with bridge-ports set instead of bridge_ports works too 2) Bridging a non-existing vlan interface will now create it These two are in the udev hooks, so need to be tested by creating a network interface, like a tap device (using uml-utilities to create it). Test for 1) - Make sure uml-utilities and bridge-utils are both installed - Add the following entry to /etc/network/interfaces: auto br0 iface br0 inet static address 192.168.1.1 netmask 255.255.255.0 bridge-ports eth9 - Create the tap device: tunctl -t eth9 - Check that the bridge has been created and the interface added to it (bridge shouldn't have an IP configuration at this point): root@castiana:~# brctl show br0 bridge name bridge id STP enabled interfaces br0 8000.1a6bffdb2551 no eth9 The previous release wouldn't do anything unless you were using bridge_ports. Test for 2) - Make sure uml-utilities, bridge-utils and vlan are all intalled - Add the following entry to /etc/network/interfaces: auto br0 iface br0 inet static address 192.168.1.1 netmask 255.255.255.0 bridge-ports eth9.1010 - Create the tap device: tunctl -t eth9 - Check that the bridge has been created and the interface added to it (bridge shouldn't have an IP configuration at this point): root@castiana:~# brctl show br0 bridge name bridge id STP enabled interfaces br0 8000.06c2192d61ab no eth9.1010 The previous release would create the bridge but not add the port to it as the tag interface wouldn't exist. Between each test, cleanup with: - tunctl -d eth9 - ifconfig br0 down - brctl delbr br0 The use of eth9 instead of tap0 is done on purpose as the vlan script explicitly checks for interfaces with eth, bond or wlan in their name. === vlan === Here's a quick example of how to test the new vlan package: - Make sure uml-utilities and vlan are installed - Add the following entry to /etc/network/interfaces: auto eth9.1010 iface eth9.1010 inet static address 192.168.1.1 netmask 255.255.255.0 - Create the tap device: tunctl -t eth9 - Check that the vlan interface has been created and configured correctly: ifconfig eth9.1010 eth9.1010 Link encap:Ethernet HWaddr ce:51:62:98:16:78 inet addr:192.168.1.1 Bcast:0.0.0.0 Mask:255.255.255.0 UP BROADCAST 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:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Prior to this update, vlan interface creation would be racy as it'd depend on the catch all networking.conf job to initialise eth9.1010 with the race being that this job would be triggered before eth9 actually exists. === ifenslave-2.6 === TODO: Using setup from original description before/after should work but I'll comment with a simplified testcase when I have a minute.
2012-02-20 14:58:33 Tom Ellis tags pse verification-needed pse verification-done
2012-02-21 11:35:09 Launchpad Janitor bridge-utils (Ubuntu Oneiric): status Fix Committed Fix Released
2012-02-21 11:35:17 Launchpad Janitor vlan (Ubuntu Oneiric): status Fix Committed Fix Released
2012-02-21 11:35:29 Launchpad Janitor ifenslave-2.6 (Ubuntu Oneiric): status Fix Committed Fix Released
2012-10-15 20:30:00 Chris J Arges bug added subscriber Sustaining Engineering
2014-02-07 15:44:52 Curtis Hovey removed subscriber Registry Administrators