[Bug 1673350] Re: dm-queue-length module is not included in installer/initramfs
Mauricio Faria de Oliveira
mauricfo at linux.vnet.ibm.com
Thu Mar 16 12:36:38 UTC 2017
It's possible to reproduce this problem in a qemu-kvm guest,
with an emulated disk: force the queue-length path selector.
# name=mfo-1704
# disk=/var/lib/libvirt/images/$name.qcow2
# iso=/var/lib/libvirt/images/zesty-server-ppc64el.iso.2017-03-14
# qemu-img create -f qcow2 $disk 128g
# virt-install \
--name $name \
--cdrom $iso \
--vcpus 8,sockets=1,cores=1,threads=8 \
--memory 8192 \
--controller type=scsi,model=virtio-scsi \
--disk format=qcow2,path=$disk \
--disk device=cdrom,readonly=true,path=$iso \
--network bridge=virbr0,model=virtio
Before the disk-detection stage (e.g., set-up users and passwords),
Go Back, Execute a shell, and set up multipath.conf, and resume install:
~ # cat <<EOF >/etc/multipath.conf
defaults {
path_selector "queue-length 0"
user_friendly_names yes
find_multipaths no
}
EOF
~ # exit
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1673350
Title:
dm-queue-length module is not included in installer/initramfs
Status in initramfs-tools package in Ubuntu:
New
Bug description:
---Problem Description---
dm-queue-length module is not included in installer/initramfs
On Ubuntu, multipath devices using the 'queue-length' path selector
are non-functional on both the installer and initramfs environments;
because the 'dm-queue-length' kernel module is not included in them.
The multipath-modules.udeb (src:linux) does not include it in the installer,
nor multipath-tools-boot (src:multipath-tools) installs it in the initramfs.
One example is the EMC XtremIO storage, which has 'queue-length' defined as
its path selector in the default multipath configuration, at least on 16.04.
Other products may be affected if they are manually configured to use that
path selector (e.g., via /etc/multipath.conf), and the mere switch of that
might render the system _unbootable_ if booting from multipath, since the
initramfs is affected.
More recently this and another storage changed default path selectors out
of 'queue-length', however, it's virtually possible for any storage system
to be affected, with the described manual configuration change. So, this
change is also desired on for the next stable release, 17.04, and later.
Patches are provided for 16.04 and 17.04.
Error logs in LP comment #6.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1673350/+subscriptions
More information about the foundations-bugs
mailing list