Bug 1306887

Summary: [Nimble Storage] Add APTPL flag to fence_mpath and make multipath-tools honor APTPL bit on registrations
Product: Red Hat Enterprise Linux 6 Reporter: shivamerla1 <shiva.krishna>
Component: device-mapper-multipathAssignee: Ben Marzinski <bmarzins>
Status: CLOSED WONTFIX QA Contact: Lin Li <lilin>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.7CC: agk, bmarzins, dwysocha, heinzm, lilin, msnitzer, prajnoha, prockai, raunak.kumar, rbalakri, shiva.krishna, zchuang, zkabelac
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1498724 (view as bug list) Environment:
Last Closed: 2017-10-05 04:47:14 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:    
Bug Blocks: 1498724    

Description shivamerla1 2016-02-12 01:40:15 UTC
Description of problem:
Currently fence-mpath agent doesn't support "Activate Persist Through Power Loss" flag. Due to this SCSI-3 persistent registrations/reservations are not persistent across array power loss.

Also, multipath-tools currently not honoring APTPL bit set by mpathpersist. If the path goes to faulty and running again, it will register_and_ignore without APTPL flag.

Hence the supported needs to be added to both multipath-tools and fence-mpath agent.

Version-Release number of selected component (if applicable):
fence-agents-4.0.15-8.el6_7.2.x86_64
[root@~]# uname -r
2.6.32-573.12.1.el6.x86_64

[root@~]# rpm -qa | grep multipath
device-mapper-multipath-libs-0.4.9-87.el6.x86_64
device-mapper-multipath-0.4.9-87.el6.x86_64

How reproducible:
Consistent

Steps to Reproduce:
1. Register key using APTPL param to mpathpersist/fence-mpath agent.
2. Reboot array controller.
3. SCSI-3 Reservation/Registrations are not persisted.

Actual results:
SCSI-3 Reservation/Registrations are not persisted after array power loss.

Expected results:
Should have persisted with APTPL bit.

Additional info:

Comment 2 Lin Li 2016-02-16 06:27:25 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 3 shivamerla1 2016-02-16 06:58:25 UTC
Sure, we can help testing the fix.

Comment 5 Ben Marzinski 2017-10-05 04:47:14 UTC
This doesn't work in RHEL7, and it makes much more sense to fix it there. I've cloned the bug for RHEL7, and I'm closing this one.