Bug 1858993
| Summary: | multipath reads all files that doesn't end with .conf from config_dir. [rhel-8.2.0.z] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | RHEL Program Management Team <pgm-rhel-tools> |
| 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 | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | device-mapper-multipath-0.8.3-3.el8_2.3 | 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: | 1821214 | Environment: | |
| Last Closed: | 2020-09-08 09:37:02 UTC | Type: | --- |
| 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: | 1821214 | ||
| Bug Blocks: | |||
|
Comment 1
Ben Marzinski
2020-07-21 18:56:57 UTC
Verified on device-mapper-multipath-0.8.3-3.el8_2.3
1,[root@storageqe-25 ~]# rpm -qa | grep multipath
device-mapper-multipath-libs-0.8.3-3.el8_2.3.x86_64
device-mapper-multipath-0.8.3-3.el8_2.3.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 360a98000324669436c2b45666c56785a
alias boot_1
}
}
4,[root@storageqe-25 conf.d]# cat local.conf.200304.conf.backup
multipaths {
multipath {
wwid 360a98000324669436c2b45666c56785a
alias boot_1
}
}
5,[root@storageqe-05 conf.d]# multipath -ll
360a98000324669436c2b45666c56785a dm-4 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
| |- 1:0:1:1 sdg 8:96 active ready running
| `- 8:0:1:1 sdo 8:224 active ready running
`-+- policy='service-time 0' prio=10 status=enabled
|- 1:0:0:1 sdc 8:32 active ready running
`- 8:0:0:1 sdk 8:160 active ready running
Test result:multipath now only parses config files with device-mapper-multipath-0.8.3-3.el8_2.3 .
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/RHBA-2020:3648 |