Skip to content

NotADirectoryError: [Errno 20] Not a directory: '/sys/kernel/config/target/iscsi/cpus_allowed_list' #195

@lentilwallop

Description

@lentilwallop

under linux-6.3, when attempting to delete a backstore/fileio, i get:
NotADirectoryError: [Errno 20] Not a directory: '/sys/kernel/config/target/iscsi/cpus_allowed_list'

offending line (tcm.py line 215 in my version):
"for tpgt_dir in listdir(tpgts_base):"
https://github.com/open-iscsi/rtslib-fb/blob/c1378f28f7abce6f8993a43c34d5e287b092bb1e/rtslib/tcm.py#L218C8-L218C8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions