[Bug 343844] New: vlan on bonding fails to start cleanly
https://bugzilla.novell.com/show_bug.cgi?id=343844 Summary: vlan on bonding fails to start cleanly Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mike@iizuka.co.uk QAContact: qa@suse.de Found By: --- I'm trying to get the following networking setup running: ifcfg-eth0: STARTMODE=off ifcfg-eth1: STARTMODE=off ifcfg-bond0: STARTMODE='auto' BOOTPROTO=static BONDING_MASTER=yes BONDING_MODULE_OPTS='mode=4 miimon=100' BONDING_SLAVE_0=eth0 BONDING_SLAVE_1=eth1 ifcfg-vlan3: STARTMODE=auto IPADDR=192.168.11.3 NETMASK=255.255.255.0 ETHERDEVICE=bond0 + a few more similar vlans When the interfaces are brought up via the init script, the script hangs waiting for mandatory device 'bond0' to appear. After timing out, the script continues and starts the bonding interface and the vlan interface fine, but exits with an error due to the earlier timeout. It appears that the init script expects the ETHERDEVICE variable to be a physical interface. This first issue can be worked around by manually setting MANDATORY_DEVICES="eth0 eth1" in /etc/sysconfig/network/config thereby bypassing the automatic detection. The scripts also appear to be confused by the /sys/class/net/bonding_masters file on a restart, thinking this is also a networking interface, and then go on to probe the vlan devices for their bonding slaves!?!: # rcnetwork restart Shutting down network interfaces: bond0 is still used from interfaces vlan2 vlan3 vlan4 vlan5 vlan2 cat: /sys/class/net/vlan2/bonding/slaves: No such file or directory vlan3 cat: /sys/class/net/vlan3/bonding/slaves: No such file or directory vlan4 cat: /sys/class/net/vlan4/bonding/slaves: No such file or directory vlan5 cat: /sys/class/net/vlan5/bonding/slaves: No such file or directory bond0 now going down itself bond0 bond0 removed slave : eth0 bond0 removed slave : eth1 done vlan2 done vlan3 done vlan4 done vlan5 done bonding_masters Interface not available and no configuration found. done eth0 device: Broadcom Corporation NetXtreme BCM5714 Gigabit Edonenet (rev a3) eth1 device: Broadcom Corporation NetXtreme BCM5714 Gigabit Edonenet (rev a3) Shutting down service network . . . . . . . . . . . . . done Setting up network interfaces: lo lo IP address: 127.0.0.1/8 Checking for network time protocol daemon (NTPD): doneed Interface bonding_masters is not available failed eth0 device: Broadcom Corporation NetXtreme BCM5714 Gigabit Ethernet (rev a3) eth0 Startmode is 'off' skipped eth1 device: Broadcom Corporation NetXtreme BCM5714 Gigabit Ethernet (rev a3) eth1 Startmode is 'off' skipped bond0 bond0 enslaved interface: eth0 bond0 enslaved interface: eth1 Checking for network time protocol daemon (NTPD): doneed vlan2 Checking for network time protocol daemon (NTPD): doneed vlan3 vlan3 IP address: 192.168.11.3/24 Checking for network time protocol daemon (NTPD): doneed vlan4 vlan4 IP address: 192.168.20.17/24 Checking for network time protocol daemon (NTPD): doneed vlan5 vlan5 IP address: 192.168.23.3/24 Checking for network time protocol daemon (NTPD): doneed Setting up service network . . . . . . . . . . . . . . done Something here also confuses the network configuration yast module. When it tries to restart the networking after a configuration change it sometimes leaves all interfaces down and removes the default route from the config file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=343844#c1
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=343844
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=343844
User mt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=343844#c2
--- Comment #2 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=343844
User mt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=343844#c3
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=343844
User mike@iizuka.co.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=343844#c4
--- Comment #4 from Mike Atkin
https://bugzilla.novell.com/show_bug.cgi?id=343844
User mt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=343844#c5
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=343844
User mt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=343844#c6
Marius Tomaschewski
participants (1)
-
bugzilla_noreply@novell.com