Created attachment 782864 [details] Demo configuration that triggers the error Description of problem: The /iscsi/<target>/tpg1/acls/<iqn> has lost the configuration group auth. Cannot set CHAP parameters at iqn context This is a regression Version-Release number of selected component (if applicable): targetcli 2.1.fb27 How reproducible: Always Steps to Reproduce: 1. Create block target, iscsi target, lun, acl for initiator 2. cd /iscsi/<target>/acls/<iqn> 3. get Actual results: > get AVAILABLE CONFIGURATION GROUPS ============================== attribute global parameter Expected results: > get AVAILABLE CONFIGURATION GROUPS ============================== attribute global parameter auth Additional info: 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 813, 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 87, in execute_command pparams, kparams) File "/usr/lib/python2.7/site-packages/configshell/node.py", line 1417, in execute_command result = method(*pparams, **kparams) File "/usr/lib/python2.7/site-packages/configshell/node.py", line 714, in ui_command_ls tree = self._render_tree(target, depth=depth) File "/usr/lib/python2.7/site-packages/configshell/node.py", line 865, in _render_tree + self._render_tree(children[i], margin, depth) File "/usr/lib/python2.7/site-packages/configshell/node.py", line 769, in _render_tree (description, is_healthy) = root.summary() File "/usr/lib/python2.7/site-packages/targetcli/ui_target.py", line 152, in summary if fm.discovery_authenticate_target: AttributeError: 'ISCSIFabricModule' object has no attribute 'discovery_authenticate_target'
Type in context it should be /iscsi/<target>/tpg1/acls/<iqn> get parameter ## this will trigger the python error targetcli-2.1.fb26 works with python-rtslib 2.1.fb35 2.1.fb36 - no error targetcli-2.1.fb27 triggers the error with the most recent, and penultimate versions of python-rtslib.
python-rtslib-2.1.fb37-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-rtslib-2.1.fb37-1.fc19
The two updates for python-rtslib and targetcli have fixed the issue for me under Fedora 19. Thank you.
Package python-rtslib-2.1.fb37-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-rtslib-2.1.fb37-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-14307/python-rtslib-2.1.fb37-1.fc19 then log in and leave karma (feedback).
python-rtslib-2.1.fb37-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.