Bug 373491

Summary: scsi_reserve causes "reservation conflict" messages
Product: Red Hat Enterprise Linux 5 Reporter: Ryan O'Hara <rohara>
Component: cmanAssignee: Ryan O'Hara <rohara>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: low    
Version: 5.0CC: cluster-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0347 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 15:58: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:

Description Ryan O'Hara 2007-11-09 19:19:36 UTC
The scsi_reserve init script produces "reservation conflict" messages in
/var/log/messages. Appears this is due to calling sg_persist to create
registration without checking to see if key is already registered.

Possible solutions include checking for existing registration or us the
"register and ignore" option for sg_persist.

Comment 2 RHEL Program Management 2008-01-07 20:45:19 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 3 Ryan O'Hara 2008-01-18 23:09:36 UTC
Fixed. The scsi_reserve script now calls sg_persist with -I option, which
registers a key with a device and ignores any previous keys registered for the
I_T nexus. The cause of the "reservation conflict" messages at startup were due
to the fact that the node (I_T nexus, really) already had a key registered on
that device. We would see a "reservation conflict" message for each device.

This fix will ignore any existing registrations for the I_T nexus. Thus, each
time  we run 'scsi_reserve start' it will overwrite any existing registrations
for that I_T nexus.

Comment 6 errata-xmlrpc 2008-05-21 15:58:19 UTC
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 the 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-2008-0347.html