open-iscsi / targetcli-fb

Command shell for managing Linux LIO kernel target
Apache License 2.0
103 stars 69 forks source link

Error when creating iSCSI ACLs . #18

Closed TheImperial2004 closed 11 years ago

TheImperial2004 commented 11 years ago

Whenever I try to create an ACL under iSCSI TPG , the shell throws this :

Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/configshell/shell.py", line 990, in run_interactive self._cli_loop() File "/usr/lib/python2.7/site-packages/configshell/shell.py", line 813, in _cli_loop self.run_cmdline(cmdline) File "/usr/lib/python2.7/site-packages/configshell/shell.py", line 934, in run_cmdline self._execute_command(path, command, pparams, kparams) File "/usr/lib/python2.7/site-packages/configshell/shell.py", line 909, in _execute_command result = target.execute_command(command, pparams, kparams) File "/usr/lib/python2.7/site-packages/targetcli/ui_node.py", line 87, in execute_command pparams, kparams) File "/usr/lib/python2.7/site-packages/configshell/node.py", line 1405, in execute_command result = method(_pparams, *_kparams) File "/usr/lib/python2.7/site-packages/targetcli/ui_target.py", line 489, in ui_command_create ui_node_acl = UINodeACL(node_acl, self) File "/usr/lib/python2.7/site-packages/targetcli/ui_target.py", line 661, in init super(UINodeACL, self).init(name, self.rtsnodes[0], parent) IndexError: list index out of range

This doesn't happen with the RTS branch , it only happens in the FP . Can someone shed some light on this issue ? Thank you in advance .

agrover commented 11 years ago

Thanks for the report!