Red Hat Bugzilla – Bug 500637
A bond's preferred primary setting is lost after bringing down and up of the primary slave.
Last modified: 2015-05-04 21:16:55 EDT
+++ 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):
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.
The preferred setting is lost.
The preferred setting should be restored once the primary slave cam back up.
--- Additional comment from email@example.com 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 firstname.lastname@example.org on 2009-05-13 06:28:34 EDT ---
Which bonding mode do you use?
--- Additional comment from email@example.com 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:
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
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.