Bug 1498724

Summary: [Nimble Storage] Add APTPL flag to fence_mpath and make multipath-tools honor APTPL bit on registrations
Product: Red Hat Enterprise Linux 7 Reporter: Ben Marzinski <bmarzins>
Component: device-mapper-multipathAssignee: Ben Marzinski <bmarzins>
Status: CLOSED ERRATA QA Contact: Lin Li <lilin>
Severity: urgent Docs Contact: Marek Suchánek <msuchane>
Priority: unspecified    
Version: 7.6CC: agk, bmarzins, dwysocha, heinzm, lilin, msnitzer, prajnoha, raunak.kumar, rhandlin, shiva.krishna, zchuang, zkabelac
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: device-mapper-multipath-0.4.9-120.el7 Doc Type: Bug Fix
Doc Text:
*multipathd* can now correctly set APTPL when registering keys on path devices Previously, the *multipathd* service did not track which devices registered their persistent reservation keys with the Activate Persist Through Power Loss (APTPL) option. As a consequence, registrations always lost the APTPL setting. With this update, the problem has been fixed: * If you set the "reservation_key" option to a file in the `multipath.conf` configuration file, *multipathd* now keeps the APTPL setting automatically. * If you set "reservation_key" to a specific key, you can now add the ":aptpl" string at the end of the key in "reservation_key", which enables APTPL for it. Set this to match the APTPL setting used when registering the key.
Story Points: ---
Clone Of: 1306887 Environment:
Last Closed: 2018-10-30 11:27:28 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: 1306887    
Bug Blocks:    

Comment 2 Lin Li 2018-04-08 03:21:55 UTC
Hello shivamerla1,
Because there is no Nimble Storage in our lab, could you help provide test result once the package is available?
thanks!

Comment 4 Ben Marzinski 2018-06-13 14:29:09 UTC
Multipath now supports an optional extension to the reservation_key parameter. You can now set reservation_key to "<key>:aptpl".  This will inform multipathd to set the APTPL bit when registering keys on paths, when they come back up. For this to work correctly, you must also set --param-aptpl when using mpathpersist to register the key. If you set reservation_key to "file", multipath will automatically track which devices need the APTPL bit set by multipathd, depending on which devices you register keys with using the --param-aptpl option
for mpathpersist.

Comment 6 Lin Li 2018-08-22 09:14:03 UTC
Hi shivamerla1,
Could you test if the new option works well on Nimble Storage? 
Thanks in advance!

Comment 14 errata-xmlrpc 2018-10-30 11:27:28 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/RHBA-2018:3236