Bug 1973592
| Summary: | RFE: Request for warning if multipathd is not running/active | ||
|---|---|---|---|
| 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: | medium | ||
| Version: | 8.5 | CC: | agk, bmarzins, heinzm, msnitzer, prajnoha, zkabelac |
| Target Milestone: | beta | Keywords: | FutureFeature, Triaged |
| Target Release: | 8.5 | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | device-mapper-multipath-0.8.4-17.el8 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-09 19:32:00 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: | |||
|
Description
Lin Li
2021-06-18 09:18:46 UTC
Multipath now warns if multipathd is not running. Verified on device-mapper-multipath-0.8.4-17.el8
1,[root@ibm-p9z-20-lp13 ~]# rpm -qa | grep multipath
device-mapper-multipath-libs-0.8.4-17.el8.ppc64le
device-mapper-multipath-0.8.4-17.el8.ppc64le
2,# mpathconf --enable
3.# service multipathd restart
Redirecting to /bin/systemctl restart multipathd.service
4.# multipath -ll
mpatha (3600601605e203f00d6ed8ff61e07eb11) dm-0 DGC,VRAID
size=8.0G features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
|-+- policy='service-time 0' prio=10 status=enabled
| |- 1:0:0:0 sda 8:0 active ready running
| `- 2:0:0:0 sdc 8:32 active ready running
`-+- policy='service-time 0' prio=50 status=enabled
|- 1:0:1:0 sdb 8:16 active ready running
`- 2:0:1:0 sdd 8:48 active ready running
5,[root@ibm-p9z-20-lp13 ~]# service multipathd stop
Redirecting to /bin/systemctl stop multipathd.service
6,[root@ibm-p9z-20-lp13 ~]# service multipathd status
Redirecting to /bin/systemctl status multipathd.service
● multipathd.service - Device-Mapper Multipath Device Controller
Loaded: loaded (/usr/lib/systemd/system/multipathd.service; enabled; vendor >
Active: inactive (dead) since Wed 2021-07-28 21:58:26 EDT; 57s ago
Condition: start condition failed at Wed 2021-07-28 21:58:35 EDT; 48s ago
└─ ConditionPathExists=/etc/multipath.conf was not met
Process: 27000 ExecStart=/sbin/multipathd -d -s (code=exited, status=0/SUCCES>
Process: 26998 ExecStartPre=/sbin/multipath -A (code=exited, status=0/SUCCESS)
Process: 26996 ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_d>
Main PID: 27000 (code=exited, status=0/SUCCESS)
Status: "shutdown"
Jul 28 03:26:11 ibm-p9z-20-lp13.fs.lab.eng.bos.redhat.com multipathd[27000]: 8:>
Jul 28 03:26:11 ibm-p9z-20-lp13.fs.lab.eng.bos.redhat.com multipathd[27000]: mp>
Jul 28 03:26:11 ibm-p9z-20-lp13.fs.lab.eng.bos.redhat.com multipathd[27000]: mp>
Jul 28 03:26:11 ibm-p9z-20-lp13.fs.lab.eng.bos.redhat.com multipathd[27000]: 8:>
Jul 28 03:26:11 ibm-p9z-20-lp13.fs.lab.eng.bos.redhat.com multipathd[27000]: mp>
Jul 28 21:58:26 ibm-p9z-20-lp13.fs.lab.eng.bos.redhat.com systemd[1]: Stopping >
Jul 28 21:58:26 ibm-p9z-20-lp13.fs.lab.eng.bos.redhat.com multipathd[27000]: ex>
Jul 28 21:58:26 ibm-p9z-20-lp13.fs.lab.eng.bos.redhat.com multipathd[27000]: -->
Jul 28 21:58:26 ibm-p9z-20-lp13.fs.lab.eng.bos.redhat.com systemd[1]: multipath>
Jul 28 21:58:26 ibm-p9z-20-lp13.fs.lab.eng.bos.redhat.com systemd[1]: Stopped D>
7,[root@ibm-p9z-20-lp13 ~]# multipath -ll
mpatha (3600601605e203f00d6ed8ff61e07eb11) dm-0 DGC,VRAID
size=8.0G features='0' hwhandler='1 alua' wp=rw
|-+- policy='service-time 0' prio=10 status=enabled
| |- 1:0:0:0 sda 8:0 active ready running
| `- 2:0:0:0 sdc 8:32 active ready running
`-+- policy='service-time 0' prio=50 status=enabled
|- 1:0:1:0 sdb 8:16 active ready running
`- 2:0:1:0 sdd 8:48 active ready running
Jul 28 21:59:32 | multipath devices exist, but multipathd service is not running
Test result: Multipath now warns "multipath devices exist, but multipathd service is not running" if multipathd is not running.
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-2021:4367 |