2017-04-12 16:35:38 |
Mauricio Faria de Oliveira |
bug |
|
|
added bug |
2017-04-12 16:35:38 |
Mauricio Faria de Oliveira |
attachment added |
|
multipath-tools_wait-socket.debdiff https://bugs.launchpad.net/bugs/1682178/+attachment/4860743/+files/multipath-tools_wait-socket.debdiff |
|
2017-04-12 19:46:29 |
Mathieu Trudel-Lapierre |
description |
This bug is used to include one more patch to completely fix LP 1670811.
That patch is mentioned in LP 1670811 comment 15 [1].
It addresses the case in which the initramfs instance of multipathd takes a while to actually shutdown after its receives the signal from initramfs/scripts/local-bottom/multipath.
That shutdown is asynchronous, and keeps the multipathd socket open.
If it is still open by the time the root fs is mounted and its units are started, the multipathd.socket will fail to start.
Patch attached.
Logs:
----
[ 36.465332] systemd[1]: Failed to listen on multipathd control socket.
[FAILED] Failed to listen on multipathd control socket.
See 'systemctl status multipathd.socket' for details.
# systemctl status multipathd.socket --no-pager -l
* multipathd.socket - multipathd control socket
Loaded: loaded (/lib/systemd/system/multipathd.socket; static; vendor preset: enabled)
Active: failed (Result: resources)
Listen: @/org/kernel/linux/storage/multipathd (Stream)
# journalctl -b -x
...
Mar 07 11:02:04 ltciofvtr-s824-lp8 systemd[1]: multipathd.socket: Failed to listen on sockets: Address already in use
Mar 07 11:02:04 ltciofvtr-s824-lp8 systemd[1]: Failed to listen on multipathd control socket.
Mar 07 11:02:04 ltciofvtr-s824-lp8 systemd[1]: multipathd.socket: Unit entered failed state.
...
Links:
-----
[1] https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1670811/comments/15 |
[Impact]
Multipath users on Ubuntu Server will see error messages from multipathd at boot. While the system continues to boot and is in a stable state, multipathd should be appropriately handled via its systemd unit after the system is booted.
[Test case]
1) Install with multipath enabled (disk-detect/multipath/enable=true).
2) Boot the installed system
3) Verify that there are no error messages from multipathd at boot.
[Regression potential]
This update changes the startup/shutdown login in initramfs at an early boot state, this could lead to failures to complete the booting process for systems that depend on multipath being available to bring up the rootfs, or failure to correctly drive multipathd/multipath-tools from a booted system. Furthermore, failures or delays shutting down a system due to multipathd / multipath-tools remaining up should also be considered as possible regressions issued from this update.
---
This bug is used to include one more patch to completely fix LP 1670811.
That patch is mentioned in LP 1670811 comment 15 [1].
It addresses the case in which the initramfs instance of multipathd takes a while to actually shutdown after its receives the signal from initramfs/scripts/local-bottom/multipath.
That shutdown is asynchronous, and keeps the multipathd socket open.
If it is still open by the time the root fs is mounted and its units are started, the multipathd.socket will fail to start.
Patch attached.
Logs:
----
[ 36.465332] systemd[1]: Failed to listen on multipathd control socket.
[FAILED] Failed to listen on multipathd control socket.
See 'systemctl status multipathd.socket' for details.
# systemctl status multipathd.socket --no-pager -l
* multipathd.socket - multipathd control socket
Loaded: loaded (/lib/systemd/system/multipathd.socket; static; vendor preset: enabled)
Active: failed (Result: resources)
Listen: @/org/kernel/linux/storage/multipathd (Stream)
# journalctl -b -x
...
Mar 07 11:02:04 ltciofvtr-s824-lp8 systemd[1]: multipathd.socket: Failed to listen on sockets: Address already in use
Mar 07 11:02:04 ltciofvtr-s824-lp8 systemd[1]: Failed to listen on multipathd control socket.
Mar 07 11:02:04 ltciofvtr-s824-lp8 systemd[1]: multipathd.socket: Unit entered failed state.
...
Links:
-----
[1] https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1670811/comments/15 |
|
2017-04-12 19:47:06 |
Mathieu Trudel-Lapierre |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-04-21 15:22:39 |
Andy Whitcroft |
multipath-tools (Ubuntu Zesty): status |
New |
Fix Committed |
|
2017-04-21 15:22:41 |
Andy Whitcroft |
bug |
|
|
added subscriber SRU Verification |
2017-04-21 15:22:46 |
Andy Whitcroft |
tags |
|
verification-needed |
|
2017-04-25 04:25:10 |
Mathew Hodson |
multipath-tools (Ubuntu): importance |
Undecided |
Medium |
|
2017-04-25 04:25:12 |
Mathew Hodson |
multipath-tools (Ubuntu Zesty): importance |
Undecided |
Medium |
|
2017-05-01 22:06:28 |
Brian Murray |
multipath-tools (Ubuntu): status |
New |
Fix Committed |
|
2017-05-01 22:06:38 |
Brian Murray |
multipath-tools (Ubuntu): assignee |
|
Mathieu Trudel-Lapierre (cyphermox) |
|
2017-05-03 06:05:47 |
Christian Ehrhardt |
bug |
|
|
added subscriber ChristianEhrhardt |
2017-05-10 18:58:43 |
Launchpad Janitor |
multipath-tools (Ubuntu): status |
Fix Committed |
Fix Released |
|
2017-06-27 18:11:19 |
Mauricio Faria de Oliveira |
tags |
verification-needed |
verification-done-zesty |
|
2017-07-05 00:56:41 |
Launchpad Janitor |
multipath-tools (Ubuntu Zesty): status |
Fix Committed |
Fix Released |
|
2017-07-05 00:56:47 |
Chris Halse Rogers |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-07-18 13:37:36 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~paelzer/ubuntu/+source/multipath-tools/+git/multipath-tools/+merge/327618 |
|
2018-01-15 12:05:54 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~juliank/ubuntu/+source/multipath-tools/+git/multipath-tools/+merge/336097 |
|
2018-01-24 10:07:36 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~juliank/ubuntu/+source/multipath-tools/+git/multipath-tools/+merge/336526 |
|