Bug 1943291
Summary: | Tuned plugin_net dumps a traceback while adjusting the netdev queue count | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Nitesh Narayan Lal <nilal> |
Component: | tuned | Assignee: | Jaroslav Škarvada <jskarvad> |
Status: | CLOSED ERRATA | QA Contact: | Robin Hack <rhack> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.4 | CC: | jeder, jskarvad, jzerdik, rhack |
Target Milestone: | rc | Keywords: | Patch, TestCaseProvided, Triaged, Upstream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tuned-2.16.0-0.1.rc1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-09 19:58:24 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: |
Description
Nitesh Narayan Lal
2021-03-25 18:00:06 UTC
What happens here is that in rhel8.4 the mode that a network device doesn't support is represented by 'n/a' instead of 0: [root@virtlab512 ~]# ethtool -l eno1 Channel parameters for eno1: Pre-set maximums: RX: 4 TX: 4 Other: n/a Combined: n/a -> Not supported mode by eno1 Current hardware settings: RX: 4 TX: 1 Other: n/a Combined: n/a In previous kernels this used to be 0: [root@virtlab719 ~]# ethtool -l p3p1 Channel parameters for p3p1: Pre-set maximums: RX: 0 -> Not supported mode by p3p1 TX: 0 -> Not supported mode by p3p1 Other: 1 Combined: 80 Current hardware settings: RX: 0 TX: 0 Other: 1 Combined: 4 Because of this the plugin_net script fails when it tries to do "int(dev_params[next(iter(d))])" for checking whether the command adjustment is required or not: # replace the channel parameters based on the device support if context == "channels" and int(dev_params[next(iter(d))]) == 0: One possible fix for this is to replace the above with the following: if context == "channels" and (dev_params[next(iter(d))] == 0 or dev_params[next(iter(d))] == 'n/a'): Upstream PR: https://github.com/redhat-performance/tuned/pull/336 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 (tuned 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:4476 |