multipathd.service fails to start with linux-kvm kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-kvm (Ubuntu) |
Fix Released
|
Critical
|
Seth Forshee |
Bug Description
SRU Justification
Impact: multipath-tools is installed by default in server images. With the linux-kvm kernel, multipathd.service fails to start because we do not build dm-multipath in linux-kvm.
Fix: Enable the dm-multipath modules in linux-kvm.
Test Case: Booting the kvm kernel with these modules enabled allows multipathd.service to start successfully.
Regression Potential: This adds a new module which is loaded my multipathd.service. However it's not really going to be utilized unless it is wanted, and as this module is shipped with our other kernels without issue the risk of regressions is low.
---
When doing a dist-upgrade in a vm running the linux-kvm kernel, multipath-tools failed because multipathd.service failed to start.
Setting up multipath-tools (0.8.3-1ubuntu2) ...
Job for multipathd.service failed because the control process exited with error code.
See "systemctl status multipathd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript multipath-tools, action "start" failed.
● multipathd.service - Device-Mapper Multipath Device Controller
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Mon 2020-04-20 16:49:35 UTC; 7ms ago
TriggeredBy: ● multipathd.socket
Process: 800 ExecStartPre=
Process: 801 ExecStart=
Main PID: 801 (code=exited, status=1/FAILURE)
Status: "configure"
Apr 20 16:49:35 ff-kvm modprobe[800]: modprobe: WARNING: Module scsi_dh_emc not found in directory /lib/modules/
Apr 20 16:49:35 ff-kvm modprobe[800]: modprobe: WARNING: Module scsi_dh_rdac not found in directory /lib/modules/
Apr 20 16:49:35 ff-kvm modprobe[800]: modprobe: WARNING: Module dm-multipath not found in directory /lib/modules/
Apr 20 16:49:35 ff-kvm multipathd[801]: --------start up--------
Apr 20 16:49:35 ff-kvm multipathd[801]: read /etc/multipath.conf
Apr 20 16:49:35 ff-kvm multipathd[801]: DM multipath kernel driver not loaded
Apr 20 16:49:35 ff-kvm multipathd[801]: DM multipath kernel driver not loaded
Apr 20 16:49:35 ff-kvm systemd[1]: multipathd.service: Main process exited, code=exited, status=1/FAILURE
Apr 20 16:49:35 ff-kvm systemd[1]: multipathd.service: Failed with result 'exit-code'.
Apr 20 16:49:35 ff-kvm systemd[1]: Failed to start Device-Mapper Multipath Device Controller.
dpkg: error processing package multipath-tools (--configure):
installed multipath-tools package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of ubuntu-server:
ubuntu-server depends on multipath-tools; however:
Package multipath-tools is not configured yet.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: multipath-tools 0.8.3-1ubuntu2
ProcVersionSign
Uname: Linux 5.4.0-1008-kvm x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
Date: Mon Apr 20 16:57:37 2020
ProcEnviron:
TERM=screen-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: multipath-tools
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in linux-kvm (Ubuntu): | |
milestone: | none → ubuntu-20.04 |
Confirmed that shipping the dm-multipath module for this kernel clears up the issue.