Package: targetcli
Version: 2.0rc1-2

Trying to remove lun0 I got an internal error:

/iscsi/iqn.20...27f9e3c/tpgt1> luns/ ls
o- luns 
.......................................................................................................
 [2 LUNs]
  o- lun0 ....................................................... 
[iblock/fpp6ap001.rootpv (/dev/vg00/fpp6ap001.rootpv)]
  o- lun1 ....................................................... 
[iblock/fpp6ap002.rootpv (/dev/vg00/fpp6ap002.rootpv)]
/iscsi/iqn.20...27f9e3c/tpgt1> luns/ delete lun0
Invalid LUN index: lun0
/iscsi/iqn.20...27f9e3c/tpgt1> luns/ delete 0
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 983, in 
run_interactive
    self._cli_loop()
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 806, in 
_cli_loop
    self.run_cmdline(cmdline)
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 927, in 
run_cmdline
    self._execute_command(path, command, pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 902, in 
_execute_command
    result = target.execute_command(command, pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_node.py", line 85, in 
execute_command
    pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/configshell/node.py", line 1405, in 
execute_command
    result = method(*pparams, **kparams)
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_target.py", line 804, in 
ui_command_delete
    lun_object.delete()
  File "/usr/lib/python2.7/dist-packages/rtslib/target.py", line 501, in delete
    [mlun.delete() for mlun in self._list_mapped_luns()]
  File "/usr/lib/python2.7/dist-packages/rtslib/target.py", line 488, in 
_list_mapped_luns
    % (base, nodeacl, mapped_lun))
OSError: [Errno 20] Not a directory: 
'/sys/kernel/config/target/iscsi/iqn.2003-01.org.linux-iscsi.nasl002a.x8664:sn.2f2cf27f9e3c/tpgt_1/acls//iqn.2014-01.de.aixigo.ac.srva003/tag'


Upgrading to version 2.1-1 did not work, either (see #751226).
I am stuck.


Regards
Harri


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to