Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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

Summary: Dracut can not use jumbo frames for interfaces on a bond.
Product: Red Hat Enterprise Linux 7 Reporter: Robert LeBlanc <robert>
Component: dracutAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.4CC: dracut-maint-list, jikortus, jstodola
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: dracut-033-520.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 18:11:08 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:
Attachments:
Description Flags
Adds MTU parameter to dracut bond= and configures the bond with the MTU. none

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