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 1289353 - Make alua prioritizer able to exclusively use the preferred path, if available
Summary: Make alua prioritizer able to exclusively use the preferred path, if available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: device-mapper-multipath
Version: 6.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ben Marzinski
QA Contact: Zhang Yi
URL:
Whiteboard:
Depends On:
Blocks: 1299652 1305997 1364188
TreeView+ depends on / blocked
 
Reported: 2015-12-07 22:33 UTC by Ben Marzinski
Modified: 2018-11-15 16:25 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Feature: Add an optional argument to the alua prioritizer, "exclusive_pref_bit". If this argument is added, and a path has the TPGS pref bit set. Multipath will make a pathgroup using only that path, and assign it the highest priority Reason: Some users want to use the TPGS pref bit to specify a single path that multipath should prefer to use. This was previously done. However, and change to how the prioritizers worked make this no longer happen. This option restores the ability for those who need it. Result: Users can now either allow the preferred path to be in a path group with other paths that are equally optimized (the default) or in a path group by itself (by adding the exclusive_pref_bit argument)
Clone Of:
: 1299652 1305997 (view as bug list)
Environment:
Last Closed: 2016-05-10 20:13:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0777 0 normal SHIPPED_LIVE device-mapper-multipath bug fix and enhancement update 2016-05-10 22:35:15 UTC

Description Ben Marzinski 2015-12-07 22:33:59 UTC
Description of problem:
In RHEL-6.6, if the preferred path bit was set for a path, multipath would create a pathgroup containing only that path. Starting in RHEL-6.7, multipath would also include other paths at the same optimization level.  However, some customers want to use the preferred path to tell multipath that if that path is avilable it should only use that path, not just to make sure that path is in the active pathgroup.

Version-Release number of selected component (if applicable):
device-mapper-multipath-0.4.9-87.el6

How reproducible:
always

Steps to Reproduce:
1. Set ALUA tpg PREF bit on an active/optimized port group in a multipathed array, with other port groups also in the active/optimized state
2. start multipath on the paths from the array
3.

Actual results:
All of the active/optimized paths will be in the multipath's active pathgroup

Expected results:
Only the preferred path will be in multipath's active pathgroup

Additional info:

Comment 1 Ben Marzinski 2016-01-13 19:04:19 UTC
The multipath alua prioritizer now allows a an option, "exclusive_pref_bit"

If you use

    prio "alua exclusive_pref_bit"

in your device configuration, multipath will create a pathgroup that only contains the path with the pref bit set, and will give that pathgroup the highest priority.

Comment 11 errata-xmlrpc 2016-05-10 20:13:35 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://rhn.redhat.com/errata/RHBA-2016-0777.html


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