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 1821214 - multipath reads all files that doesn't end with .conf from config_dir.
Summary: multipath reads all files that doesn't end with .conf from config_dir.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: device-mapper-multipath
Version: 8.2
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Ben Marzinski
QA Contact: Lin Li
URL:
Whiteboard:
Depends On:
Blocks: 1858993
TreeView+ depends on / blocked
 
Reported: 2020-04-06 10:13 UTC by Ranjith ML
Modified: 2023-12-15 17:37 UTC (History)
11 users (show)

Fixed In Version: device-mapper-multipath-0.8.4-1.el8
Doc Type: Bug Fix
Doc Text:
Cause: multipath was treating files in /etc/multipath/conf.d that didn't end with .conf as config files Consequence: Multipath could try to parse non-config files, or backups of config files. Fix: multipath now only parses files ending in .conf from /etc/multipath/conf.d Result: multipath now only parses config files
Clone Of:
: 1857758 1858993 (view as bug list)
Environment:
Last Closed: 2020-11-04 01:59:31 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:4540 0 None None None 2020-11-04 01:59:59 UTC

Comment 1 nikhil kshirsagar 2020-04-17 12:34:32 UTC
made this bz public as per customers request for case 02622834

Comment 4 Ben Marzinski 2020-05-28 18:28:37 UTC
device-mapper-multipath has been rebased to 0.8.4, pulling in the upstream fix for this issue.

Comment 7 Lin Li 2020-06-23 07:54:46 UTC
Reproduced on device-mapper-multipath-0.7.8-7.el8
1, [root@storageqe-05 ~]# rpm -qa | grep multipath
device-mapper-multipath-0.7.8-7.el8.x86_64
device-mapper-multipath-libs-0.7.8-7.el8.x86_64

2,[root@storageqe-05 conf.d]# pwd
/etc/multipath/conf.d
[
3, root@storageqe-05 conf.d]# cat local.conf
multipaths {
        multipath {
                wwid    360a98000324669436c2b45666c567865
                alias   boot_1
        }
}


4,[root@storageqe-05 conf.d]# cat local.conf.200304.conf.backup
multipaths {
        multipath {
                wwid    360a98000324669436c2b45666c567865
                alias   boot_1
        }
} 

5,[root@storageqe-05 conf.d]# multipath -ll
Jun 23 03:38:33 | merge_mptable: duplicate multipath config section for 360a98000324669436c2b45666c567865
360a98000324669436c2b45666c567865 dm-3 NETAPP,LUN
size=2.0G features='3 queue_if_no_path pg_init_retries 50' hwhandler='1 alua' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| `- 4:0:0:0 sdf 8:80  active ready running
`-+- policy='service-time 0' prio=10 status=enabled
  |- 1:0:0:0 sdb 8:16  active ready running
  `- 4:0:1:0 sdj 8:144 active ready running




Verified on device-mapper-multipath-0.8.4-2.el8
1,[root@storageqe-05 conf.d]# rpm -qa | grep multipath
device-mapper-multipath-0.8.4-2.el8.x86_64
device-mapper-multipath-libs-0.8.4-2.el8.x86_64

2,[root@storageqe-05 conf.d]# pwd
/etc/multipath/conf.d

3,[root@storageqe-05 conf.d]# cat local.conf
multipaths {
        multipath {
                wwid    360a98000324669436c2b45666c567865
                alias   boot_1
        }
}

4,[root@storageqe-05 conf.d]# cat local.conf.200304.conf.backup 
multipaths {
        multipath {
                wwid    360a98000324669436c2b45666c567865
                alias   boot_1
        }
} 

5,[root@storageqe-05 conf.d]# multipath -ll
boot_1 (360a98000324669436c2b45666c567865) dm-3 NETAPP,LUN
size=2.0G features='3 queue_if_no_path pg_init_retries 50' hwhandler='1 alua' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| `- 4:0:0:0 sdf 8:80  active ready running
`-+- policy='service-time 0' prio=10 status=enabled
  |- 1:0:0:0 sdb 8:16  active ready running
  `- 4:0:1:0 sdj 8:144 active ready running



Test result:multipath now only parses config files.

Comment 13 errata-xmlrpc 2020-11-04 01:59:31 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 (device-mapper-multipath bug fix and enhancement update), 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/RHEA-2020:4540


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