-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
None
-
None
-
3
-
False
-
-
False
-
rhel-9
-
None
-
rhel-net-perf
-
-
_N&P-Refined_
-
1
-
Important
What were you trying to do that didn't work?
Add network adapter and quickly remove it before TuneD finished it's initialization.
What is the impact of this issue to you?
TuneD traceback
Please provide the package NVR for which the bug is seen:
How reproducible is this bug?:
Sometimes
Steps to reproduce
- Add network adapter and quickly remove it before TuneD finished it's initialization.
Expected results
No traceback
Actual results
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'
- clones
-
RHEL-97087 Traceback in device_matcher_udev.py, line 17, AttributeError: 'NoneType' object has no attribute 'properties', when hotplugging network adapter
-
- Release Pending
-
- is cloned by
-
FDP-1588 Traceback in device_matcher_udev.py, line 17, AttributeError: 'NoneType' object has no attribute 'properties', when hotplugging network adapter
-
- Closed
-
- links to
-
RHBA-2025:153491 tuned bug fix and enhancement update