Public bug reported: My System info root@naaaaaas:/sys/class# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu quantal (development branch) Release: 12.10 Codename: quantal root@naaaaaas:/sys/class# root@naaaaaas:/sys/class# uname -a Linux naaaaaas 3.5.0-11-generic #11-Ubuntu SMP Thu Aug 16 21:03:52 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
when I create FC target,the error is it. root@naaaaaas:/etc/apt# targetcli Welcome to the targetcli shell: Copyright (c) 2011 by RisingTide Systems LLC. Visit us at http://www.risingtidesystems.com. Using loopback fabric module. Using ib_srpt fabric module. Using qla2xxx fabric module. Using iscsi fabric module. Using tcm_fc fabric module. /backstores/iblock> ls o- iblock ................................................... [0 Storage Object] /backstores/iblock> create name=san_boot dev=/dev/sdb Generating a wwn serial. Created iblock storage object san_boot using /dev/sdb. Entering new node /backstores/iblock/san_boot /backstores/iblock/san_boot> ls o- san_boot ............................................. [/dev/sdb deactivated] /backstores/iblock/san_boot> ls / o- / ..................................................................... [...] o- backstores .......................................................... [...] | o- fileio ............................................... [0 Storage Object] | o- iblock ............................................... [1 Storage Object] | | o- san_boot ....................................... [/dev/sdb deactivated] | o- pscsi ................................................ [0 Storage Object] | o- rd_dr ................................................ [0 Storage Object] | o- rd_mcp ............................................... [0 Storage Object] o- ib_srpt ........................................................ [0 Target] o- iscsi .......................................................... [0 Target] o- loopback ....................................................... [0 Target] o- qla2xxx ........................................................ [0 Target] o- tcm_fc ......................................................... [0 Target] /backstores/iblock/san_boot> /qla2xxx create 21:01:00:1b:32:3e:cd:66 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 157, in execute_command return UINode.execute_command(self, 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 119, in ui_command_create target = Target(self.rtsnode, wwn, mode='create') File "/usr/lib/python2.7/dist-packages/rtslib/target.py", line 1252, in __init__ self._create_in_cfs_ine(mode) File "/usr/lib/python2.7/dist-packages/rtslib/node.py", line 71, in _create_in_cfs_ine os.mkdir(self.path) OSError: [Errno 22] Invalid argument: '/sys/kernel/config/target/qla2xxx/21:01:00:1b:32:3e:cd:66' /backstores/iblock/san_boot> detail info ,please see atteched file. ** Affects: targetcli (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1040404 Title: targetcli can't create FC target To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/targetcli/+bug/1040404/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
