[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-04-13 Thread Launchpad Bug Tracker
This bug was fixed in the package multipath-tools - 0.4.9-3ubuntu7.11

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

  * debian/patches/series: add dm-multipath-backlist-nvme-5c412e47.patch to
the series file; it was missing in the previous upload and thus the patch
intending to fix bug 1551828 was not applied. (LP: #1551828)

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

  [ Mathieu Trudel-Lapierre ]
  * debian/patches/dm-multipath-backlist-nvme-5c412e47.patch: blacklist NVMe
from multipath, otherwise kpartx calls will hang. This is because mpath
works at the request level (which NVMe bypasses), so multipathing is not
supported on NVMe. (LP: #1551828)

  [ Mauricio Faria de Oliveira ]
  * Remove partition device nodes of individual paths (for LVM on multipath)
(LP: #1540401)
- debian/multipath-tools.dm-mpath-lvm.udev: udev rule for that.
- debian/initramfs/hooks: copy the udev rule and partx to the initramfs.
- debian/initramfs/init-top: load dm-multipath module for 'multipath -c'.
- debian/rules: install the udev rule and init-top.

 -- Mathieu Trudel-Lapierre   Mon, 21 Mar 2016
10:41:36 -0400

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-04-06 Thread bugproxy
--- Comment From mauri...@br.ibm.com 2016-04-06 10:16 EDT---
The verification for this bug has already been done on ...7.10.
The 7.11 update is unrelated to this bug, so remarking verification-done.

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-04-05 Thread Chris Halse Rogers
Hello bugproxy, 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.11 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!

** Tags removed: verification-done

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-03-03 Thread bugproxy
** 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/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+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 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-03-03 Thread bugproxy
** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-03-03 Thread bugproxy
--- Comment From mauri...@br.ibm.com 2016-03-03 09:46 EDT---
Excellent, Manju. Thanks. Marking verification-done.

** Tags removed: verification-done
** 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/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+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 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-03-03 Thread bugproxy
--- Comment From mauri...@br.ibm.com 2016-03-03 09:46 EDT---
Excellent, Manju. Thanks. Marking verification-done.

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-03-03 Thread Mauricio Faria de Oliveira
** 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/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+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 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-03-03 Thread Mauricio Faria de Oliveira
** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-03-02 Thread Brian Murray
Hello bugproxy, 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.10 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: Triaged => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-03-02 Thread Brian Murray
Hello bugproxy, 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.10 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: Triaged => 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/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+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 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-24 Thread Mathieu Trudel-Lapierre
It's on my list, yes.

The idea however is that I haven't uploaded it because it is so annoying
to test these patches from a PPA, I uploaded the changes for xenial to
the archive for further testing since it looked like it worked
sufficiently to not break too many use cases.

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

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

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

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

-- 
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/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+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 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-24 Thread Mathieu Trudel-Lapierre
It's on my list, yes.

The idea however is that I haven't uploaded it because it is so annoying
to test these patches from a PPA, I uploaded the changes for xenial to
the archive for further testing since it looked like it worked
sufficiently to not break too many use cases.

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

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

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

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-23 Thread Launchpad Bug Tracker
This bug was fixed in the package multipath-tools - 0.5.0-7ubuntu15

---
multipath-tools (0.5.0-7ubuntu15) xenial; urgency=medium

  [ Mauricio Faria de Oliveira ]
  * Remove partition device nodes of individual paths (for LVM on multipath)
(LP: #1540401)
- debian/multipath-tools.dm-mpath-lvm.udev: udev rule for that.
- debian/initramfs/hooks: copy the udev rule and partx to the initramfs.
- debian/initramfs/init-top: load the dm-multipath module for 'multipath 
-c'.
- debian/rules: install the udev rule (priority 56: after 55-scsi-sg3_id)
  * debian/rules: don't ship 95-multipath.rules udev rules anymore; they are
not necessary with multipath-tools listening for udev events directly.

 -- Mathieu Trudel-Lapierre   Thu, 11 Feb 2016
19:08:14 -0500

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-23 Thread Launchpad Bug Tracker
This bug was fixed in the package multipath-tools - 0.5.0-7ubuntu15

---
multipath-tools (0.5.0-7ubuntu15) xenial; urgency=medium

  [ Mauricio Faria de Oliveira ]
  * Remove partition device nodes of individual paths (for LVM on multipath)
(LP: #1540401)
- debian/multipath-tools.dm-mpath-lvm.udev: udev rule for that.
- debian/initramfs/hooks: copy the udev rule and partx to the initramfs.
- debian/initramfs/init-top: load the dm-multipath module for 'multipath 
-c'.
- debian/rules: install the udev rule (priority 56: after 55-scsi-sg3_id)
  * debian/rules: don't ship 95-multipath.rules udev rules anymore; they are
not necessary with multipath-tools listening for udev events directly.

 -- Mathieu Trudel-Lapierre   Thu, 11 Feb 2016
19:08:14 -0500

** 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/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+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 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-11 Thread Mauricio Faria de Oliveira
Hi @mathieu-tl,

Here is the patch for Xenial.

Differences from the patch for Trusty:
1) install udev rule with priority 56, so it's run after 55-scsi-sg3_id; this 
way the paths actually have scsi id udev attributes defined by the time 
'multipath -c' runs, and now it works fine (fixes the issue you mentioned on 
IRC).
2) remove the old multipath discovery udev rule (just like you applied for 
trusty, on multipath-tools 0.4.9-3ubuntu7.5)
3) debian/initramfs/init-top already exists, so just insert the snippet to load 
the module (rather than create the file).

Test-case:

1) Boot a qemu-kvm guest [1] w/ xenial (LVM on top of multipath) w/ the 
break=pre-multipath boot option 
2) exit all 3 initramfs prompts
3) this should make LVM scan run before multipath discovery; the latter fails 
to create the devmap, thus mpartX-part2 (for /boot) is not present, and the 
boot is interrupted.

