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 849954 - duplicated multipath device configuration
Summary: duplicated multipath device configuration
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: device-mapper-multipath
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Ben Marzinski
QA Contact: yanfu,wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-21 10:10 UTC by Xiaowei Li
Modified: 2023-09-07 18:37 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: When a user supplied config's vendor/product/revision exactly matched a built-in config. The built-in config wasn't removed Consequence: Users saw both configs, and could become confused as to which was being used. Fix: When the vendor/product/revision of a user config exactly matches a built-in config, the built-in config is removed. Result: Users will not see two device configurations with different values.
Clone Of:
Environment:
Last Closed: 2014-06-13 11:30:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xiaowei Li 2012-08-21 10:10:30 UTC
Description of problem:
change the IBM 2810XIV device configuration in /etc/multipath.conf then reload the file. see the duplicated IBM 2810XIV device configuration using 'multipathd show config'.


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

How reproducible:


Steps to Reproduce:
1. install device-mapper-multipath and execute 'mpathconf --enable'
2. edit the /etc/multipath.conf and add the following section. the rr_min_io_rp is changed to 10.
devices {
        device {
                vendor "IBM"
                product "2810XIV"
                path_grouping_policy multibus
                getuid_callout "/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/%n"
                path_selector "round-robin 0"
                path_checker tur
                features "1 queue_if_no_path"
                hardware_handler "0"
                prio const
                failback 15
                rr_weight uniform
                rr_min_io 15
                rr_min_io_rq 10
        }
}
3. multipathd reconfig
4. multipathd show config
>> the issue : see 2 IBM 2810XIV device conf >>>
5. multipath -v3 | grep rr_min_io_rq
>> the issue : see nothing about the rr_min_io_rp >>>
  
Actual results:
>>>> the default built-in one >>>>
see 2 IBM 2810XIV device conf:
        device {
                vendor "IBM"
                product "2810XIV"
                path_grouping_policy multibus
                getuid_callout "/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/%n"
                path_selector "round-robin 0"
                path_checker tur
                features "1 queue_if_no_path"
                hardware_handler "0"
                prio const
                failback 15
                rr_weight uniform
                rr_min_io 15
                rr_min_io_rq 1
        }
>>>> the user defined one >>>>
        device {
                vendor "IBM"
                product "2810XIV"
                path_grouping_policy multibus
                getuid_callout "/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/%n"
                path_selector "round-robin 0"
                path_checker tur
                features "1 queue_if_no_path"
                hardware_handler "0"
                prio const
                failback 15
                rr_weight uniform
                rr_min_io 15
                rr_min_io_rq 10
        }
>>>>
Expected results:


Additional info:

Comment 4 Ben Marzinski 2013-05-13 19:00:54 UTC
This issue is fix in recent RHEL7 packages.

Comment 6 yanfu,wang 2013-11-29 03:30:41 UTC
Verified on device-mapper-multipath-0.4.9-58.el7 without duplicated device configration now.

Comment 7 Ludek Smid 2014-06-13 11:30:13 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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