tuned service fails with error DeviceNotFoundAtPathError
Issue
tunedservice fails with errorDeviceNotFoundAtPathError:
tuned[2890]: Exception in thread Thread-1:
tuned[2890]: Traceback (most recent call last):
tuned[2890]: File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
tuned[2890]: self.run()
tuned[2890]: File "/usr/lib64/python2.7/threading.py", line 765, in run
tuned[2890]: self.__target(*self.__args, **self.__kwargs)
tuned[2890]: File "/usr/lib/python2.7/site-packages/tuned/daemon/daemon.py", line 137, in _thread_code
tuned[2890]: self._unit_manager.create(self._profile.units)
tuned[2890]: File "/usr/lib/python2.7/site-packages/tuned/units/manager.py", line 78, in create
tuned[2890]: instance.plugin.init_devices()
tuned[2890]: File "/usr/lib/python2.7/site-packages/tuned/plugins/base.py", line 49, in init_devices
tuned[2890]: self._init_devices()
tuned[2890]: File "/usr/lib/python2.7/site-packages/tuned/plugins/plugin_disk.py", line 31, in _init_devices
tuned[2890]: for device in self._hardware_inventory.get_devices("block"):
tuned[2890]: File "/usr/lib/python2.7/site-packages/pyudev/core.py", line 406, in __iter__
tuned[2890]: yield Device.from_sys_path(self.context, name)
tuned[2890]: File "/usr/lib/python2.7/site-packages/pyudev/device.py", line 224, in from_sys_path
tuned[2890]: raise DeviceNotFoundAtPathError(sys_path)
tuned[2890]: DeviceNotFoundAtPathError: No device at '/sys/devices/platform/host20/session5/target20:0:0/20:0:0:147/block/sds/sds1'
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.