[Bug 572367] New: ifup script doesn't set correctly a module parameters for bonding devices
http://bugzilla.novell.com/show_bug.cgi?id=572367 http://bugzilla.novell.com/show_bug.cgi?id=572367#c0 Summary: ifup script doesn't set correctly a module parameters for bonding devices Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: nettezzaumanaa@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.15) Gecko/2009102100 SUSE/3.0.15-0.1 Firefox/3.0.15 Hi suse developers. I experienced in suse 11.2 strange behaviour with bonding devices. i have set a configuration for bonding devices by removing /etc/sysconfig/network/ifcfg-eth* and create there a ifcfg-bond0 file with followin content: ---------------------------------- BONDING_MASTER=yes BONDING_SLAVE_1='eth0' BONDING_SLAVE_2='eth1' BONDING_MODULE_OPTS="mode=802.3ad" STARTMODE=onboot BOOTPROTO=static ---------------------------------- . i also put within BONDING_MODULE_OPTS= entry additional settings like "xmit_hash_policy=1 lacp_rate=1", but after `rcnetwork restart` system reports, that cannot use this module options. so i tried to put them in proper format in /etc/modprobe.d/99-local.conf or in obsolete etc/modprobe.conf, but these options are never used. `modinfo bonding` says, that these options are known by module. regards by daniel .. ps. call for more info if needed .. i tried to pack /sys/class/net/bond0/bonding but with no success :p Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=572367
http://bugzilla.novell.com/show_bug.cgi?id=572367#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=572367
http://bugzilla.novell.com/show_bug.cgi?id=572367#c1
Marius Tomaschewski
http://bugzilla.novell.com/show_bug.cgi?id=572367
http://bugzilla.novell.com/show_bug.cgi?id=572367#c2
--- Comment #2 from Marius Tomaschewski
http://bugzilla.novell.com/show_bug.cgi?id=572367
http://bugzilla.novell.com/show_bug.cgi?id=572367#c
Marius Tomaschewski
http://bugzilla.novell.com/show_bug.cgi?id=572367
http://bugzilla.novell.com/show_bug.cgi?id=572367#c3
--- Comment #3 from Daniel Pecka
http://bugzilla.novell.com/show_bug.cgi?id=572367
http://bugzilla.novell.com/show_bug.cgi?id=572367#c4
--- Comment #4 from Marius Tomaschewski
Hi Marius ..
Thanks, it works now pretty nice ;) .. i would never reach this trick. Probably some mention should be added in ReleaseNotes or in manual page ..
That's why I didn't closed it - I'll pickup and improve this for the next version and document in ifup-bonding(5) manual page.
one more issue pains me a bit .. ^ADDRESS entry seems like omitted also even if used as is described in $linux_src/Documentation/network/bonding.txt
What do you mean exactly with "^ADDRESS entry"? The MAC address of the bonding? You can set it in ifcfg-bond0 file using LLADDR variable (see man ifcfg). Bonding defaults to use the MAC of the first slave (see also fail_over_mac bonding option). Note, that the linux/Documentation/networking/bonding.txt describes sysconfig / ifcfg on SLES9/SLES10... needs an update. Now, the udev rule /etc/udev/rules.d/70-persistent-net.rules makes the normal eth0 names persistent. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=572367
http://bugzilla.novell.com/show_bug.cgi?id=572367#c5
--- Comment #5 from Marius Tomaschewski
http://bugzilla.novell.com/show_bug.cgi?id=572367
http://bugzilla.novell.com/show_bug.cgi?id=572367#c6
Marius Tomaschewski
http://bugzilla.novell.com/show_bug.cgi?id=572367
http://bugzilla.novell.com/show_bug.cgi?id=572367#c7
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=572367
http://bugzilla.novell.com/show_bug.cgi?id=572367#c8
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=572367
https://bugzilla.novell.com/show_bug.cgi?id=572367#c9
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=572367
https://bugzilla.novell.com/show_bug.cgi?id=572367#c10
--- Comment #10 from LTC BugProxy
https://bugzilla.novell.com/show_bug.cgi?id=572367
https://bugzilla.novell.com/show_bug.cgi?id=572367#c11
--- Comment #11 from LTC BugProxy
Script successful verified! Thanks
(In reply to comment #8)
Created an attachment (id=56420) --> (http://bugzilla.novell.com/attachment.cgi?id=56420) [details] [details] Fixed ifup-bondig script
This script version fixes a problem when ifup bondX gets called twice and handles the options exactly. Please give it a test!
-- 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.
participants (1)
-
bugzilla_noreply@novell.com