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 679046 - [tgtd] - tgtd doesn't support GUID as scsi_id and scsi_sn parameters' value
Summary: [tgtd] - tgtd doesn't support GUID as scsi_id and scsi_sn parameters' value
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: scsi-target-utils
Version: 6.0
Hardware: Unspecified
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Andy Grover
QA Contact: Storage QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-21 12:20 UTC by Max Benenson
Modified: 2011-12-06 18:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 18:58:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
targets.conf file (301 bytes, application/octet-stream)
2011-03-15 21:23 UTC, Max Benenson
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1762 0 normal SHIPPED_LIVE scsi-target-utils bug fix and enhancement update 2011-12-06 01:01:30 UTC

Description Max Benenson 2011-02-21 12:20:49 UTC
Description of problem:
tgtd doesn't support GUID for scsi_id and scsi_sn parameters

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

How reproducible:
Always

Steps to Reproduce:
1. vim /etc/tgt/targets.conf
2. create new target and set random GUIDs as its scsi_id and scsi_sn
3. service tgtd reload
4. tgtadm --op show --mode target
  
Actual results:
the output provided by the last line will display only the part of the original guid

Expected results:
should display the full representation of the guid

Additional info:
Please see scsi_sn and scsi_id of the LUN 1:

Target 3: iqn.2001-04.com.indigo-2211144228087
    System information:
        Driver: iscsi
        State: ready
    I_T nexus information:
        I_T nexus: 18
            Initiator: iqn.1994-05.com.redhat:70f0dac0bc
            Connection: 0
                IP Address: 10.35.106.12
    LUN information:
        LUN: 0
            Type: controller
            SCSI ID: IET     00030000
            SCSI SN: beaf30
            Size: 0 MB
            Online: Yes
            Removable media: No
            Backing store type: rdwr
            Backing store path: None
        LUN: 1
            Type: disk
            SCSI ID: bfbeba75-1429-4908
            SCSI SN: 8d408801-a72e-40a4-8e2b-f3b1e8cd
            Size: 10737 MB
            Online: Yes
            Removable media: No
            Backing store type: rdwr
            Backing store path: /dev/vg_autofiler01/indigo-2211144228087
    Account information:
    ACL information:
        10.35.106.12

Comment 2 Andy Grover 2011-03-08 19:28:41 UTC
please attach sample targets.conf, thanks.

Comment 3 Max Benenson 2011-03-15 21:23:12 UTC
Created attachment 485607 [details]
targets.conf file

Added targets.conf file

Comment 4 Andy Grover 2011-03-24 17:59:16 UTC
looks like field lengths are cutting these off. currently 24 and 32. Upping to 36 will allow guids to fit.

Comment 5 RHEL Program Management 2011-04-04 01:47:01 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

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

Comment 7 Barry Donahue 2011-10-17 17:57:36 UTC
Verified using initial test case on scsi-target-utils-1.0.14-4.el6.x86_64 on RHEL6.2-20111013.1.

Comment 8 errata-xmlrpc 2011-12-06 18:58:44 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-2011-1762.html


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