...
(initramfs) exit
...
(initramfs) exit
...
(initramfs) exit
...
[   82.361944] device-mapper: table: 252:3: multipath: error getting 
device
[   82.362292] device-mapper: table: 252:2: multipath: error getting 
device
[   82.399493] device-mapper: table: 252:3: multipath: error getting 
device
[  OK  ] Found device /dev/mapper/mauricfo4--vg-swap_1.
 Activating swap /dev/mapper/mauricfo4--vg-swap_1...
[  OK  ] Activated swap /dev/mapper/mauricfo4--vg-swap_1.
[  OK  ] Reached target Swap.
[ TIME ] Timed out waiting for device dev-mapper-mpatha\x2dpart2.device.
[DEPEND] Dependency failed for /boot.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for Clean up any mess left by 0dns-up.
[DEPEND] Dependency failed for File System Check on 
/dev/mapper/mpatha-part2.
...
Welcome to emergency mode! After logging in, type "journalctl -xb" to 
view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to
try again to boot into default mode.
Press Enter for maintenance
(or press Control-D to continue):

root@mauricfo4:~# lvm pvdisplay | grep Name
  Found duplicate PV hWoIFGkvc0iVrbZnzhhqxud6QTeotfmQ: using /dev/sda3 
not /dev/sdb3
  Using duplicate PV /dev/sda3 without holders, ignoring /dev/sdb3
  Found duplicate PV hWoIFGkvc0iVrbZnzhhqxud6QTeotfmQ: using /dev/sda3 
not /dev/sdb3
  Using duplicate PV /dev/sda3 without holders, ignoring /dev/sdb3
  PV Name   /dev/sda3
  VG Name   mauricfo4-vg

With the patch applied, the partition nodes are removed, LVM only scans
the multipath devices, and the boot finishes successfully:

...
(initramfs) exit
...
(initramfs) ls -l /dev/sd*
brw---18,  16 /dev/sdb
brw---18,   0 /dev/sda

initramfs) dmsetup table
No devices found

(initramfs) exit
...
(initramfs) dmsetup table | sort
mauricfo4--vg-root: 0 63750144 linear 252:3 2048
mauricfo4--vg-swap_1: 0 2834432 linear 252:3 63752192
mpatha-part1: 0 14336 linear 252:0 2048
mpatha-part2: 0 499712 linear 252:0 16384
mpatha-part3: 0 66590720 linear 252:0 516096
mpatha: 0 67108864 multipath 0 0 2 1 round-robin 0 1 1 8:0 1 
round-robin 0 1 1 8:16 1 

