-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.18.z
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
Important
-
None
-
None
-
None
-
None
-
None
-
Customer Facing
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
When an SR-IOV policy defining DPDK devices is created on a node running OCP 4.18.17, the NTO marks the policy as degraded after a reboot. There is a traceback seen in the Tuned pod.
Version-Release number of selected component (if applicable):
OCP 4.18.17 ocp-tuned v4.18.0-202506020036.p0.gc004ea7.assembly.stream.el9-0-ge19b57 f-dirty
How reproducible:
Always
Steps to Reproduce:
1. Set up node with Performance profile, Tuned resource defining devices_udev_regex for the [net] plugin, and SR-IOV operator with several SriovNetworkNodePolicies creating DPDK VFs. 2. Reboot
Actual results:
NAME TUNED APPLIED DEGRADED MESSAGE AGE nodename tuned-name True True TuneD profile applied. 22m Tuned pod has the following traceback: 2025-06-11T14:38:11.586533655Z 2025-06-11 14:38:11,586 ERROR tuned.hardware.inventory: Exception occured in event handler of '<tuned.plugins.plugin_net.NetTuningPlugin object at 0x7f9659fea4c0>'. 2025-06-11T14:38:11.589097019Z 2025-06-11 14:38:11,586 ERROR tuned.hardware.inventory: 'NoneType' object has no attribute 'items' 2025-06-11T14:38:11.589097019Z Traceback (most recent call last): 2025-06-11T14:38:11.589097019Z File "/usr/lib/python3.9/site-packages/tuned/hardware/device_matcher_udev.py", line 17, in match 2025-06-11T14:38:11.589097019Z items = device.properties.items() 2025-06-11T14:38:11.589097019Z AttributeError: 'NoneType' object has no attribute 'properties' 2025-06-11T14:38:11.589097019Z 2025-06-11T14:38:11.589097019Z During handling of the above exception, another exception occurred: 2025-06-11T14:38:11.589097019Z 2025-06-11T14:38:11.589097019Z Traceback (most recent call last): 2025-06-11T14:38:11.589136185Z File "/usr/lib/python3.9/site-packages/tuned/hardware/inventory.py", line 74, in _handle_udev_event 2025-06-11T14:38:11.589136185Z callback(event, device) 2025-06-11T14:38:11.589136185Z File "/usr/lib/python3.9/site-packages/tuned/plugins/plugin_net.py", line 204, in _hardware_events_callback 2025-06-11T14:38:11.589136185Z super(NetTuningPlugin, self)._hardware_events_callback(event, device) 2025-06-11T14:38:11.589136185Z File "/usr/lib/python3.9/site-packages/tuned/plugins/hotplug.py", line 31, in _hardware_events_callback 2025-06-11T14:38:11.589136185Z self._add_device(device.sys_name) 2025-06-11T14:38:11.589136185Z File "/usr/lib/python3.9/site-packages/tuned/plugins/hotplug.py", line 53, in _add_device 2025-06-11T14:38:11.589136185Z if len(self._get_matching_devices(instance, [device_name])) == 1: 2025-06-11T14:38:11.589136185Z File "/usr/lib/python3.9/site-packages/tuned/plugins/base.py", line 164, in _get_matching_devices 2025-06-11T14:38:11.589136185Z udev_devices = self._device_matcher_udev.match_list(instance.devices_udev_regex, udev_devices) 2025-06-11T14:38:11.589136185Z File "/usr/lib/python3.9/site-packages/tuned/hardware/device_matcher.py", line 51, in match_list 2025-06-11T14:38:11.589136185Z if self.match(rules, device): 2025-06-11T14:38:11.589136185Z File "/usr/lib/python3.9/site-packages/tuned/hardware/device_matcher_udev.py", line 19, in match 2025-06-11T14:38:11.589136185Z items = device.items() 2025-06-11T14:38:11.589136185Z AttributeError: 'NoneType' object has no attribute 'items'
Expected results:
Profile not degraded
Additional info:
- depends on
-
RHEL-97087 Traceback in device_matcher_udev.py, line 17, AttributeError: 'NoneType' object has no attribute 'properties', when hotplugging network adapter
-
- Release Pending
-
- is related to
-
OCPBUGS-56442 OCP 4.18+ | Node Tuning Operator is marked as degraded during IPI wait-for-install process
-
- Verified
-