Comment 33 for bug 2000186

Revision history for this message
Mitchell Dzurick (mitchdz) wrote :

I have tested the proposed package on Lunar/Jammy/Focal

Tested packages:
Lunar: 0.8.8-1ubuntu2
Jammy: 0.8.8-1ubuntu1.22.04.2
Focal: 0.8.3-1ubuntu2.2

Just going to write the results down for Lunar, because they are almost identical; the only difference is you don't need to pin proposed for Jammy/Focal. That's just there because in Lunar proposed pocket is pinned below main (You can also use `apt -t lunar-proposed install multipath-tools` to install).

Steps:

1. Create VM in Linode - I used Nanode 1GB as my Plan

2. Wait for VM to boot

3. Stop VM

4. Change to paravirtual Kernel
In linode dashboard
* go to Configurations -> Edit -> Select a Kernel -> 6.0.2-x86_64-linode157
Save Changes

5. Power On Linode

6. Update packages
# apt update -y

7. Reproduce failure, we can do this by uninstalling the package and reinstalling
# apt remove -y multipath-tools
# apt install -y multipath-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  multipath-tools-boot
The following NEW packages will be installed:
  multipath-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 328 kB of archives.
After this operation, 1,233 kB of additional disk space will be used.
Get:1 http://mirrors.linode.com/ubuntu lunar/main amd64 multipath-tools amd64 0.8.8-1ubuntu2 [328 kB]
Fetched 328 kB in 0s (6,083 kB/s)
Selecting previously unselected package multipath-tools.
(Reading database ... 112654 files and directories currently installed.)
Preparing to unpack .../multipath-tools_0.8.8-1ubuntu2_amd64.deb ...
Unpacking multipath-tools (0.8.8-1ubuntu2) ...
Setting up multipath-tools (0.8.8-1ubuntu2) ...
multipathd.socket is a disabled or a static unit, not starting it.
Job for multipathd.service failed because the control process exited with error code.
See "systemctl status multipathd.service" and "journalctl -xeu multipathd.service" for details.
invoke-rc.d: initscript multipath-tools, action "restart" failed.
× multipathd.service - Device-Mapper Multipath Device Controller
     Loaded: loaded (/lib/systemd/system/multipathd.service; disabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2023-08-29 22:39:01 UTC; 7ms ago
TriggeredBy: ○ multipathd.socket
    Process: 37781 ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath (code=exited, status=1/FAILURE)
    Process: 37782 ExecStart=/sbin/multipathd -d -s (code=exited, status=1/FAILURE)
   Main PID: 37782 (code=exited, status=1/FAILURE)
     Status: "configure"
        CPU: 13ms

Aug 29 22:39:01 localhost systemd[1]: Starting multipathd.service - Device-Mapper Multipath Device Controller...
Aug 29 22:39:01 localhost multipathd[37782]: --------start up--------
Aug 29 22:39:01 localhost multipathd[37782]: read /etc/multipath.conf
Aug 29 22:39:01 localhost multipathd[37782]: DM multipath kernel driver not loaded
Aug 29 22:39:01 localhost multipathd[37782]: path checkers start up
Aug 29 22:39:01 localhost systemd[1]: multipathd.service: Main process exited, code=exited, status=1/FAILURE
Aug 29 22:39:01 localhost systemd[1]: multipathd.service: Failed with result 'exit-code'.
Aug 29 22:39:01 localhost systemd[1]: Failed to start multipathd.service - 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
Processing triggers for man-db (2.11.2-1) ...
Processing triggers for libc-bin (2.37-0ubuntu2) ...
Errors were encountered while processing:
 multipath-tools
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

8. Enable proposed pocket
# cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
# Enable Ubuntu proposed archive
deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe
EOF
# apt update -y
# sudo tee /etc/apt/preferences.d/proposed-archive-pinning << EOF
Package: *
Pin: release a=lunar-proposed
Pin-Priority: 501
EOF
# sudo apt upgrade -y
# dpkg -l multipath-tools | awk '/^ii/ {print $3}'
0.8.8-1ubuntu2.1