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 739160 - Provide a method to reuse iSIDs for consistent SCSI reservations
Summary: Provide a method to reuse iSIDs for consistent SCSI reservations
Keywords:
Status: CLOSED DUPLICATE of bug 745579
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: iscsi-initiator-utils
Version: 6.2
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Andy Grover
QA Contact: Storage QE
URL:
Whiteboard:
Depends On:
Blocks: 767187
TreeView+ depends on / blocked
 
Reported: 2011-09-16 15:56 UTC by Lon Hohberger
Modified: 2012-06-26 16:26 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-02 21:25:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lon Hohberger 2011-09-16 15:56:34 UTC
Description of problem:

The Linux iSCSI initiator shipped with RHEL 6 has a deficiency when it comes to SCSI reservations and registrations.

SCSI registrations are (as I understand it) supposed to be tied to the session ID (initiator,target,isid tuple) in iSCSI targets.  This is fine, but because the our iSCSI initiator does not conservatively reuse iSIDs (an optional, recommended feature; see 9.1.1 of the iSCSI standard), a new session is formed on each reboot.

Our cluster software can write-exclusive, registrants-only SCSI reservations as a method to perform I/O fencing.  On each boot, the cluster nodes acquire registrations on devices in order to gain access.

With the current initiator behavior, these registration keys can be duplicated - since the keys are tied to the iSCSI session, and a new session is established on each reboot due to shifting iSIDs.

Contrast to FC, where there is no notion of iSID: rebooting will not cause registration keys to be duplicated.

Thus, our cluster software and likely other applications which rely on SCSI registrations/reservations cannot work predictably.

This feature request is to implement some sort of optional method to reuse iSIDs (minimally, across reboots) in order to prevent multiple sessions from forming in environments where they are not desired.

Comment 2 Lon Hohberger 2011-09-16 16:00:09 UTC
I should rephrase my first statement:

"The Linux iSCSI initiator shipped with RHEL 6 has a deficiency when it comes to
SCSI reservations and registrations."

This isn't a deficiency/bug/problem, but simply a missing optional feature.

Comment 4 Lon Hohberger 2011-09-16 16:06:24 UTC
Note that this behavior does not cause problems with all arrays.  Some arrays ignore the iSID (which is as, I understand it, incorrect behavior).  Arrays which ignore the iSID do not exhibit duplicate keys.

Some arrays clear all keys for all I_T nexuses/sessions when a host preempts-and-aborts itself.

Comment 5 Mike Christie 2011-10-04 22:55:45 UTC
This is not going to make 6.2.

It should be doable for rhel 5.8 and rhel 6.3 though.

Comment 7 Mike Christie 2012-05-02 21:25:30 UTC

*** This bug has been marked as a duplicate of bug 745579 ***


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