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 1426544 - iscsid seems not to handle S3-PR (SCSI-3 Persistent reservation) correctly.
Summary: iscsid seems not to handle S3-PR (SCSI-3 Persistent reservation) correctly.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: iscsi-initiator-utils
Version: 7.3
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Chris Leech
QA Contact: Martin Hoyer
URL:
Whiteboard:
Depends On:
Blocks: RHEV_SCSI_reserve_Win_SharedDisk
TreeView+ depends on / blocked
 
Reported: 2017-02-24 09:03 UTC by Martin Tessun
Modified: 2021-09-03 13:47 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-03 09:40:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1111784 0 high CLOSED [RFE] Provide SCSI reservation support for virtio-scsi via rhev-guest-tools for win-8 and win-2012 guests using Shared d... 2023-09-14 23:57:43 UTC

Internal Links: 1111784

Description Martin Tessun 2017-02-24 09:03:32 UTC
Description of problem:
For the Windows Clustering support in RHV we need S3-PR support.
According to our tests, it looks like iscsid is not handling this as expected.

Version-Release number of selected component (if applicable):
iscsi-initiator-utils-6.2.0.873-35.el7.x86_64

How reproducible:
always


Steps to Reproduce:
Install Windows in two VMs exposing a disk that is connected via iscsid to the host. Run the MSCS tests and use the exposed disk as Quorum.

Actual results:
Tests fail:
<SNIP from Validation%20Report%202017.01.30%20At%2012.06.37.htm#47>
Validating Test Disk 0 for Persistent Reservation support.

Issuing Persistent Reservation REGISTER AND IGNORE EXISTING for Test Disk 0 from node vm2-w2k16-2.ad-w2k12r2.rhev.lab.eng.brq.redhat.com.

Issuing call to Persistent Reservation RESERVE on Test Disk 0 from node vm2-w2k16-2.ad-w2k12r2.rhev.lab.eng.brq.redhat.com.

Issuing Persistent Reservation READ RESERVATION on Test Disk 0 from node vm2-w2k16-2.ad-w2k12r2.rhev.lab.eng.brq.redhat.com.

Issuing Persistent Reservation REGISTER AND IGNORE EXISTING for Test Disk 0 from node vm2-w2k16-1.ad-w2k12r2.rhev.lab.eng.brq.redhat.com.

Issuing call to Persistent Reservation RESERVE on Test Disk 0 from node vm2-w2k16-1.ad-w2k12r2.rhev.lab.eng.brq.redhat.com.

Node vm2-w2k16-1.ad-w2k12r2.rhev.lab.eng.brq.redhat.com successfully issued call to Persistent Reservation RESERVE for Test Disk 0 which is currently reserved by node vm2-w2k16-2.ad-w2k12r2.rhev.lab.eng.brq.redhat.com.
This call is expected to fail.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<SNIP>

Expected results:
Tests should pass


Additional info:
See also
https://bugzilla.redhat.com/show_bug.cgi?id=1111784#c68
https://bugzilla.redhat.com/show_bug.cgi?id=1111784#c89 ff.
esp. https://bugzilla.redhat.com/show_bug.cgi?id=1111784#c94

Comment 1 Chris Leech 2017-02-27 17:00:49 UTC
Who can I arrange a conversation with to ensure I'm understanding the storage topology here?  I'm concerned that if there's a single session from VM-host to iSCSI target, then how is the target expected to distinguish between the VM users to make persistent reservations work?

I want to make sure I'm clear on things before going to deep into getting a setup for reproduction and investigation, especially as RHEV and Windows are not things I deal with often.

Comment 2 Chris Leech 2017-02-27 17:40:53 UTC
I have doubts about this being the component at fault, iscsid manages the transport session but doesn't impact SCSI protocol commands directly.  But I'll keep it as is until we get a better idea of exactly what's going on.

Comment 3 Chris Leech 2017-02-28 00:02:27 UTC
Things I would want to see from a failing setup.

1) Generated iSCSI configuration; a copy of everything in /var/lib/iscsi + dump of active session information (iscsiadm -m session -P3) from the host system

2) libvirt XML dumps of the configuration from one or more VMs

3) Any PR information from the target we can get, specifically I'd like to verify that the target is even seeing multiple registrations or if the VMs all look like a single initiator.

For an LIO target setup I'd like the contents of 
/sys/kernel/config/target/core/<iblock? backstore>/<user assigned LU name>/pr/
with res_pr_registered_i_pts being the first value I'd want to look at.


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