Bug 504666
Summary: | When using iscsi ifaces with different initiator names only the default name is used for discovery | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Mike Christie <mchristi> |
Component: | iscsi-initiator-utils | Assignee: | Mike Christie <mchristi> |
Status: | CLOSED ERRATA | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.4 | CC: | bdonahue, coughlan, ctatman, jfeeney, mchristi, mnovacek, shyam_iyer, tao, wwlinuxengineering |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-03-30 08:57:19 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 557926 |
Description
Mike Christie
2009-06-08 18:25:33 UTC
Here is a workaround in case the fix for this does make it into 5.4. You only need this if your discovery ACLs use the initiatorname and you are setting those ACLs based on the iface initiatorname and not the name in /etc/iscsi/initiatorname.iscsi. 1. Create your ifaces with the initiatorname (iname) you want to use. 2. Edit /etc/iscsi/initiatorname.iscsi with one of the inames. 3. Run the discovery command and pass in the iface for the iname that is being used in step 2 iscsiadm -m discovery -t st -p ip -I ifaceX (note: I am passing in the "-o new" argument since I just want to add new portals and iface bindings). 4. Edit /etc/iscsi/initiatorname.iscsi again and add another one of the ifaces inames. 5. Run the discovery command again, and pass in the iface for the iname that is being used in step 4, and also pass in the "-o new" argument: iscsiadm -m discovery -t st -p ip -I ifaceX (note: I am passing in the "-o new" argument since I just want to add new portals and iface bindings and I do not want to remove the ones that were created in #3). 6. Repeat #4 and %5 for each iface You can download the new rpm here: http://people.redhat.com/mchristi/iscsi/rhel5.5/iscsi-initiator-utils/ An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0293.html |