(initramfs) lvm pvdisplay | grep Name
  ...
  PV Name   /dev/mapper/mpatha-part3
  VG Name   mauricfo4-vg

(initramfs) exit
...

# lsb_release -c
Codename:   xenial

# mount | grep ' / '
/dev/mapper/mauricfo4--vg-root on / type ext4 
(rw,relatime,errors=remount-ro,data=ordered)

# lvm pvdisplay | grep Name
  PV Name   /dev/mapper/mpatha-part3
  VG Name   mauricfo4-vg

# dmsetup ls --tree -o blkdevname
mauricfo4--vg-swap_1  (252:5)
 └─mpatha-part3  (252:3)
└─mpatha  (252:0)
   ├─  (8:16)
   └─  (8:0)
mpatha-part2  (252:2)
 └─mpatha  (252:0)
├─  (8:16)
└─  (8:0)
mpatha-part1  (252:1)
 └─mpatha  (252:0)
├─  (8:16)
└─  (8:0)
mauricfo4--vg-root  (252:4)
 └─mpatha-part3  (252:3)
└─mpatha  (252:0)
   ├─  (8:16)
   └─  (8:0)

[1] qemu command line: commandline: qemu-system-ppc64 -enable-kvm
-nographic -nodefaults -monitor stdio -serial pty -M pseries -smp
1,cores=1,threads=1 -m 8G -drive file=disk.qcow2,serial=xenialroot
-drive file=disk.qcow2,serial=xenialroot -S

** Patch added: "Patch for Xenial"
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+attachment/4569667/+files/multipath-tools_dm-mpath-lvm_xenial.debdiff

-- 
You received this bug notification because you 

[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-11 Thread Mauricio Faria de Oliveira
Hi @mathieu-tl,

Here is the patch for Xenial.

Differences from the patch for Trusty:
1) install udev rule with priority 56, so it's run after 55-scsi-sg3_id; this 
way the paths actually have scsi id udev attributes defined by the time 
'multipath -c' runs, and now it works fine (fixes the issue you mentioned on 
IRC).
2) remove the old multipath discovery udev rule (just like you applied for 
trusty, on multipath-tools 0.4.9-3ubuntu7.5)
3) debian/initramfs/init-top already exists, so just insert the snippet to load 
the module (rather than create the file).

Test-case:

1) Boot a qemu-kvm guest [1] w/ xenial (LVM on top of multipath) w/ the 
break=pre-multipath boot option 
2) exit all 3 initramfs prompts
3) this should make LVM scan run before multipath discovery; the latter fails 
to create the devmap, thus mpartX-part2 (for /boot) is not present, and the 
boot is interrupted.

...
(initramfs) exit
...
(initramfs) exit
...
(initramfs) exit
...
[   82.361944] device-mapper: table: 252:3: multipath: error getting 
device
[   82.362292] device-mapper: table: 252:2: multipath: error getting 
device
[   82.399493] device-mapper: table: 252:3: multipath: error getting 
device
[  OK  ] Found device /dev/mapper/mauricfo4--vg-swap_1.
 Activating swap /dev/mapper/mauricfo4--vg-swap_1...
[  OK  ] Activated swap /dev/mapper/mauricfo4--vg-swap_1.
[  OK  ] Reached target Swap.
[ TIME ] Timed out waiting for device dev-mapper-mpatha\x2dpart2.device.
[DEPEND] Dependency failed for /boot.
[DEPEND] Dependency failed for Local File Systems.
[DEPEND] Dependency failed for Clean up any mess left by 0dns-up.
[DEPEND] Dependency failed for File System Check on 
/dev/mapper/mpatha-part2.
...
Welcome to emergency mode! After logging in, type "journalctl -xb" to 
view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to
try again to boot into default mode.
Press Enter for maintenance
(or press Control-D to continue):

root@mauricfo4:~# lvm pvdisplay | grep Name
  Found duplicate PV hWoIFGkvc0iVrbZnzhhqxud6QTeotfmQ: using /dev/sda3 
