RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1420708 - Stable bond slaves ordering based on the device name
Summary: Stable bond slaves ordering based on the device name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Beniamino Galvani
QA Contact: Desktop QE
Ioanna Gkioka
URL:
Whiteboard:
: 1387506 (view as bug list)
Depends On:
Blocks: vdsm_config_NetworkMgr_to_be_passive 1367261 1393481 1411731 1443347
TreeView+ depends on / blocked
 
Reported: 2017-02-09 10:57 UTC by Edward Haas
Modified: 2021-08-30 11:57 UTC (History)
17 users (show)

Fixed In Version: NetworkManager-1.8.0-0.4.rc1.el7
Doc Type: Release Note
Doc Text:
*NetworkManager* now supports ordering bond slaves based on device names Previously, the existing order of activation for slave connections could cause problems determining the MAC address of the master interface. This update adds more predictable ordering based on device names. You can enable the new ordering using the `slaves-order=name` setting in *NetworkManager* configuration. Note that the new ordering is disabled by default and must be explicitly enabled.
Clone Of:
Environment:
Last Closed: 2017-08-01 09:22:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2715401 0 None None None 2018-02-01 06:40:24 UTC
Red Hat Product Errata RHSA-2017:2299 0 normal SHIPPED_LIVE Moderate: NetworkManager and libnl3 security, bug fix and enhancement update 2017-08-01 12:40:28 UTC

Description Edward Haas 2017-02-09 10:57:43 UTC
Description of problem:
The order in which slaves are attached to a bond is currently unstable, causing some inconsistent behaviour that affects the bond mac address.
In order to try and be consistent and in sync with initscripts logic, it is suggested here to order the slaves attachment by the device name alphabetically.

The alternative of fixing the mac address is not always suitable, especially when the control of devices may be transferred from NM to other controllers (like in the current RHV agent case) and the complexity introduced to the NM user, which needs in such a case to manage these mac addresses.

Comment 2 Yaniv Lavi 2017-02-15 09:51:19 UTC
This is a major issue on bond usage in Cockpit in the RHV hypervisor.
Can we propose this to z stream?

Comment 4 Beniamino Galvani 2017-02-24 10:24:11 UTC
Pushed upstream branch bg/slaves-order-rh1420708 for review.

Comment 7 Lubomir Rintel 2017-03-02 19:22:51 UTC
The branch LGTM

Comment 9 Beniamino Galvani 2017-03-04 08:56:21 UTC
*** Bug 1387506 has been marked as a duplicate of this bug. ***

Comment 10 Thomas Haller 2017-03-04 15:06:26 UTC
(In reply to Beniamino Galvani from comment #4)
> Pushed upstream branch bg/slaves-order-rh1420708 for review.

lgtm

Comment 14 Beniamino Galvani 2017-03-23 12:44:48 UTC
As stated here [1], initscripts simply ignore interfaces that appear
too late in the boot process and thus any late slave device will not
even be activated. NM works better in this situation because it
activates the slave when it appears, but of course it can't guarantee
the order of activation. For such corner cases, the suggested solution
is to set a fixed MAC address on the bond.

To wrap this up, I would merge bg/slaves-order-rh1420708 so that at
least we have an activation order consistent with initscripts in most
of the cases.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1060330#c35

Comment 15 Francesco Giudici 2017-03-27 09:38:55 UTC
lgtm

Comment 18 Yaniv Lavi 2017-05-02 14:25:55 UTC
Can you please clone this one?

Comment 19 Beniamino Galvani 2017-05-04 09:11:33 UTC
(In reply to Yaniv Dary from comment #18)
> Can you please clone this one?

Do you want this to be cloned for 7.3.z? As stated in comment 5 and comment 8, we don't think this change is suitable for z-stream inclusion.

Comment 20 errata-xmlrpc 2017-08-01 09:22:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:2299


Note You need to log in before you can comment on or make changes to this bug.