Bug 876374
| Summary: | Creating portal in targetcli fails with "'module' object has no attribute 'list_eth_ips'" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Reto Gantenbein <reto.gantenbein> | ||||
| Component: | python-rtslib | Assignee: | Andy Grover <agrover> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 18 | CC: | agrover, bruno, tomek | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-11-23 02:56:20 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
ups... sorry, i confused the terms, still new to this stuff: s/initiator/target/g sorry about that, will take a look tomorrow. python-rtslib-2.1.fb24-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-rtslib-2.1.fb24-1.fc18 python-rtslib-2.1.fb24-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/python-rtslib-2.1.fb24-1.fc17 Package python-rtslib-2.1.fb24-1.fc18: * should fix your issue, * was pushed to the Fedora 18 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.fb24-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-18175/python-rtslib-2.1.fb24-1.fc18 then log in and leave karma (feedback). Hello, I confirm the update (for F17) is working fine. After a "yum update --enablerepo=updates-testing python-rtslib" I can create the portal : /> cd iscsi/iqn.2002-01.be.yyy:godzilla/tpg1/portals /iscsi/iqn.20.../tpg1/portals> create 192.168.130.105 Using default IP port 3260 Created network portal 192.168.130.105:3260. /iscsi/iqn.20.../tpg1/portals> create 192.168.131.105 Using default IP port 3260 Created network portal 192.168.131.105:3260. /iscsi/iqn.20.../tpg1/portals> python-rtslib-2.1.fb24-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. python-rtslib-2.1.fb24-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 644461 [details] targetcli saveconfig.json Description of problem: I tried to setup a iSCSI initiator with the current Fedora 18. When trying to create a portal, the command fails with a python stacktrace. Version-Release number of selected component (if applicable): targetcli-2.0rc1.fb17-1.fc18 How reproducible: always Steps to Reproduce: 1. run targetcli 2. setup a backstore/iscsi initiator 3. create a portal Actual results: /iscsi/iqn.20.../tpg1/portals> create 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 84, in execute_command pparams, kparams) File "/usr/lib/python2.7/site-packages/configshell/node.py", line 1405, in execute_command result = method(*pparams, **kparams) File "/usr/lib/python2.7/site-packages/targetcli/ui_target.py", line 977, in ui_command_create if ip_address not in utils.list_eth_ips() and ip_address != "0.0.0.0": AttributeError: 'module' object has no attribute 'list_eth_ips' Expected results: portal for my iscsi initiator is created Additional info: see attached saveconfig.json