Bug 1897530
| Summary: | [ppc64le] multipathd didn't report error when /etc/multipath.conf lack of } | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Lin Li <lilin> |
| Component: | device-mapper-multipath | Assignee: | Ben Marzinski <bmarzins> |
| Status: | CLOSED ERRATA | QA Contact: | Lin Li <lilin> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 8.4 | CC: | agk, bmarzins, chetjain, heinzm, iranna.ankad, jbrassow, msnitzer, prajnoha, zkabelac |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 8.0 | Flags: | pm-rhel:
mirror+
|
| Hardware: | ppc64le | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | device-mapper-multipath-0.8.4-6.el8 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-05-18 15:06:46 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: | |||
Hi Ben, I reserved a ppc64le server. You can login the server to check it ? Hostname:ibm-p9z-20-lp13.fs.lab.eng.bos.redhat.com password:redhat Thanks in advance! Aa far as I recall, multipath has never reported an error if the final closing braces are missing, on any architecture. But it does make sense to do so. Fixed. Verified on device-mapper-multipath-0.8.4-6.el8.ppc64le
1,[root@ibm-p9z-20-lp15 ~]# rpm -qa | grep multipath
device-mapper-multipath-libs-0.8.4-6.el8.ppc64le
device-mapper-multipath-0.8.4-6.el8.ppc64le
2,edit /etc/multipath.conf
[root@ibm-p9z-20-lp15 ~]# cat /etc/multipath.conf
defaults {
# find_multipaths yes
find_multipaths smart
user_friendly_names yes
}
blacklist {
}
devices {
device {
vendor "^DGC"
product "^(RAID|DISK|VRAID)"
path_grouping_policy failover
}
#} <------------------------------------
3,[root@ibm-p9z-20-lp15 ~]# service multipathd reload
Redirecting to /bin/systemctl reload multipathd.service
4,[root@ibm-p9z-20-lp15 ~]# multipath -ll
Dec 10 01:45:36 | missing '}' at end of /etc/multipath.conf <------------------------------------------------------
mpatha (3600601605e203f008e22d0221f07eb11) dm-0 DGC,VRAID
size=8.0G features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| `- 1:0:1:0 sdb 8:16 active ready running
|-+- policy='service-time 0' prio=10 status=enabled
| `- 1:0:0:0 sda 8:0 active ready running
|-+- policy='service-time 0' prio=10 status=enabled
| `- 2:0:0:0 sdc 8:32 active ready running
`-+- policy='service-time 0' prio=50 status=enabled
`- 2:0:1:0 sdd 8:48 active ready running
5,[root@ibm-p9z-20-lp15 ~]# multipathd show config | grep -C 15 DGC
Dec 10 01:45:53 | missing '}' at end of /etc/multipath.conf <------------------------------------------------------
......
device {
vendor "^DGC"
product "^(RAID|DISK|VRAID)"
product_blacklist "LUNZ"
path_grouping_policy "failover"
path_checker "emc_clariion"
hardware_handler "1 emc"
prio "emc"
failback "immediate"
no_path_retry 60
}
}
Test result:multipath and multipathd report error while missing '}' at end of /etc/multipath.conf
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-2021:1685 |
Description of problem: [ppc64le] multipathd didn't report error when /etc/multipath.conf lack of } Version-Release number of selected component (if applicable): device-mapper-multipath-0.8.4-5.el8.ppc64le How reproducible: always Steps to Reproduce: 1.[root@ibm-p9z-20-lp13 multipathd_commands]# rpm -qa | grep multipath kernel-kernel-storage-multipath-multipathd_commands-1.0-5.noarch device-mapper-multipath-libs-0.8.4-5.el8.ppc64le device-mapper-multipath-0.8.4-5.el8.ppc64le 2. edit /etc/multipath.conf [root@ibm-p9z-20-lp13 multipathd_commands]# cat /etc/multipath.conf defaults { # find_multipaths yes find_multipaths smart user_friendly_names yes } blacklist { } devices { device { vendor "^DGC" product "^(RAID|DISK|VRAID)" path_grouping_policy failover } #} <----------------------------------------------- 3.[root@ibm-p9z-20-lp13 multipathd_commands]# service multipathd reload Redirecting to /bin/systemctl reload multipathd.service [root@ibm-p9z-20-lp13 multipathd_commands]# echo $? 0 4.[root@ibm-p9z-20-lp13 multipathd_commands]# multipathd show config | grep -C 15 DGC devices { device { vendor "^DGC" product "^(RAID|DISK|VRAID)" product_blacklist "LUNZ" path_grouping_policy "failover" path_checker "emc_clariion" hardware_handler "1 emc" prio "emc" failback "immediate" no_path_retry 60 } } Actual results: {} should appear in pairs. One } is missing, but multipathd does not report an error. The changes still take effect. Expected results: multipathd should report an error when {} in /etc/multipath.conf does not appear in pairs. Additional info: This is a IBM ppc64le server. vendor = DGC product = VRAID