Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1819897

Summary: [RFE] Add an option in multipath.conf file to set the "eh_deadline" SCSI error handling option
Product: Red Hat Enterprise Linux 8 Reporter: Ben Marzinski <bmarzins>
Component: device-mapper-multipathAssignee: Ben Marzinski <bmarzins>
Status: CLOSED ERRATA QA Contact: Lin Li <lilin>
Severity: medium Docs Contact:
Priority: high    
Version: 8.2CC: agk, apanagio, aperotti, bmarzins, heinzm, jbrassow, lilin, lvm-team, mgandhi, msnitzer, prajnoha, zkabelac
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 8.3Flags: pm-rhel: mirror+
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: device-mapper-multipath-0.8.4-6.el8 Doc Type: Enhancement
Doc Text:
Feature: Added "eh_deadline" option for /etc/multipath.conf Reason: Sometimes a fc rport is never lost, meaning that fast_io_fail_tmo and dev_loss_tmo never trigger, but scsi commands still hang. Result: After the eh_deadline timeout the scsi layer will perform a full HBA reset, flushing all hung commands
Story Points: ---
Clone Of: 1813259 Environment:
Last Closed: 2021-05-18 15:06:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1813259    
Bug Blocks:    

Comment 3 Andrea Perotti 2020-09-24 20:47:17 UTC
1. Proposed title of this feature request

Add an option in multipath.conf file to set the "eh_deadline" SCSI error handling option


3. What is the nature and description of the request?
4. Why does the customer need this? (List the business requirements here)

Customers often need to enable the SCSI error handling tuning options e.g. eh_deadline to reduce the time in SCSI error handling process. When this option is set on specific FC HBA, the error handling process will wait for a timeout set in eh_deadline before proceeding with HBA reset.

This option is found to be useful in many Oracle RAC, RHEV and RHEL HA cluster setups to reduce the time in SCSI error handling process and quickly failover the IO requests from failed paths to remaining active paths.

It is also documented briefly in following article:

"Limiting path failover time for SCSI devices"
 https://access.redhat.com/solutions/627903

Setting multiple different options in multipath.conf file (e.g. fast_io_fail_tmo, dev_loss_tmo, checker_timeout, etc) and then separately tuning the SCSI error handling tuning option e.g. eh_deadline through a udev rule creates additional administrative overhead.

To ease the tuning of these options, customer has suggested to enable an option in multipath.conf file, which will tune the "eh_deadline" option for FC HBAs that connects the multipath device maps.

The main aim of raising this RFE is to have a single file where customer could apply these tuning options instead of maintaining different tuning options in different files e.g. multipath.conf, udev rules etc.


5. How would the customer like to achieve this? (List the functional requirements here)
6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

Above point 3 describes the same


7. Is there already an existing RFE upstream or in Red Hat Bugzilla?

No.


8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL7/8)?

No.


9. Is the sales team involved in this request and do they have any additional input?

No.


10. List any affected packages or components.

device-mapper-multipath

Comment 10 Ben Marzinski 2020-12-08 01:40:22 UTC
Added the eh_deadline option.

Comment 15 errata-xmlrpc 2021-05-18 15:06:46 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 (device-mapper-multipath bug fix and enhancement update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHEA-2021:1685