Bug 1441744 - Add support for ethtool_opts option
Summary: Add support for ethtool_opts option
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: os-net-config
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 10.0 (Newton)
Assignee: Dan Sneddon
QA Contact: mlammon
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-12 15:22 UTC by Pierre Blanc
Modified: 2017-09-06 17:09 UTC (History)
9 users (show)

Fixed In Version: os-net-config-5.2.0-3.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-06 17:09:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 445117 0 None MERGED Add support for ethtool_opts option 2021-02-18 09:06:36 UTC
Red Hat Product Errata RHBA-2017:2654 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 10 director Bug Fix Advisory 2017-09-06 20:55:36 UTC

Description Pierre Blanc 2017-04-12 15:22:17 UTC
Description of problem:

Currently it is not possible to configure with nic-config file the ethtool options for an interface.

It is complicate to find a workaround, network interface is a key of a operating system, it can't be changed easily.


Additional info:

The patch exists on master:
https://review.openstack.org/#/c/392697/

Comment 1 Vincent S. Cojot 2017-04-12 15:26:41 UTC
This is a huge issue because:
if you happen to manually write ETHTOOL_OPTS to the ifcfg files, then during a scale-up os-net-config will noticed and tear down/rebuild the network LIVE.

so the only workaround we have is to:
1) add lines to run ethtool into /etc/rc.d/rc.local
2) re-run /etc/rc.d/rc.local if something changes network-wise.
This is unmaintainable. Please backport to OSP10.
Thanks,

Comment 3 Vincent S. Cojot 2017-04-12 15:36:14 UTC
This is an example of the flags that'd be needed (RSS and buffer size):
/sbin/ethtool -N ${mynic} rx-flow-hash udp4 sdfn
/sbin/ethtool -G ${mynic} rx ${bufsz} tx ${bufsz}

Comment 7 errata-xmlrpc 2017-09-06 17:09:30 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-2017:2654


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