not /dev/sdb3
  Using duplicate PV /dev/sda3 without holders, ignoring /dev/sdb3
  Found duplicate PV hWoIFGkvc0iVrbZnzhhqxud6QTeotfmQ: using /dev/sda3 
not /dev/sdb3
  Using duplicate PV /dev/sda3 without holders, ignoring /dev/sdb3
  PV Name   /dev/sda3
  VG Name   mauricfo4-vg

With the patch applied, the partition nodes are removed, LVM only scans
the multipath devices, and the boot finishes successfully:

...
(initramfs) exit
...
(initramfs) ls -l /dev/sd*
brw---18,  16 /dev/sdb
brw---18,   0 /dev/sda

initramfs) dmsetup table
No devices found

(initramfs) exit
...
(initramfs) dmsetup table | sort
mauricfo4--vg-root: 0 63750144 linear 252:3 2048
mauricfo4--vg-swap_1: 0 2834432 linear 252:3 63752192
mpatha-part1: 0 14336 linear 252:0 2048
mpatha-part2: 0 499712 linear 252:0 16384
mpatha-part3: 0 66590720 linear 252:0 516096
mpatha: 0 67108864 multipath 0 0 2 1 round-robin 0 1 1 8:0 1 
round-robin 0 1 1 8:16 1 

(initramfs) lvm pvdisplay | grep Name
  ...
  PV Name   /dev/mapper/mpatha-part3
  VG Name   mauricfo4-vg

(initramfs) exit
...

# lsb_release -c
Codename:   xenial

# mount | grep ' / '
/dev/mapper/mauricfo4--vg-root on / type ext4 
(rw,relatime,errors=remount-ro,data=ordered)

# lvm pvdisplay | grep Name
  PV Name   /dev/mapper/mpatha-part3
  VG Name   mauricfo4-vg

# dmsetup ls --tree -o blkdevname
mauricfo4--vg-swap_1  (252:5)
 └─mpatha-part3  (252:3)
└─mpatha  (252:0)
   ├─  (8:16)
   └─  (8:0)
mpatha-part2  (252:2)
 └─mpatha  (252:0)
├─  (8:16)
└─  (8:0)
mpatha-part1  (252:1)
 └─mpatha  (252:0)
├─  (8:16)
└─  (8:0)
mauricfo4--vg-root  (252:4)
 └─mpatha-part3  (252:3)
└─mpatha  (252:0)
   ├─  (8:16)
   └─  (8:0)

[1] qemu command line: commandline: qemu-system-ppc64 -enable-kvm
-nographic -nodefaults -monitor stdio -serial pty -M pseries -smp
1,cores=1,threads=1 -m 8G -drive file=disk.qcow2,serial=xenialroot
-drive file=disk.qcow2,serial=xenialroot -S

** Patch added: "Patch for Xenial"
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+attachment/4569667/+files/multipath-tools_dm-mpath-lvm_xenial.debdiff

-- 
You received this bug notification because you 

