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 1881463 - [RFE] Requesting ability to configure the runner for team interfaces in dracut.cmdline/installations
Summary: [RFE] Requesting ability to configure the runner for team interfaces in dracu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: dracut
Version: 8.3
Hardware: All
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Lukáš Nykrýn
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-22 13:07 UTC by jcastran
Modified: 2023-12-15 19:28 UTC (History)
6 users (show)

Fixed In Version: dracut-049-129.git20210107.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:02:47 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github dracutdevs dracut pull 960 0 None closed Configure the runner for team interfaces 2021-02-18 12:18:33 UTC

Description jcastran 2020-09-22 13:07:36 UTC
Requesting the ability to configure the runners for a team interface similar to bond.

# man dracut.cmdline
       bond=<bondname>[:<bondslaves>:[:<options>[:<mtu>]]]
vs     team=<teammaster>:<teamslaves>

This impacts the ability of customers to perform network installations when LACP is required. There is no way to get to stage2 and get the kickstart without configuring this first and we can't do it in dracut.

Comment 2 Ben 2020-09-23 12:04:59 UTC
I would dearly love to see this functionality added to RHEL7, please.  There's an inability to Kickstart RHEL7 with LACP-teamed interfaces at present.

I can't imagine I'm the only person in the world with dual-homed servers who want to not have to make extra configuration steps post-install?

Comment 4 David Tardon 2020-10-01 08:09:20 UTC
(In reply to Ben from comment #2)
> I would dearly love to see this functionality added to RHEL7, please. 

Sorry, but that ship has sailed...

Comment 5 trumbaut 2020-10-23 09:29:22 UTC
In /usr/lib/dracut/hooks/cmdline/96-parse-team.sh the runner is hard coded set to "activebackup". It should be fairly easy to allow an additional parameter here so that we can select "lacp" too. If someone points me to the right git repository, I will add a MR.

Comment 6 Ben 2020-10-23 09:47:22 UTC
(In reply to trumbaut from comment #5)
> In /usr/lib/dracut/hooks/cmdline/96-parse-team.sh the runner is hard coded
> set to "activebackup". It should be fairly easy to allow an additional
> parameter here so that we can select "lacp" too. If someone points me to the
> right git repository, I will add a MR.

If you can add the ability to configure the following, that'd be amazing.

"{\"runner\": {\"name\": \"lacp\", \"tx_hash\": [\"eth\", \"ipv4\", \"ipv6\"]}, \"link_watch\": {\"name\": \"ethtool\"}, \"ports\": {\"em1\": {}, \"em2\": {}}, \"tx_balancer\": {\"name\": \"basic\"}}"

However, I guess I can add the extra stuff once the OS is up and running (and accessible through the teamed connection).

Comment 7 trumbaut 2020-10-23 11:04:50 UTC
I've added https://github.com/dracutdevs/dracut/pull/960. Please review.

(In reply to Ben from comment #6)
> If you can add the ability to configure the following, that'd be amazing.
> 
> "{\"runner\": {\"name\": \"lacp\", \"tx_hash\": [\"eth\", \"ipv4\",
> \"ipv6\"]}, \"link_watch\": {\"name\": \"ethtool\"}, \"ports\": {\"em1\":
> {}, \"em2\": {}}, \"tx_balancer\": {\"name\": \"basic\"}}"
> 
> However, I guess I can add the extra stuff once the OS is up and running
> (and accessible through the teamed connection).

My PR doesn't allow to configure all details, but at least the runner type can now be customized. This should be enough for LACP. Other settings can be configured afterwards.

Comment 8 trumbaut 2020-10-26 12:23:53 UTC
My PR is in the dracut master branch now: https://github.com/dracutdevs/dracut/commit/e4483e5917b59918260ff0f0345abbea4a537f12.

Comment 15 errata-xmlrpc 2021-05-18 15:02:47 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 (dracut bug fix and enhancement update), 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/RHBA-2021:1661


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