View Issue Details

IDProjectCategoryView StatusLast Update
0014894CentOS-7kernelpublic2018-11-15 12:03
Status newResolutionopen 
Platformx86_64OScentos 7OS Version7.2.1511
Product Version7.2.1511 
Target VersionFixed in Version 
Summary0014894: target: use per-attribute show and store methods
DescriptionHi ! I'm unable to create fiber channel target. I have a following error in targetcli :
/qla2xxx> create 0x2100001b3215632f
Traceback (most recent call last):
  File "/usr/bin/targetcli", line 122, in <module>
  File "/usr/bin/targetcli", line 112, in main
  File "/usr/lib/python2.7/site-packages/configshell_fb/", line 905, in run_interactive
  File "/usr/lib/python2.7/site-packages/configshell_fb/", line 734, in _cli_loop
  File "/usr/lib/python2.7/site-packages/configshell_fb/", line 848, in run_cmdline
    self._execute_command(path, command, pparams, kparams)
  File "/usr/lib/python2.7/site-packages/configshell_fb/", line 823, in _execute_command
    result = target.execute_command(command, pparams, kparams)
  File "/usr/lib/python2.7/site-packages/configshell_fb/", line 1406, in execute_command
    return method(*pparams, **kparams)
  File "/usr/lib/python2.7/site-packages/targetcli/", line 195, in ui_command_create
    ui_target = UITarget(target, self)
  File "/usr/lib/python2.7/site-packages/targetcli/", line 555, in __init__
    self.rtsnode.enable = True
  File "/usr/lib/python2.7/site-packages/rtslib_fb/", line 241, in _set_enable
    if os.path.isfile(path) and (boolean != self._get_enable()):
  File "/usr/lib/python2.7/site-packages/rtslib_fb/", line 230, in _get_enable
    return bool(int(fread(path)))
  File "/usr/lib/python2.7/site-packages/rtslib_fb/", line 100, in fread
    with open(path, 'r') as file_fd:
IOError: [Errno 13] Permission denied: '/sys/kernel/config/target/qla2xxx/21:00:00:1b:32:15:63:2f/tpgt_1/enable'
cat: /sys/kernel/config/target/qla2xxx/21:00:00:1b:32:15:63:2f/tpgt_1/enable: Permission denied

I've found that 4.4 patched with .
Please apply patch to 3.10.*

Steps To Reproducein targetcli create target :
/qla2xxx> create 0x2100001b3215632f
Additional Informationtarget kernel module exist only in centosplus kernel
Tagskernel, target




2018-05-31 13:01

reporter   ~0031976

Issue History

Date Modified Username Field Change
2018-05-31 12:56 xxmail New Issue
2018-05-31 12:56 xxmail Tag Attached: kernel
2018-05-31 12:56 xxmail Tag Attached: target
2018-05-31 13:01 xxmail Note Added: 0031976