[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-07-14 Thread Mathieu Trudel-Lapierre
** Also affects: multipath-tools (Ubuntu Vivid)
   Importance: Undecided
   Status: New

** Also affects: multipath-tools (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Changed in: multipath-tools (Ubuntu Trusty)
   Status: New => In Progress

** Changed in: multipath-tools (Ubuntu Vivid)
   Status: New => In Progress

** Changed in: multipath-tools (Ubuntu Trusty)
 Assignee: (unassigned) => Mathieu Trudel-Lapierre (mathieu-tl)

** Changed in: multipath-tools (Ubuntu Vivid)
 Assignee: (unassigned) => Mathieu Trudel-Lapierre (mathieu-tl)

** Changed in: multipath-tools (Ubuntu Trusty)
   Importance: Undecided => High

** Changed in: multipath-tools (Ubuntu Vivid)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-07-14 Thread Mathieu Trudel-Lapierre
** Description changed:

+ [Impact]
+ Impacts any user of multipath, regardless of release. Users who do not 
currently see issues may see them on upgrade to a newer version of systemd/udev.
+ 
+ [Test case]
+ See below. Test case can be summarized as "boot on a multipath system".
+ 
+ [Regression potential]
+ This changes the behavior on locking devices for multipath, to avoid a 
deadlock with udev. Since this changes the locking behavior of multipath this 
may also affect other scripts or applications depending on multipath doing an 
exclusive lock, so scripts or applications could fail because they acquired a 
lock on the devices prematurely, before multipath was finished. In most cases 
this shouldn't happen, as it should be limited to an isolated multipath step in 
the boot process (in initramfs).
+ 
+ ---
+ 
  Problem: during initramfs, multipath devices takes long to initialize
  (~30 seconds?)
  
  Symptom:
-   <...>
-   Loading, please wait...
-   <...>
-   [4.492303] device-mapper: multipath: version 1.7.0 loaded
-   [4.643053] random: nonblocking pool is initialized
-   worker [116] /devices/vio/7102/host0/target0:0:0/0:0:0:0/block/sda 
is taking a long time
-   worker [117] /devices/vio/7102/host0/target0:0:2/0:0:2:0/block/sdc 
is taking a long time
-   worker [121] /devices/vio/7102/host0/target0:0:1/0:0:1:0/block/sdb 
is taking a long time
-   worker [123] /devices/vio/7102/host0/target0:0:3/0:0:3:0/block/sdd 
is taking a long time
-   <... here's the delay ...>
-   timeout '/sbin/multipath -v0 /dev/sda'
-   slow: '/sbin/multipath -v0 /dev/sda' [181]
-   timeout '/sbin/multipath -v0 /dev/sdb'
-   slow: '/sbin/multipath -v0 /dev/sdb' [178]
-   timeout '/sbin/multipath -v0 /dev/sdc'
-   slow: '/sbin/multipath -v0 /dev/sdc' [180]
-   timeout '/sbin/multipath -v0 /dev/sdd'
-   slow: '/sbin/multipath -v0 /dev/sdd' [182]
-   worker [116] /devices/vio/7102/host0/target0:0:0/0:0:0:0/block/sda 
timeout; kill it
-   seq 1059 '/devices/vio/7102/host0/target0:0:0/0:0:0:0/block/sda' 
killed
-   worker [117] /devices/vio/7102/host0/target0:0:2/0:0:2:0/block/sdc 
timeout; kill it
-   seq 1079 '/devices/vio/7102/host0/target0:0:2/0:0:2:0/block/sdc' 
killed
-   worker [121] /devices/vio/7102/host0/target0:0:1/0:0:1:0/block/sdb 
timeout; kill it
-   seq 1069 '/devices/vio/7102/host0/target0:0:1/0:0:1:0/block/sdb' 
killed
-   worker [123] /devices/vio/7102/host0/target0:0:3/0:0:3:0/block/sdd 
timeout; kill it
-   seq 1089 '/devices/vio/7102/host0/target0:0:3/0:0:3:0/block/sdd' 
killed
-   worker [116] terminated by signal 9 (Killed)
-   worker [117] terminated by signal 9 (Killed)
-   worker [121] terminated by signal 9 (Killed)
-   worker [123] terminated by signal 9 (Killed)
-   <...>
-   
+  <...>
+  Loading, please wait...
+  <...>
+  [4.492303] device-mapper: multipath: version 1.7.0 loaded
+  [4.643053] random: nonblocking pool is initialized
+  worker [116] /devices/vio/7102/host0/target0:0:0/0:0:0:0/block/sda is 
taking a long time
+  worker [117] /devices/vio/7102/host0/target0:0:2/0:0:2:0/block/sdc is 
taking a long time
+  worker [121] /devices/vio/7102/host0/target0:0:1/0:0:1:0/block/sdb is 
taking a long time
+  worker [123] /devices/vio/7102/host0/target0:0:3/0:0:3:0/block/sdd is 
taking a long time
+  <... here's the delay ...>
+  timeout '/sbin/multipath -v0 /dev/sda'
+  slow: '/sbin/multipath -v0 /dev/sda' [181]
+  timeout '/sbin/multipath -v0 /dev/sdb'
+  slow: '/sbin/multipath -v0 /dev/sdb' [178]
+  timeout '/sbin/multipath -v0 /dev/sdc'
+  slow: '/sbin/multipath -v0 /dev/sdc' [180]
+  timeout '/sbin/multipath -v0 /dev/sdd'
+  slow: '/sbin/multipath -v0 /dev/sdd' [182]
+  worker [116] /devices/vio/7102/host0/target0:0:0/0:0:0:0/block/sda 
timeout; kill it
+  seq 1059 '/devices/vio/7102/host0/target0:0:0/0:0:0:0/block/sda' killed
+  worker [117] /devices/vio/7102/host0/target0:0:2/0:0:2:0/block/sdc 
timeout; kill it
+  seq 1079 '/devices/vio/7102/host0/target0:0:2/0:0:2:0/block/sdc' killed
+  worker [121] /devices/vio/7102/host0/target0:0:1/0:0:1:0/block/sdb 
timeout; kill it
+  seq 1069 '/devices/vio/7102/host0/target0:0:1/0:0:1:0/block/sdb' killed
+  worker [123] /devices/vio/7102/host0/target0:0:3/0:0:3:0/block/sdd 
timeout; kill it
+  seq 1089 '/devices/vio/7102/host0/target0:0:3/0:0:3:0/block/sdd' killed
+  worker [116] terminated by signal 9 (Killed)
+  worker [117] terminated by signal 9 (Killed)
+  worker [121] terminated by signal 9 (Killed)
+  worker [123] terminated by signal 9 (Killed)
+  <...>
+  
  
  Reason:
-   When udev starts to handle the block device, it acquires a lock on it, 
then processes the rules.
-   Therefore, by the time 'multipath' runs (called in udev rules), the 
block device is already locked.
- 
-   For 'multipat

[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-07-15 Thread Chris J Arges
Hello Mauricio, or anyone else affected,

Accepted multipath-tools into trusty-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/multipath-
tools/0.4.9-3ubuntu7.3 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: multipath-tools (Ubuntu Trusty)
   Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-07-24 Thread Launchpad Bug Tracker
** Branch linked: lp:~mathieu-tl/ubuntu/trusty/multipath-tools/usb+local

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-07-27 Thread Mauricio Faria de Oliveira
This is verified OK in trusty-proposed.
None udev delays/lockups experienced when booting.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-07-28 Thread Launchpad Bug Tracker
This bug was fixed in the package multipath-tools - 0.4.9-3ubuntu7.4

---
multipath-tools (0.4.9-3ubuntu7.4) trusty; urgency=medium

  * Remove 0024-ignore-usb.patch: Ignore USB devices. Verification fails
for this fix; it needs more work.

multipath-tools (0.4.9-3ubuntu7.3) trusty; urgency=medium

  * Added debian/patches/0015-shared-lock-for-udev.patch (LP: #1431650)
  * Support disks with non 512-byte sectors (LP: #1441930)
  * Correctly write FC timeout attributes to sysfs. (LP: #1435706)
  * Ignore USB devices. (LP: #1468897)

 -- Mathieu Trudel-Lapierre   Mon, 27 Jul 2015
13:48:39 -0400

** Changed in: multipath-tools (Ubuntu Trusty)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-13 Thread Mauricio Faria de Oliveira
The work-around in use:

  Remove the multipath udev rules from the initramfs.
  Note: this doesn't remove multipath support from it; there's more in there. 
Boot from multipath devices works normally (and faster :-)

$ grep 'for rules in' /usr/share/initramfs-tools/hooks/multipath 
  for rules in 95-multipath.rules; do

$ sudo sed '/for rules in/ s:95-multipath.rules::' -i /usr/share
/initramfs-tools/hooks/multipath

$ grep 'for rules in' /usr/share/initramfs-tools/hooks/multipath 
  for rules in ; do

$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.19.0-7-generic

$ sudo reboot

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-13 Thread Mauricio Faria de Oliveira
FYI, this doesn't affect Trusty nor Utopic.

That udev code lock code was introduced in 2014-04-14:

  systemd commit 3ebdb81ef088afd3b4c72b516beb5610f8c93a0d [1]

[1]
http://cgit.freedesktop.org/systemd/systemd/commit/?id=3ebdb81ef088afd3b4c72b516beb5610f8c93a0d

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-16 Thread bugproxy
** Tags added: architecture-ppc64le bugnameltc-122821 severity-critical
targetmilestone-inin1504

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-17 Thread Mathieu Trudel-Lapierre
The workaround seems good, but there still tends to be issues bringing
up the multipath devices on boot with QEMU in my testing; just the
workaround isn't always sufficient: break=pre-multipath then resuming
helps out there.

I think this all goes back to multipath-tools updates that would help a
whole lot; but they may be a little too intrusive past feature freeze --
I'm looking into just updating the udev rules now.

** Changed in: multipath-tools (Ubuntu)
   Status: New => In Progress

** Changed in: multipath-tools (Ubuntu)
   Importance: Undecided => Medium

** Changed in: multipath-tools (Ubuntu)
 Assignee: (unassigned) => Mathieu Trudel-Lapierre (mathieu-tl)

** Changed in: multipath-tools (Ubuntu)
   Importance: Medium => High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-17 Thread Mauricio Faria de Oliveira
Hi Mathieu,

> The workaround seems good, but there still tends to be issues bringing up 
> the multipath devices on boot with QEMU in my testing; just the workaround 
> isn't always sufficient: break=pre-multipath then resuming helps out there.

May you describe the issues you're seeing? 
I guess I have hit more than a few so far.

Specifically, check bug 1429327 ('multipath' runs *before* all disks
show up), and bug 1432062 (udev rules fail w/ disk-names w/ spaces when
user_friendly_names isn't set).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-17 Thread Mathieu Trudel-Lapierre
I see delays in the devices being detected, which means after running
through the initramfs scripts and other startup scripts, the installed
system will come up using /dev/sdb1 (for example) rather than the
equivalent device mapper device, and no swap.

If you can point me to the bug you filed that better matches this, I can
fix it first before taking on the other reports.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-17 Thread Mauricio Faria de Oliveira
This looks like  bug 1429327 ('multipath' runs *before* all disks show
up).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-19 Thread Mauricio Faria de Oliveira
This commit should fix this bug, and probably bug 1429327 as well.
   
https://github.com/hreinecke/multipath-tools/commit/841977fc9c3432702c296d6239e4a54291a6007a

It should allow multipath to be run in udev rules w/out timeout/killing (fixes 
this bug),
and thus restore the functioning of event-based multipath discovery 
(which should fix bug 1429327, as the SCSI disks found after 
initramfs/local-top/multipath
should be found during the wait-for-root call in initramfs/local).

It just happens not to be upstream yet, and maybe not reviewed.
I'll take a look at it tomorrow.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-20 Thread Mauricio Faria de Oliveira
Hi Mathieu,

I did some research for the commit mentioned in comment #10.

Its description clarifies (how/why) it solves this problem, and even
others we would probably hit later (e.g., after booting, SCSI disks
added/removed re-trigerring udev rules, and then involving multipathd).

It's been written by a multipath/enterprise hardware guy for the suse distros. 
I see it in opensuse [1], with a patch named after 'sles12', which also names 
the branch in his github repo [2].

It looks good to go, combined with another fix applied to the initramfs
script (the udev settle thing we talked about, but on a slightly
different place).   Patch attached.

With it applied, the udev timeout/killing disappears as expected, and
with the earlier 'udevadm settle' call in place, so disappears the
random dm ioctl() failures (race condition w/ multipath in udev rules):

device-mapper: create ioctl on mpathX-partY failed: Device or resource busy
create/reload failed on mpathX-partY

In summary, the attached patch restores event-based multipath
discovery.. and we no longer need to remove the 95-multipath.rules from
initramfs.


Links:
[1] 
https://build.opensuse.org/package/revisions/openSUSE:Factory/multipath-tools
[2] https://github.com/hreinecke/multipath-tools/tree/sles12

** Patch added: "multipath-tools_shared-lock.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+attachment/4350707/+files/multipath-tools_shared-lock.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-20 Thread Mauricio Faria de Oliveira
Updated replies to earlier comments:

comment #6
> I think this all goes back to multipath-tools updates that would help a whole 
> lot; but they may be a little too intrusive past feature freeze -- I'm 
> looking into just updating the udev rules now.

Just to clarify/respond to that (earlier than patch) comment with
regards to the patch attached.

Given that the patch introduces only 2 changes, which are minimal/small (and 
one may sometimes be a nop), and is totally contained in multipath stuff, I 
think it'd be OK to get it in.
(Very respectfully,) it should not make multipath less functional than it is 
now. :) And can't break non-multipath stuff.


comment #8
> the installed system will come up using /dev/sdb1 (for example) rather than 
> the equivalent device mapper device, 

The patch should help* with that issue (described in bug 1429327 comment
#10), because the multipath disks now may* show up before the wait-for-
root call.. but a proper fix should probably follow the discussion in
there. I'll try to get something addressing this too, according to
Steve's suggestion.


> [...] and no swap.

This one should be fixed w/ 1430074.
The /etc/fstab file used to have the incorrect/p separator for the swap device 
too, so it wasn't found/timed out.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-20 Thread Ubuntu Foundations Team Bug Bot
The attachment "multipath-tools_shared-lock.debdiff" seems to be a
debdiff.  The ubuntu-sponsors team has been subscribed to the bug report
so that they can review and hopefully sponsor the debdiff.  If the
attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are member of the
~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-20 Thread Mathieu Trudel-Lapierre
Well, not necessarily. The swap issue is the same as the rootfs one-- at
some point multipath times out, and other init jobs would also timeout
trying to bring up the swap (which can't be identified from the UUID)
whereas the rootfs got brought up on a single path using the UUID.

The debdiff looks quite good; I'll add in the removal of
scsi_wait_device which is just useless (that module no longer exists).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-20 Thread Mauricio Faria de Oliveira
> Well, not necessarily. The swap issue is the same as the rootfs one

Ah, yes, you're right.

I was thinking with the assumption that the workaround/patch for the timeout 
was in place.
Indeed, if it's not in place, there'll be no swap nor anything multipath'ed at 
all.

In the particular case the workaround/patch is applied, what I've seen
is a job waiting/timing out for the swap device (now) incorrectly
specified in /etc/fstab.

Thanks for pointing that out.

> The debdiff looks quite good; I'll add in the removal of
scsi_wait_device which is just useless (that module no longer exists).

Cool :) thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-23 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/multipath-tools

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-03-23 Thread Launchpad Bug Tracker
This bug was fixed in the package multipath-tools - 0.4.9-3ubuntu11

---
multipath-tools (0.4.9-3ubuntu11) vivid; urgency=medium

  [ Mauricio Faria de Oliveira ]
  * Added debian/patches/0015-shared-lock-for-udev.patch (LP: #1431650)
  * debian/initramfs/local-top: wait for udev to settle before running
'multipath' in order to avoid race condition on device-mapper calls.

  [ Mathieu Trudel-Lapierre ]
  * Drop scsi_wait_scan from the multipath initramfs script: that module
no longer exists.
 -- Mathieu Trudel-LapierreMon, 23 Mar 2015 14:56:37 
-0400

** Changed in: multipath-tools (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-05-30 Thread Alexandre Anoutchine
"This bug was fixed in the package multipath-tools - 0.4.9-3ubuntu11"

I have 0.4.9-3ubuntu12 but it still occurs to me. 5 minutes boot time :(
So how to fix it ?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-06-01 Thread Mauricio Faria de Oliveira
@xirius

I'm debugging a similar issue that happens w/ hundreds of paths.
They're so many that the boot just takes a really long time.

How many paths are expected on your scenario?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-06-13 Thread Alexandre Anoutchine
@mauricfo

Sorry for the late response. 31 paths are expected on mine and it takes
ages to boot.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1431650] Re: Multipath devices take long to initialize during initramfs

2015-06-15 Thread Mauricio Faria de Oliveira
@xirius

Well, I guess that's a different problem.
Sorry, I can't help w/ debugging that, but I'd suggest you to track/compare 
boot times w/ a increasing number of paths, or from different adapters/storage 
systems, until you rule out the slow-down factor.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1431650

Title:
  Multipath devices take long to initialize during initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1431650/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs