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 1482629 - Please add TUR path checker to default hardware table for Nimble devices
Summary: Please add TUR path checker to default hardware table for Nimble devices
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: device-mapper-multipath
Version: 7.4
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Ben Marzinski
QA Contact: Lin Li
URL:
Whiteboard:
Depends On:
Blocks: 1510839
TreeView+ depends on / blocked
 
Reported: 2017-08-17 18:33 UTC by shivamerla1
Modified: 2023-09-15 00:03 UTC (History)
9 users (show)

Fixed In Version: device-mapper-multipath-0.4.9-115.el7
Doc Type: No Doc Update
Doc Text:
Previously, Nimble devices used the default path_checker method, directio, which incorrectly failed on passive paths. With this update, the Nimble built-in configuration now specifies the TUR path_checker method instead. As a result, passive paths on Nimble arrays now have the correct path state.
Clone Of:
: 1510839 (view as bug list)
Environment:
Last Closed: 2018-04-10 16:13:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:0884 0 None None None 2018-04-10 16:14:06 UTC

Description shivamerla1 2017-08-17 18:33:06 UTC
Description of problem:
path_checker option is missing in default hardware table for Nimble and by default "directio" is selected. Nimble is a active/standby array and directio commands fails on stand-by paths. Please add path_checker "tur" to Nimble device table.

current settings:(missing path_checker)
            {
                vendor "Nimble"
                product "Server"
                path_grouping_policy "group_by_prio"
                path_selector "round-robin 0"
                features "1 queue_if_no_path"
                hardware_handler "1 alua"
                prio "alua"
                failback immediate
                fast_io_fail_tmo 1
                dev_loss_tmo "infinity"
            }

Version-Release number of selected component (if applicable):
device-mapper-multipath-0.4.9-111.el7.x86_64
device-mapper-multipath-libs-0.4.9-111.el7.x86_64

How reproducible:
consistent

Steps to Reproduce:
1. Install or Upgrade to RHEL 7.4
2. Run multipath -ll
3. All stand-by paths appear as failed/faulty devices

Actual results:
Paths appear as failed/faulty instead of ghost.

Expected results:
stand-by paths should appear as active/ghost instead of failed/faulty

Additional info:

[root@rtp-iron-ops06 ~]# multipath -ll
mpatha (29b67c5b1833be9dd6c9ce90038a5a0c6) dm-0 Nimble  ,Server          
size=150G features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
`-+- policy='round-robin 0' prio=50 status=active
  |- 7:0:2:0 sdg 8:96  failed faulty running
  |- 8:0:1:0 sdb 8:16  failed faulty running
  |- 7:0:3:0 sdh 8:112 failed faulty running
  |- 8:0:2:0 sdc 8:32  failed faulty running
  |- 7:0:0:0 sde 8:64  active ready running
  |- 8:0:0:0 sda 8:0   active ready running
  |- 7:0:1:0 sdf 8:80  active ready running
  `- 8:0:3:0 sdd 8:48  active ready running

Aug 17 14:16:48 rtp-iron-ops06 multipathd: mpatha: sdc - directio checker reports path is down
Aug 17 14:16:48 rtp-iron-ops06 kernel: sd 7:0:2:0: [sdg] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Aug 17 14:16:48 rtp-iron-ops06 kernel: sd 7:0:2:0: [sdg] tag#0 Sense Key : Not Ready [current]
Aug 17 14:16:48 rtp-iron-ops06 kernel: sd 7:0:2:0: [sdg] tag#0 Add. Sense: Logical unit not accessible, target port in standby state
Aug 17 14:16:48 rtp-iron-ops06 kernel: sd 7:0:2:0: [sdg] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 17 14:16:48 rtp-iron-ops06 kernel: blk_update_request: I/O error, dev sdg, sector 0
Aug 17 14:16:48 rtp-iron-ops06 kernel: sd 7:0:3:0: [sdh] tag#1 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Aug 17 14:16:48 rtp-iron-ops06 kernel: sd 7:0:3:0: [sdh] tag#1 Sense Key : Not Ready [current]
Aug 17 14:16:48 rtp-iron-ops06 kernel: sd 7:0:3:0: [sdh] tag#1 Add. Sense: Logical unit not accessible, target port in standby state
Aug 17 14:16:48 rtp-iron-ops06 kernel: sd 7:0:3:0: [sdh] tag#1 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 17 14:16:48 rtp-iron-ops06 kernel: blk_update_request: I/O error, dev sdh, sector 0
Aug 17 14:16:49 rtp-iron-ops06 multipathd: mpatha: sdg - directio checker reports path is down
Aug 17 14:16:49 rtp-iron-ops06 multipathd: mpatha: sdh - directio checker reports path is down
Aug 17 14:16:49 rtp-iron-ops06 kernel: sd 8:0:1:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Aug 17 14:16:49 rtp-iron-ops06 kernel: sd 8:0:1:0: [sdb] tag#0 Sense Key : Not Ready [current]
Aug 17 14:16:49 rtp-iron-ops06 kernel: sd 8:0:1:0: [sdb] tag#0 Add. Sense: Logical unit not accessible, target port in standby state
Aug 17 14:16:49 rtp-iron-ops06 kernel: sd 8:0:1:0: [sdb] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00

Comment 2 shivamerla1 2017-09-08 15:25:29 UTC
Hi, Any update on this and can you let us know the timeline when next device-mapper-multipath update is available?

Comment 3 Ben Marzinski 2017-09-08 16:10:56 UTC
Are you just looking for a build to test? The next official build will be rhel-7.5.

Comment 4 shivamerla1 2017-09-08 16:46:34 UTC
Is it possible to push this to Errata updates for device-mapper-multipath before RHEL 7.5?

Comment 5 Ben Marzinski 2017-09-11 16:56:13 UTC
It would have to go out as a z-stream fix. I'm not able to decide this myself. That's a product management decision.

Comment 6 shivamerla1 2017-09-11 21:11:00 UTC
Please let us know how we(hpe) can help to consider this for z-stream. Without this fix, our inbuilt device table is useless and customers still have to perform manual configuration. Also, are you planning to post this patch upstream with other patches or do you want me to create one? Thanks.

Comment 7 shivamerla1 2017-09-18 17:37:25 UTC
Any update on when this will be included?

Comment 8 shivamerla1 2017-10-09 16:36:56 UTC
Hi Ben, 

Can you please provide the timeline of when this will be updated? Also, are you planning to post this patch upstream or do you want me to post one. Please let me know. Thanks.

Comment 9 Ben Marzinski 2017-10-11 18:13:01 UTC
Added TUR checker to builtin config.

Comment 11 shivamerla1 2017-10-19 22:48:21 UTC
Thanks Ben.

Comment 14 Lin Li 2017-11-14 13:26:53 UTC
Hello shivamerla1,
Because we don't have Nimble storage, we can only check default configuration.
Could you help check if it works normally for you?
Thanks in advance.

Comment 15 Lin Li 2017-11-14 13:40:13 UTC
Reproduced on device-mapper-multipath-0.4.9-111
1, # rpm -qa | grep multipath
device-mapper-multipath-libs-0.4.9-111.el7.x86_64
device-mapper-multipath-0.4.9-111.el7.x86_64

2, # multipathd show config
	device {
		vendor "Nimble"
		product "Server"
		path_grouping_policy "group_by_prio"
		path_selector "round-robin 0"
		features "1 queue_if_no_path"
		hardware_handler "1 alua"
		prio "alua"
		failback immediate
		fast_io_fail_tmo 1
		dev_loss_tmo "infinity"
	}



Verified on device-mapper-multipath-0.4.9-116.el7 
1, # rpm -qa | grep multipath
device-mapper-multipath-libs-0.4.9-116.el7.x86_64
device-mapper-multipath-devel-0.4.9-116.el7.x86_64
device-mapper-multipath-debuginfo-0.4.9-116.el7.x86_64
device-mapper-multipath-0.4.9-116.el7.x86_64
device-mapper-multipath-sysvinit-0.4.9-116.el7.x86_64

2, # multipathd show config
	device {
		vendor "Nimble"
		product "Server"
		path_grouping_policy "group_by_prio"
		path_selector "round-robin 0"
		path_checker "tur"     <-----------------------------------
		features "1 queue_if_no_path"
		hardware_handler "1 alua"
		prio "alua"
		failback immediate
		dev_loss_tmo "infinity"
	}


Test result:  added TUR path checker to default hardware table for Nimble devices

Comment 18 errata-xmlrpc 2018-04-10 16:13:30 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.

https://access.redhat.com/errata/RHEA-2018:0884

Comment 20 Red Hat Bugzilla 2023-09-15 00:03:29 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


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