[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-04 Thread Mathew Hodson
** Package changed: ubuntu => multipath-tools (Ubuntu)

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

-- 
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/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+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 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-04 Thread Mathew Hodson
** Package changed: ubuntu => multipath-tools (Ubuntu)

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-04 Thread Mathieu Trudel-Lapierre
** Changed in: multipath-tools (Ubuntu)
   Status: Confirmed => In Progress

-- 
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/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+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 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-04 Thread Mathieu Trudel-Lapierre
** Changed in: multipath-tools (Ubuntu)
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-04 Thread Mauricio Faria de Oliveira
Hi @mathew-hodson,

In case it helps,
I believe this bug is likely to be assigned to @mathieu-tl.

We've been working on these sort of problems, and talked about a tentative 
14.04.4 milestone.
Thanks!

PS. Deleted previous attachment/patch version.


** Patch removed: "Patch for booting with LVM on multipath devices"
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+attachment/4563337/+files/multipath-tools_dm-mpath-lvm.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/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+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 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-04 Thread Steve Langasek
** Changed in: multipath-tools (Ubuntu)
 Assignee: Taco Screen team (taco-screen-team) => Mathieu Trudel-Lapierre 
(mathieu-tl)

-- 
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/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+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 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-04 Thread Steve Langasek
** Changed in: multipath-tools (Ubuntu)
 Assignee: Taco Screen team (taco-screen-team) => Mathieu Trudel-Lapierre 
(mathieu-tl)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-04 Thread Mauricio Faria de Oliveira
Hi @mathew-hodson,

In case it helps,
I believe this bug is likely to be assigned to @mathieu-tl.

We've been working on these sort of problems, and talked about a tentative 
14.04.4 milestone.
Thanks!

PS. Deleted previous attachment/patch version.


** Patch removed: "Patch for booting with LVM on multipath devices"
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+attachment/4563337/+files/multipath-tools_dm-mpath-lvm.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-04 Thread Mathieu Trudel-Lapierre
This isn't obvious to reproduce. So far, I haven't had the system fail
to boot or fail to mount all partitions. I have been testing *without*
multipath-tools 0.4.9-3ubuntu7.8; so not using multipathd in the
initramfs.

I suppose it may be that I'm using a partitioning that happens to work?

Could you please add the output of: sudo dmsetup ls --tree -o blkdevname

No failure after 20 reboots:

mpath0-part1  (252:2)
 └─mpath0  (252:0)
├─  (8:16)
└─  (8:0)
mpath1  (252:1)
 ├─  (8:48)
 └─  (8:32)
trusty-boot  (252:6)
 └─mpath0-part2  (252:3)
└─mpath0  (252:0)
   ├─  (8:16)
   └─  (8:0)
trusty-swap  (252:5)
 └─mpath0-part2  (252:3)
└─mpath0  (252:0)
   ├─  (8:16)
   └─  (8:0)
trusty-root  (252:4)
 └─mpath0-part2  (252:3)
└─mpath0  (252:0)
   ├─  (8:16)
   └─  (8:0)

My test system is indeed a ppc64el qemu VM using spapr-vscsi.

Will setup a new system using snapshot to test with multipath-tools
0.4.9-3ubuntu7.8.

-- 
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/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1540401/+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 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-04 Thread Mathieu Trudel-Lapierre
This isn't obvious to reproduce. So far, I haven't had the system fail
to boot or fail to mount all partitions. I have been testing *without*
multipath-tools 0.4.9-3ubuntu7.8; so not using multipathd in the
initramfs.

I suppose it may be that I'm using a partitioning that happens to work?

Could you please add the output of: sudo dmsetup ls --tree -o blkdevname

No failure after 20 reboots:

mpath0-part1  (252:2)
 └─mpath0  (252:0)
├─  (8:16)
└─  (8:0)
mpath1  (252:1)
 ├─  (8:48)
 └─  (8:32)
trusty-boot  (252:6)
 └─mpath0-part2  (252:3)
└─mpath0  (252:0)
   ├─  (8:16)
   └─  (8:0)
trusty-swap  (252:5)
 └─mpath0-part2  (252:3)
└─mpath0  (252:0)
   ├─  (8:16)
   └─  (8:0)
trusty-root  (252:4)
 └─mpath0-part2  (252:3)
└─mpath0  (252:0)
   ├─  (8:16)
   └─  (8:0)

My test system is indeed a ppc64el qemu VM using spapr-vscsi.

Will setup a new system using snapshot to test with multipath-tools
0.4.9-3ubuntu7.8.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-03 Thread Ubuntu Foundations Team Bug Bot
The attachment "Patch for booting with LVM on multipath devices" 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1540401/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-03 Thread Mauricio Faria de Oliveira
** Changed in: ubuntu
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1540401/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1540401] Re: ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The disk drive for /boot is not ready yet or not present"

2016-02-01 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make
Ubuntu better.  It seems that your bug report is not filed about a
specific source package though, rather it is just filed against Ubuntu
in general.  It is important that bug reports be filed about source
packages so that people interested in the package can find the bugs
about it.  You can find some hints about determining what package your
bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage.
You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit
https://bugs.launchpad.net/ubuntu/+bug/1540401/+editstatus and add the
package name in the text box next to the word Package.

[This is an automated message.  I apologize if it reached you
inappropriately; please just reply to this message indicating so.]

** Tags added: bot-comment

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1540401

Title:
  ISST-LTE: Ubuntu14.04.4 lpar fails to boot after installation: "The
  disk drive for /boot is not ready yet or not present"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1540401/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs