Version-Release number of selected component: target-restore-2.1.74-6.fc36 Additional info: reporter: libreport-2.17.1 cgroup: 0::/system.slice/target.service cmdline: /usr/bin/python3 -s /usr/bin/targetctl clear crash_function: _gen_attached_luns exception_type: NotADirectoryError executable: /usr/bin/targetctl interpreter: python3-3.10.4-1.fc36.x86_64 kernel: 5.18.5-200.fc36.x86_64 runlevel: N 5 type: Python3 uid: 0 Truncated backtrace: tcm.py:215:_gen_attached_luns:NotADirectoryError: [Errno 20] Not a directory: '/sys/kernel/config/target/iscsi/cpus_allowed_list' Traceback (most recent call last): File "/usr/bin/targetctl", line 82, in <module> main() File "/usr/bin/targetctl", line 79, in main funcs[sys.argv[1]](savefile) File "/usr/bin/targetctl", line 57, in clear RTSRoot().clear_existing(confirm=True) File "/usr/lib/python3.10/site-packages/rtslib_fb/root.py", line 318, in clear_existing so.delete() File "/usr/lib/python3.10/site-packages/rtslib_fb/tcm.py", line 269, in delete for lun in self._gen_attached_luns(): File "/usr/lib/python3.10/site-packages/rtslib_fb/tcm.py", line 215, in _gen_attached_luns for tpgt_dir in listdir(tpgts_base): NotADirectoryError: [Errno 20] Not a directory: '/sys/kernel/config/target/iscsi/cpus_allowed_list' Local variables in innermost frame: self: <FileIOStorageObject fileio/rhv-01> isdir: <function isdir at 0x7f9727071ea0> islink: <function islink at 0x7f9727072950> listdir: <built-in function listdir> realpath: <function realpath at 0x7f9727072d40> path: '/sys/kernel/config/target/core/fileio_0/rhv-01' RTSRoot: <class 'rtslib_fb.root.RTSRoot'> LUN: <class 'rtslib_fb.target.LUN'> TPG: <class 'rtslib_fb.target.TPG'> Target: <class 'rtslib_fb.target.Target'> target_names_excludes: {'discovery_auth', 'version', 'lio_version'} base: '/sys/kernel/config/target/iscsi' fm: <rtslib_fb.fabric.ISCSIFabricModule object at 0x7f9726bd4670> tgt_dir: 'cpus_allowed_list' tpgts_base: '/sys/kernel/config/target/iscsi/cpus_allowed_list'
Created attachment 1891185 [details] File: backtrace
Created attachment 1891186 [details] File: cpuinfo
Created attachment 1891187 [details] File: environ
Created attachment 1891188 [details] File: mountinfo
Created attachment 1891189 [details] File: namespaces
Created attachment 1891190 [details] File: open_fds
FEDORA-2022-c8bc506c49 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-c8bc506c49
FEDORA-2022-c8bc506c49 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-c8bc506c49` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-c8bc506c49 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-c8bc506c49 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.