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 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.