Bug 1821214
Summary: | multipath reads all files that doesn't end with .conf from config_dir. | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Ranjith ML <rmadhuso> | |
Component: | device-mapper-multipath | Assignee: | Ben Marzinski <bmarzins> | |
Status: | CLOSED ERRATA | QA Contact: | Lin Li <lilin> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 8.2 | CC: | agk, bmarzins, heinzm, jbrassow, kanderso, lilin, msnitzer, nkshirsa, prajnoha, toneata, zkabelac | |
Target Milestone: | rc | Keywords: | ZStream | |
Target Release: | 8.0 | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
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
|
Story Points: | --- | |
Clone Of: | ||||
: | 1857758 1858993 (view as bug list) | Environment: | ||
Last Closed: | 2020-11-04 01:59:31 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: | 1858993 |
Comment 1
nikhil kshirsagar
2020-04-17 12:34:32 UTC
device-mapper-multipath has been rebased to 0.8.4, pulling in the upstream fix for this issue. 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. 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 |