http://bugzilla.suse.com/show_bug.cgi?id=986172 Bug ID: 986172 Summary: [targetcli] ConfigError: Invalid storage identifier 'pscsi': expected type 'rbd', 'iblock', 'fileio', 'rd_mcp' Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: zzhou@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Problem Symptom ================= Malfunction of "saveconfig" or "exit" from targetcli, after configuring a "backstores/pscsi/dev_sda" via the command: 421-lio:/etc/target # targetcli /backstores/pscsi create dev_sda /dev/sda Where /dev/sda is an iscsi/iblock device, and been used to simulate a SCSI disk. Indeed, pscsi functionality works well so far. Error Log ================= 421-lio:/etc/target # targetcli targetcli 2.1-suse (rtslib 2.2-sle12) Copyright (c) 2011-2014 by Datera, Inc. All rights reserved. /> exit 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 553, in load_live source=source, allow_new_attrs=True) File "/usr/lib/python2.7/site-packages/rtslib/config.py", line 190, in _load_parse_tree token = self.validate_obj(token, cur) File "/usr/lib/python2.7/site-packages/rtslib/config.py", line 381, in validate_obj ", ".join(expected_val_types))) ConfigError: Invalid storage identifier 'pscsi': expected type 'rbd', 'iblock', 'fileio', 'rd_mcp' /> Expected Behavior ================= I assume this is a valid configuration, and the error should be removed. Might be worth to book a real SCSI disk server to validate the behavior. -- You are receiving this mail because: You are on the CC list for the bug.