RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 865739 - tgtd: Can't login to target when configured to use iSNS.
Summary: tgtd: Can't login to target when configured to use iSNS.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: scsi-target-utils
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Andy Grover
QA Contact: Bruno Goncalves
URL:
Whiteboard:
Depends On:
Blocks: 961026
TreeView+ depends on / blocked
 
Reported: 2012-10-12 09:48 UTC by Bruno Goncalves
Modified: 2013-11-21 22:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
tgtd now properly reports its exported targets if configured to report them to an iSNS server.
Clone Of:
Environment:
Last Closed: 2013-11-21 22:28:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1684 0 normal SHIPPED_LIVE scsi-target-utils bug fix update 2013-11-20 21:52:30 UTC

Description Bruno Goncalves 2012-10-12 09:48:40 UTC
Description of problem:
There is some regression.

on scsi-target-utils-1.0.24-2.el6.x86_64 the login do not work even with 1 LUN with 1 target.


Version-Release number of selected component (if applicable):
scsi-target-utils-1.0.24-2.el6.x86_64

How reproducible:
100%


#Previous version it works
scsi-target-utils-1.0.14-4.el6.x86_64

iscsiadm -m discoverydb -t isns -p 127.0.0.1 --discover
Starting iscsid:                                           [  OK  ]
127.0.0.1:3260,1 iqn.2009-10.com.redhat:storage-1
iscsiadm -m node -l
Logging in to [iface: isns_iface, target: iqn.2009-10.com.redhat:storage-1, portal: 127.0.0.1,3260] (multiple)
Login to [iface: isns_iface, target: iqn.2009-10.com.redhat:storage-1, portal: 127.0.0.1,3260] successful.


#Now it fails 
#(It seems the discovery is returning 0 to port)
scsi-target-utils-1.0.24-2.el6.x86_64

iscsiadm -m discoverydb -t isns -p 127.0.0.1 --discover
Starting iscsid:                                           [  OK  ]
127.0.0.1:0,1 iqn.2009-10.com.redhat:storage-1
iscsiadm -m node -l
Logging in to [iface: isns_iface, target: iqn.2009-10.com.redhat:storage-1, portal: 127.0.0.1,0] (multiple)
iscsiadm: Could not login to [iface: isns_iface, target: iqn.2009-10.com.redhat:storage-1, portal: 127.0.0.1,0].
iscsiadm: initiator reported error (8 - connection timed out)

---
Oct 12 05:01:06 storageqe-11 tgtd: print_scn_pdu(655) scn name: 36, iqn.1994-05.com.redhat:storageqe-11
Oct 12 05:01:07 storageqe-11 iscsid: connect to 127.0.0.1:0 failed (Connection refused)
Oct 12 05:01:10 storageqe-11 iscsid: connect to 127.0.0.1:0 failed (Connection refused)
Oct 12 05:01:14 storageqe-11 iscsid: connect to 127.0.0.1:0 failed (Connection refused)

Comment 1 RHEL Program Management 2012-10-12 09:49:48 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 3 Andy Grover 2013-08-27 22:37:58 UTC
proposed fix posted upstream, waiting for comments.

Comment 5 Bruno Goncalves 2013-08-30 17:03:48 UTC
Reproduced on scsi-target-utils-1.0.24-2.el6.x86_64

And verified fix on scsi-target-utils-1.0.24-8.el6.x86_64



iscsiadm -m discoverydb -t isns -p 127.0.0.1 --discover
127.0.0.1:3260,1 iqn.2009-10.com.redhat:storage-1

iscsiadm -m node -l
Logging in to [iface: isns_iface, target: iqn.2009-10.com.redhat:storage-1, portal: 127.0.0.1,3260] (multiple)
Login to [iface: isns_iface, target: iqn.2009-10.com.redhat:storage-1, portal: 127.0.0.1,3260] successful.

Comment 6 errata-xmlrpc 2013-11-21 22:28:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1684.html


Note You need to log in before you can comment on or make changes to this bug.