ISST-LTE: Multipath disk is not automatically set as 1st boot device after installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powerpc-ibm-utils (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
Trusty |
Fix Released
|
High
|
Mathieu Trudel-Lapierre | ||
Vivid |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
[Impact]
Users who have multipath devices enabled may find that powerpc-ibm-utils does not successfully map multipath devices to the proper underlying device (dm-*), and thus the correct disk may not be set for booting after installation.
[Test case]
Install Ubuntu on a POWER system with multipath disks, and multipath support enabled, using the following command-line option at boot:
disk-detect/
[Regression Potential]
This will change the detected drive to be used for booting during the installation process and when updating grub for booting the system. Since ofdisk did not correctly map the device at all to anything meaningful if the failure case is met, the potential for regression is minimal.
== Comment: #11 - Gary M. Gaydos <email address hidden> - 2015-09-29 14:37:05 ==
Steps to reproduce:
Install 15.10 beta 1 ppc little endian using multipath disks (in this case mpatha)
After the installation is finished no device is set as the first boot device.
The symptom is the same as launchpad bug 1486022 against 14.04.3. Syslog from 1486022 and this bug are different however. In 1486022 no mpath devices are found. In this bug mpath2a (the installation target) has an unknown device type, and the volume group is not found.
Here's a snippet from the syslog
cat syslog |grep -a2 -b2 mpatha2
423185-Sep 28 07:42:34 in-target: grub-common is already the newest version.
423255-Sep 28 07:42:34 in-target: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
423345:Sep 28 07:42:41 grub-installer: info: Identified partition label for /dev/mapper/
423440-Sep 28 07:42:44 grub-installer: info: Wiping PReP partition /dev/mapper/mpatha1
423520-Sep 28 07:42:45 in-target: Reading package lists...
--
426988-Sep 28 07:42:51 in-target: Creating config file /etc/default/grub with new version^M
427073-Sep 28 07:42:51 in-target: Installing for powerpc-ieee1275 platform.^M
427144:Sep 28 07:42:55 in-target: grub-install: warning: unknown device type mpatha2^M
427224-Sep 28 07:42:55 in-target: .^M
427255-Sep 28 07:42:56 in-target: Installation finished. No error reported.^M
--
459265-Sep 28 07:45:40 main-menu[843]: (process:73364): File descriptor 5 (/dev/hvc0) leaked on lvdisplay invocation. Parent PID 74098: /bin/sh
459402-Sep 28 07:45:40 main-menu[843]: (process:73364): File descriptor 6 (/dev/hvc0) leaked on lvdisplay invocation. Parent PID 74098: /bin/sh
459539:Sep 28 07:45:40 main-menu[843]: (process:73364): Volume group "mpatha2" not found
459623:Sep 28 07:45:40 main-menu[843]: (process:73364): Cannot process volume group mpatha2
459710-Sep 28 07:45:40 main-menu[843]: (process:73364): umount: can't umount /target/proc /sys: No such file or directory
459825-Sep 28 07:45:40 main-menu[843]: INFO: Menu item 'finish-install' selected
Changed in grub-installer (Ubuntu): | |
assignee: | Taco Screen team (taco-screen-team) → Mathieu Trudel-Lapierre (mathieu-tl) |
description: | updated |
Changed in powerpc-ibm-utils (Ubuntu Vivid): | |
status: | Confirmed → In Progress |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Default Comment by Bridge