[sles-beta] [Sleha-beta] ISCSI issues with SLES12B7 - part2 ( ISCSI 'initiator' driver)
Simon Flood
S.M.Flood at ucs.cam.ac.uk
Wed May 28 09:32:11 MDT 2014
On 28/05/2014 15:15, Richard Brown wrote:
> It's included, but it certainly isn't working on my Beta 7 test
> machines.. Reporting that bug, nice catch :)
Nice catch considering I hadn't at that point tried it! ;-)
So having now tried it's also not working for me (in the same way as
your bug #880355) on a freshly installed SLES12 Beta 7 test VM although
I just tried targetcli with no parameters.
I have helped it along a tad by creating the directory
/var/target/fabric which allowed me to run targetcli but trying to then
exit caused another traceback error:
--begin--
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
820, 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
103, in execute_command
pparams, kparams)
File "/usr/lib/python2.7/site-packages/configshell/node.py", line
1416, in execute_command
result = method(*pparams, **kparams)
File "/usr/lib/python2.7/site-packages/targetcli/ui_node.py", line
115, in ui_command_exit
config = Config()
File "/usr/lib/python2.7/site-packages/rtslib/config.py", line 133,
in __init__
self._load_policy()
File "/usr/lib/python2.7/site-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'
---end---
This time creating the directory /var/target/policy does not seem to be
the instant "fix":
--begin--
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
820, 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
103, in execute_command
pparams, kparams)
File "/usr/lib/python2.7/site-packages/configshell/node.py", line
1416, in execute_command
result = method(*pparams, **kparams)
File "/usr/lib/python2.7/site-packages/targetcli/ui_node.py", line
119, in ui_command_exit
config.load_live()
File "/usr/lib/python2.7/site-packages/rtslib/config.py", line 549,
in load_live
parse_tree = self._parser.parse_string(live)
File "/usr/lib/python2.7/site-packages/rtslib/config_parser.py", line
147, in parse_string
return self._parser.parseString(string, parseAll=True).asList()
File "/usr/lib/python2.7/site-packages/pyparsing.py", line 1041, in
parseString
raise exc
ParseException: Expected end of text (at char 0), (line:1, col:1)
---end---
so I tried removing the directory then creating a file instead. It wants
a directory:
--begin--
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
820, 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
103, in execute_command
pparams, kparams)
File "/usr/lib/python2.7/site-packages/configshell/node.py", line
1416, in execute_command
result = method(*pparams, **kparams)
File "/usr/lib/python2.7/site-packages/targetcli/ui_node.py", line
115, in ui_command_exit
config = Config()
File "/usr/lib/python2.7/site-packages/rtslib/config.py", line 133,
in __init__
self._load_policy()
File "/usr/lib/python2.7/site-packages/rtslib/config.py", line 140,
in _load_policy
for path in os.listdir(self.policy_dir)
OSError: [Errno 20] Not a directory: '/var/target/policy'
---end---
Over to SUSE to continue the game ... ! ;-)
HTH,
Simon
--
Simon Flood
Senior Systems Specialist
University of Cambridge
United Kingdom
Novell/SUSE/NetIQ Knowledge Partner
More information about the sles-beta
mailing list