Package: targetcli
Version: 3.0+git0.7e32595e-2
Severity: grave
Justification: renders package unusable

Having tried on two systems (one fresh install netboot system),
and I really can't get this package to do anything at all:

. Give useless error message if kernel modules aren't loaded:

"This RTSRoot does not exist in configFS."

. Fails to save an empty config ( #FIXME )

. Fails to create any usable export config, even for a file backed I/O:


/> ls
o- / .............................................  [...]
  o- backstores ..................................  [...]
  | o- fileio ........................ [0 Storage Object]
  | o- iblock ........................ [0 Storage Object]
  | o- pscsi ......................... [0 Storage Object]
  | o- rd_mcp ........................ [0 Storage Object]
  o- ib_srpt ...............................  [0 Targets]
  o- iscsi .................................  [0 Targets]
  o- loopback ..............................  [0 Targets]
  o- qla2xxx ...............................  [0 Targets]
  o- tcm_fc ................................  [0 Targets]
  o- vhost .................................  [0 Targets]
/> /backstores/fileio 
/backstores/fileio> create test /home/testfile 100m
Generating a wwn serial.
Using buffered mode.
Created fileio test.
/backstores/fileio> cd /
/> saveconfig
WARNING: Saving ermintrude current configuration to disk will overwrite
your boot settings.
The current target configuration will become the default boot config.
Are you sure? Type 'yes': yes
Saving new startup configuration
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line
990, in run_interactive
    self._cli_loop()
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line
820, in _cli_loop
    self.run_cmdline(cmdline)
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line
934, in run_cmdline
    self._execute_command(path, command, pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line
909, in _execute_command
    result = target.execute_command(command, pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_node.py", line
103, in execute_command
    pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/configshell/node.py", line
1416, in execute_command
    result = method(*pparams, **kparams)
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_root.py", line 68,
in ui_command_saveconfig
    CliConfig.save_running_config()
  File "/usr/lib/python2.7/dist-packages/targetcli/cli_config.py", line
65, in save_running_config
    config.load_live()
  File "/usr/lib/python2.7/dist-packages/rtslib/config.py", line 562, in
load_live
    source=source, allow_new_attrs=True)
  File "/usr/lib/python2.7/dist-packages/rtslib/config.py", line 190, in
_load_parse_tree
    token = self.validate_obj(token, cur)
  File "/usr/lib/python2.7/dist-packages/rtslib/config.py", line 385, in
validate_obj
    raise ConfigError("Unknown object type: %s" % obj_type)
ConfigError: Unknown object type: storage
/>


Same problem on previous 3.14 kernel and on both machines.


It seems strange that this managed to get through testing in this state,
as it currently seems completely unusuable.



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages targetcli depends on:
ii  python              2.7.8-1
ii  python-configshell  1.5+git0.0827baa6-2
ii  python-rtslib       3.0+git0.86e46bc6-2

targetcli recommends no packages.

targetcli suggests no packages.

-- debconf-show failed


-- 
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