[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-04-02 Thread Chris J Arges
** Package changed: debian-installer (Ubuntu) = multipath-tools (Ubuntu) -- 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/1429327 Title: ISST-LTE: system drops to initramfs

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-04-02 Thread Chris J Arges
** Package changed: debian-installer (Ubuntu) = multipath-tools (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1429327 Title: ISST-LTE: system drops to initramfs after install on multipath

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-31 Thread Mauricio Faria de Oliveira
The test-cases performed with the patch: Install the modified multipath-tools' binary packages; the initramfs is updated with the changes. Reboot. The system booted successfully; good. Notice: - unmodified kernel cmdline - root filesystem mounted from the 'by-uuid/multipath-UUID' symlink - it

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-31 Thread Mauricio Faria de Oliveira
Hi Mathieu and Steve, Sorry for the delay on this. Here's the patch addressing most of Steve's directions (comment #13). I'll submit the remaining changes shortly. Patch description: - multipath-tools should (if it doesn't already) create a symlink for the device which includes the UUID,

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-31 Thread Ubuntu Foundations Team Bug Bot
The attachment multipath-tools_root-uuid-multipath.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

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-23 Thread Mauricio Faria de Oliveira
Back to Steve's point (which now I understand more clearly, and looks totally right..) of event-driven multipath assembly. - multipath-tools should (if it doesn't already) create a symlink for the device which includes the UUID, but is only ever created once multipath is initialized - the

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-23 Thread Mauricio Faria de Oliveira
BTW, the event-driven multipath assembly can now work again, with the patch in bug 1431650. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1429327 Title: ISST-LTE: system drops to initramfs after

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-19 Thread Mauricio Faria de Oliveira
Possibly good news. See bug 1431650 comment 10. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1429327 Title: ISST-LTE: system drops to initramfs after install on multipath disk To manage

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-19 Thread Mauricio Faria de Oliveira
There may be another (simpler) way here, that is to use the wait-for- root or the failure hooks called in pre_mountroot() (local/mount). This should be combined w/ vorlon's catch of using a different UUID symlink for a multipath device, that should be changed on /etc/fstab / kernel cmdline, so we

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-18 Thread Mauricio Faria de Oliveira
Hi Steve, Given that we *know* that the UUID is not unique in the multipath scenario, and know this at install time, I think it's wrong for us to configure the system to reference filesystems via this non-unique identifier. I see your point. Although, I'm not sure it's technically

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-17 Thread Mauricio Faria de Oliveira
To illustrate the problem more clearly: The 'multipath' command is run *before* the disks over FC show up. It must wait for them to settle. There's a wait for SCSI devices already, but it is not enough in this case. (it actually doesn't work because scsi_wait_scan was removed from the kernel

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-17 Thread Mauricio Faria de Oliveira
Constraints: 1) Can't count on udev rules to run 'multipath' (see bug 1431650) Ideas: 0) sleep when there's no scsi_wait_scan module. (below) 1) make sure related SCSI modules are loaded before scsi_complete_async_scans() (drivers/scsi/scsi_scan.c) is called. 2) loop waiting for the number of

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-17 Thread Mauricio Faria de Oliveira
And illustrating the previous point (root filesystem on single-path device): (initramfs) cat /proc/cmdline BOOT_IMAGE=/boot/vmlinux-3.19.0-8-generic root=UUID=3809b2f8-dcb0-4a6a-945a-885e384b463e ro break=post-multipath (initramfs) ls -l /dev/disk/by-uuid ...

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-17 Thread Steve Langasek
Architecturally speaking, I think it's a bug that installing to multipath results in the boot config pointing to a UUID for the root device. In all other cases, we use identifiers for all filesystems (root or otherwise) which are guaranteed to be both stable and unique. (For LVM, this is the LV

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-17 Thread Steve Langasek
** Changed in: debian-installer (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/1429327 Title:

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-17 Thread Mauricio Faria de Oliveira
Nice comment on a lvm-devel thread: The removal of scsi_wait_scan doesn't actually mean any of the bus scans are done when you wait on systemd-udev-settle, so making that change won't really solve the issue you need. If I'm understanding it right, I think in a world without scsi-wait-scan,

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-17 Thread Mauricio Faria de Oliveira
FYI This problem becomes more evident/likely if the fix/work-around for bug 1431650 is applied (i.e., no udev time-out for multipath devices). It seems that the time-out that arises from that bug gives the SCSI scan time to complete, and by the time the last 'multipath' command runs

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-12 Thread Mauricio Faria de Oliveira
This seems to have something to do with hardware, or delay between 2 multipath commands. Still checking. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1429327 Title: ISST-LTE: system drops to

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-12 Thread Mauricio Faria de Oliveira
Please don't care about this for now. I'll get more time on it tomorrow. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1429327 Title: ISST-LTE: system drops to initramfs after install on multipath

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-09 Thread Breno Leitão
** Changed in: debian-installer (Ubuntu) Status: New = Confirmed ** Changed in: debian-installer (Ubuntu) Assignee: (unassigned) = Taco Screen team (taco-screen-team) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-06 Thread bugproxy
** Tags removed: targetmilestone-inin--- ** Tags added: targetmilestone-inin1504 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1429327 Title: ISST-LTE: system drops to initramfs after install on

[Bug 1429327] Re: ISST-LTE: system drops to initramfs after install on multipath disk

2015-03-06 Thread Luciano Chavez
** Package changed: ubuntu = debian-installer (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1429327 Title: ISST-LTE: system drops to initramfs after install on multipath disk To manage