Tuned degraded due to error "Executing 'ethtool -l ens2f0v1' error: netlink error: no device matches name (offset 24)"
Issue
On a SNO(Single Node OpenShift) cluster with realtime kerne, workload partitioning enabled and bunch of SR-IOV network created, when the node is rebooted, there is a chance that tuned profile got degraded due to error below:
Message: TuneD daemon issued one or more error message(s) during profile application. TuneD stderr: ERROR tuned.utils.commands: Executing 'ethtool -l ens2f0v1' error: netlink error: no device matches name (offset 24)
Tuned pod logs sample:
2024-09-23T15:10:04.769734840Z 2024-09-23 15:10:04,769 ERROR tuned.utils.commands: Executing 'ethtool -l eth0' error: netlink error: no device matches name (offset 24)
2024-09-23T15:10:04.769734840Z netlink error: No such device
2024-09-23T15:10:05.024260240Z 2024-09-23 15:10:05,023 ERROR tuned.utils.commands: Executing 'ethtool -l eth4' error: netlink error: no device matches name (offset 24)
2024-09-23T15:10:05.024335794Z netlink error: No such device
2024-09-23T15:10:05.042772234Z 2024-09-23 15:10:05,042 ERROR tuned.utils.commands: Executing 'ethtool -l eth3' error: netlink error: no device matches name (offset 24)
2024-09-23T15:10:05.042846515Z netlink error: No such device
2024-09-23T15:10:05.056337144Z 2024-09-23 15:10:05,056 ERROR tuned.utils.commands: Executing 'ethtool -l eth5' error: netlink error: no device matches name (offset 24)
2024-09-23T15:10:05.056392892Z netlink error: No such device
2024-09-23T15:10:05.354676004Z 2024-09-23 15:10:05,354 ERROR tuned.utils.commands: Executing 'ethtool -l eth6' error: netlink error: no device matches name (offset 24)
2024-09-23T15:10:05.354750797Z netlink error: No such device
2024-09-23T15:10:05.379260544Z 2024-09-23 15:10:05,378 ERROR tuned.utils.commands: Executing 'ethtool -l eth2' error: netlink error: no device matches name (offset 24)
2024-09-23T15:10:05.379334352Z netlink error: No such device
Environment
- Red Hat OpenShift Container Platform (RHOCP, OCP)
- 4.16+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.