Thank you for this bug report. I'm just replying to say that I'll look into these issues very soon. THanks.
Jerome: In case if you have time, there recently have been a couple of bug reports filed against targetcli, for the newer version. I haven't looked at them at all, but if you have time, you may want to look at them too. Some of them may be related to upstream code. On Tuesday 07 October 2014 04:30 PM, Tim Small wrote: > Package: targetcli > Version: 3.0+git0.7e32595e-2 > Severity: important > > On a new install, on Jessie: > > > > root@ermintrude:/home/tim/Downloads# targetcli > targetcli GIT_VERSION (rtslib GIT_VERSION) > Copyright (c) 2011-2014 by Datera, Inc. > All rights reserved. > > /backstores/iblock/win7> exit > 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 > 216, in execute_command > return UINode.execute_command(self, 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_node.py", line > 115, in ui_command_exit > config = Config() > File "/usr/lib/python2.7/dist-packages/rtslib/config.py", line 133, in > __init__ > self._load_policy() > File "/usr/lib/python2.7/dist-packages/rtslib/config.py", line 140, in > _load_policy > for path in os.listdir(self.policy_dir) > OSError: [Errno 2] No such file or directory: '/var/target/policy' > /backstores/iblock/win7> Quit > > -- System Information: > Debian Release: jessie/sid > APT prefers testing > APT policy: (500, 'testing') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 3.14-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. > > -- no debconf information -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
signature.asc
Description: OpenPGP digital signature