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 1494265 - Dracut can not use jumbo frames for interfaces on a bond.
Summary: Dracut can not use jumbo frames for interfaces on a bond.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: dracut
Version: 7.4
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Lukáš Nykrýn
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-21 21:28 UTC by Robert LeBlanc
Modified: 2018-04-10 18:11 UTC (History)
3 users (show)

Fixed In Version: dracut-033-520.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 18:11:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Adds MTU parameter to dracut bond= and configures the bond with the MTU. (2.43 KB, patch)
2017-09-21 21:28 UTC, Robert LeBlanc
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0964 0 None None None 2018-04-10 18:11:41 UTC

Description Robert LeBlanc 2017-09-21 21:28:59 UTC
Created attachment 1329216 [details]
Adds MTU parameter to dracut bond= and configures the bond with the MTU.

Description of problem:
When configuring an interface on a bond to use jumbo frames in dracut, the interfaces are all set to 1500.

Version-Release number of selected component (if applicable):
7.3, 7.4

How reproducible:
Always

Steps to Reproduce:
1. Add ip=10.4.64.21::10.4.64.1:255.255.192.0::br0.1000:none:9000 bond=bond0:eth0:mode=1 bridge=br0:bond0 vlan=br0.1000:br0 to the command line (may also need rd.neednet=1 if not booting over network).
2. Clear out /etc/sysconfig/network-scripts/ifcfg-*
3. Reboot

Actual results:
# ip link
...
4: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP mode DEFAULT group default qlen 1000
...
11: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue master br0 state UP mode DEFAULT group default qlen 1000
12: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
13: br0.1000@br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000

Expected results:
Add ip=10.4.64.21::10.4.64.1:255.255.192.0::br0.1000:none:9000 bond=bond0:eth0:mode=1:9000 bridge=br0:bond0 vlan=br0.1000:br0 to the command line

ip link:
...
4: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond0 state UP mode DEFAULT group default qlen 1000
...
11: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 9000 qdisc noqueue master br0 state UP mode DEFAULT group default qlen 1000
12: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000
13: br0.1000@br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP mode DEFAULT group default qlen 1000

Additional info:
Upstream dracut almost has it right with commit 292548be6ec8e701dab1a532ca072707e890b12e, but there is an error in ifup.sh where $netif should be $bondname. I submitted https://github.com/dracutdevs/dracut/pull/286 to fix that. I'm attaching a good patch that works correctly.

Comment 2 Lukáš Nykrýn 2017-09-22 07:32:41 UTC
Patch looks good to me, let's just wait for the upstream review.

Comment 3 Robert LeBlanc 2017-10-09 16:00:32 UTC
Upstream merged the patch.

Comment 9 errata-xmlrpc 2018-04-10 18:11:08 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/RHBA-2018:0964


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