+++ This bug was initially created as a clone of Bug #499884 +++ Description of problem: The preferred primary setting is lost when you bring down the primary slave. This preference is not restored after you bring it back up. Version-Release number of selected component (if applicable): How reproducible: By just resetting the primary slave. Steps to Reproduce: 1. Set up one of the slave as the primary slave 2. cat /proc/net/bonding/bond? to see that it is set. 3. ifdown primary slave 4. ifup primary slave 5. The preferred setting is not restored. 6. An ifdown and ifup of the bond will restore the setting. Actual results: The preferred setting is lost. Expected results: The preferred setting should be restored once the primary slave cam back up. Additional info: --- Additional comment from agospoda on 2009-05-12 12:01:10 EDT --- While this may be a bug, the 'primary' feature is designed to be used when an interface actually goes down due to a link failure not simply adding it and removing it from the bond. Can you confirm that still works? --- Additional comment from mschmidt on 2009-05-13 06:28:34 EDT --- Which bonding mode do you use? --- Additional comment from jpirko on 2009-05-13 10:07:36 EDT --- (In reply to comment #1) > While this may be a bug, the 'primary' feature is designed to be used when an > interface actually goes down due to a link failure not simply adding it and > removing it from the bond. Can you confirm that still works? I disagree here. The 'primary' option is set once (at the module load) and it should be looked at in every time. Even if the interface is temporary removed from the bond and added back in. Actually when you unplug the primary interface cable and plug it back then active slave is switched to primary interface. This issue appears only in tlb and alb mode (not in active-backup). Following upstream patch fixes this issue: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=5a29f7893fbe681f1334285be7e41e56f0de666c
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Committed in 89.4.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0263.html