Bug 1881463
| Summary: | [RFE] Requesting ability to configure the runner for team interfaces in dracut.cmdline/installations | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | jcastran |
| Component: | dracut | Assignee: | Lukáš Nykrýn <lnykryn> |
| Status: | CLOSED ERRATA | QA Contact: | Frantisek Sumsal <fsumsal> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.3 | CC: | ben.argyle, dcain, dracut-maint-list, dtardon, fsumsal, thomas.rumbaut |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | 8.0 | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | dracut-049-129.git20210107.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-05-18 15:02:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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? (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... 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. (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). 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. My PR is in the dracut master branch now: https://github.com/dracutdevs/dracut/commit/e4483e5917b59918260ff0f0345abbea4a537f12. 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 |
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.