[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2016-09-07 Thread Mathew Hodson
** No longer affects: partman-md (Ubuntu)

** No longer affects: partman-md (Ubuntu Trusty)

** No longer affects: grub-installer (Ubuntu)

** No longer affects: grub-installer (Ubuntu Trusty)

** No longer affects: grub-installer (Ubuntu Wily)

** No longer affects: grub-installer (Ubuntu Vivid)

** No longer affects: partman-md (Ubuntu Wily)

** No longer affects: partman-md (Ubuntu Vivid)

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-prep/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2016-08-08 Thread Mathew Hodson
** Changed in: partman-md (Ubuntu Wily)
   Status: New => Won't Fix

** Changed in: grub-installer (Ubuntu Wily)
   Status: New => Won't Fix

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2016-07-20 Thread Mathew Hodson
** No longer affects: debian-installer (Ubuntu)

** No longer affects: debian-installer (Ubuntu Trusty)

** No longer affects: debian-installer (Ubuntu Vivid)

** No longer affects: debian-installer (Ubuntu Wily)

** Changed in: grub-installer (Ubuntu Vivid)
   Importance: Undecided => Medium

** Changed in: grub-installer (Ubuntu Vivid)
   Status: New => Won't Fix

** Changed in: partman-md (Ubuntu Vivid)
   Importance: Undecided => Medium

** Changed in: partman-md (Ubuntu Vivid)
   Status: New => Won't Fix

** Changed in: partman-prep (Ubuntu Vivid)
   Status: New => Won't Fix

** Changed in: grub-installer (Ubuntu Trusty)
   Importance: Undecided => Low

** Changed in: grub-installer (Ubuntu Vivid)
   Importance: Medium => Low

** Changed in: grub-installer (Ubuntu Wily)
   Importance: Undecided => Low

** Changed in: partman-md (Ubuntu Trusty)
   Importance: Undecided => Medium

** Changed in: partman-md (Ubuntu Wily)
   Importance: Undecided => Medium

** Changed in: partman-prep (Ubuntu Wily)
   Status: New => 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/1487365

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2016-02-03 Thread Launchpad Bug Tracker
This bug was fixed in the package partman-prep - 27ubuntu1.14.04.1

---
partman-prep (27ubuntu1.14.04.1) trusty; urgency=medium

  * Better handle PReP partitions created for RAID installs (or in other cases
where there are multiple partitioning passes): (LP: #1487365)
- Check filesystem too for a valid PReP partition, in case method was wiped
  in a previous run of partman.
- Set filesystem to prep in init.d/prep.
- Remove mountpoints file when setting up a prep partition.
- Never write the prep flag if we're working on a partition for which the
  parent device is a mdadm array.
- Enforce the fact that the PReP partition can't be on RAID; also update
  the template accordingly.

 -- Mathieu Trudel-Lapierre   Tue, 19 Jan 2016
14:46:49 -0500

** Changed in: partman-prep (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/1487365

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2016-02-03 Thread Mathew Hodson
** Changed in: partman-prep (Ubuntu Trusty)
   Importance: Undecided => High

** Changed in: partman-prep (Ubuntu Vivid)
   Importance: Undecided => High

** Changed in: partman-prep (Ubuntu Wily)
   Importance: Undecided => High

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2016-02-03 Thread Mauricio Faria de Oliveira
@mathieu-tl

Thank you very much ;-)

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

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

Friendly asking.  The fix has been in -proposed for 7+ days now.   Is it
making -updates before GA? :)

Thanks,

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2016-01-22 Thread Mauricio Faria de Oliveira
I verified this on Trusty w/ apt-setup/proposed=true.
The installation finishes fine (no errors on grub-installer), and the system 
boots fine.
Marking verification-done.

Installation instructions for Software RAID have been documented in the
SoftwareRAID [1] wiki page, and linked from the ppc64el wiki page [2].

[1] https://wiki.ubuntu.com/ppc64el/SoftwareRAID
[2] https://wiki.ubuntu.com/ppc64el/

Details from the installer (end of installation) and booted system:

Installer:
-

~ # grep grub-installer /var/log/syslog
Jan 22 12:53:23 anna[6673]: DEBUG: retrieving grub-installer 1.78ubuntu20.3
Jan 22 13:23:37 main-menu[1674]: INFO: Menu item 'grub-installer' selected
Jan 22 13:23:37 grub-installer: info: architecture: ppc64el/chrp_ibm
Jan 22 13:23:53 grub-installer: info: Identified partition label for 
/dev/md0p2: loop
Jan 22 13:23:54 grub-installer: info: Wiping PReP partition /dev/sda1
Jan 22 13:24:07 grub-installer: info: Installing grub on '/dev/sda1'
Jan 22 13:24:07 grub-installer: info: grub-install does not support --no-floppy
Jan 22 13:24:07 grub-installer: info: Wiping PReP partition /dev/sda1
Jan 22 13:24:07 grub-installer: info: Running chroot /target grub-install  
--force "/dev/sda1"
Jan 22 13:24:07 grub-installer: Installing for powerpc-ieee1275 platform.
Jan 22 13:24:13 grub-installer: Installation finished. No error reported.
Jan 22 13:24:13 grub-installer: info: grub-install ran successfully

~ # parted_devices 
/dev/sda17179869184 QEMU QEMU HARDDISK
/dev/sdb17179869184 QEMU QEMU HARDDISK
/dev/mapper/mauricfo4--vg-swap_1754974720   Linux device-mapper 
(linear)
/dev/mapper/mauricfo4--vg-root  16139681792 Linux device-mapper (linear)
/dev/md017161912320 Linux Software RAID Array

~ # /usr/lib/grub-installer/prep-bootdev -l
/dev/sda1

Booted:
--

$ cat /proc/cmdline
BOOT_IMAGE=/vmlinux-4.2.0-26-generic root=/dev/mapper/mauricfo4--vg-root ro 
splash quiet nomdmonddf nomdmonisw vt.handoff=7

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

$ sudo lvm pvs
  PV VG   Fmt  Attr PSize  PFree
  /dev/md0p3 mauricfo4-vg lvm2 a--  15.73g0 

$ cat /proc/swaps
FilenameTypeSizeUsedPriority
/dev/dm-1   partition   737216  0   -1

$ ls -l /dev/mapper/mauricfo4--vg-swap_1 
lrwxrwxrwx 1 root root 7 Jan 22 09:13 /dev/mapper/mauricfo4--vg-swap_1 -> 
../dm-1


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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2016-01-21 Thread Brian Murray
Hello bugproxy, or anyone else affected,

Accepted partman-prep into trusty-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/partman-
prep/27ubuntu1.14.04.1 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: partman-prep (Ubuntu Trusty)
   Status: In Progress => 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/1487365

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2016-01-19 Thread Mathieu Trudel-Lapierre
** Description changed:

+ [Impact]
+ Users installing on ppc64el with RAID enabled, doing manual or guided 
partitioning are unable to complete the installation because the multiple 
passes of partitioning required to apply the initial partitions on disk (PReP 
partitions and all) and the next set of partitions on RAID or LVM cause the 
initial PReP flags to be lost.
+ 
+ [Test case]
+ 1) Start installation on a ppc64el system with two or more disks.
+ 2) Use manual partitioning to add a PReP partition on one of the disks. It 
should have a size of 8MB, at the beginning of the disk. It can be followed by 
free space or a single partition to be used as space for RAID.
+ 3) Create a RAID volume, using RAID1 (2 partitions, 0 spaces), add the RAID 
partition previously created and the free space from another disk.
+ 4) End partitioning, confirming everything.
+ 
+ The installation should complete successfully.
+ 
+ [Regression potential]
+ This is limited to the handling of PReP partitions, so only applies to 
ppc64el systems. Possible regressions may be failure to allow a valid setup of 
partitions while preparing the install on ppc64el, or failure of the 
installation on an invalid (but not immediately detected) partition setup, at 
the point where grub-installer will try to install the bootloader on the system.
+ 
+ 
+ ---
+ 
  Problem Description
  ===
  Installation goes smoothly, until it reaches grub installation, and fails 
with fatal error there.
-  
- Machine Type = pio-firestone 
-  
+ 
+ Machine Type = pio-firestone
+ 
  ---boot type---
  QEMU direct boot kernel/initrd
-  
+ 
  ---Kernel cmdline used to launch install---
  kexec -l /root/vmlinux.venkat -i /root/initrd.gz.venkat
  kexec -e
  
  == Comment: # - Venkat R. B  - 2015-08-14 08:08:41 ==
  I am trying to install Ubuntu14.04 on the firestone machine on a RAID1 array, 
configured with software raid.
  Installation goes on smoothly till its reaches grub loader and fails. Below I 
have pasted the error.
  
-  ?? [!!] Install the GRUB boot loader on a hard disk ??
-   ? ?
-   ?  ?Unable to install GRUB in /dev/md0p1? ?
-   ?  ? Executing 'grub-install /dev/md0p1' failed.? ?
-   ?  ?? ?
-   ? Running "? This is a fatal error. ? ?
-   ?  ?? ?
-    ? ?
-  ??
-  ??
+  ?? [!!] Install the GRUB boot loader on a hard disk ??
+   ? ?
+   ?  ?Unable to install GRUB in /dev/md0p1? ?
+   ?  ? Executing 'grub-install /dev/md0p1' failed.? ?
+   ?  ?? ?
+   ? Running "? This is a fatal error. ? ?
+   ?  ?? ?
+    ? ?
+  ??
+  ??
  
  == Comment: # - Mauricio Faria De Oliveira  - 2015-08-20 
09:31:11 ==
  grub-installer pieces from syslog
  
  Aug 19 11:07:43 grub-installer: info: Installing grub on '/dev/md0p1'
  Aug 19 11:07:43 grub-installer: info: grub-install does not support 
--no-floppy
  Aug 19 11:07:43 grub-installer: info: Running chroot /target grub-install  
--force "/dev/md0p1"
  Aug 19 11:07:43 grub-installer: Installing for powerpc-ieee1275 platform.
  Aug 19 11:08:01 grub-installer: grub-install: error: failed to copy Grub to 
the PReP partition.
  Aug 19 11:08:01 grub-installer: error: Running 'grub-install  --force 
"/dev/md0p1"' failed.
  
  and the "error:" message 'failed to copy Grub to the PReP partition.' is
  not generated by the grub-installer script itself [1], so probably
  coming down from grub2.
  
  I'd suggest to either involve our grub2 guy (not sure if available), or
  mirroring to Canonical.
  
- 
  [1] http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/grub-
  installer/trusty-updates/view/head:/grub-installer

** Also affects: debian-installer (Ubuntu Wily)
   Importance: Undecided
   Status: New

** Also affects: grub-installer (Ubuntu Wily)
   Importance: Undecided
   Status: New

** Also affects: partman-md (Ubuntu Wily)
   Importance: Undecided
   Status: New

** Also affects: partman-prep (Ubuntu Wily)
   Importance: Undecided
   Status: New

** Also affects: 

[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2016-01-13 Thread Mauricio Faria de Oliveira
@mathieu-tl

This important part of the message has faded in the long comment..

Can this bug be targeted for 14.04.4?

The changes are contained w/in the partman-prep package, which affects
only ppc64el/powerpc, and it looks like a scenario/path that hasn't been
exercised often previously (haven't seen other bug reports). So, I
suspect that, if tried at all previously, it'd be likely to fail (ie,
this bug), so little there's little regression potential.

Thanks!

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2016-01-12 Thread bugproxy
--- Comment on attachment From mauri...@br.ibm.com 2016-01-12 08:12 
EDT---


Hi Canonical @mathieu-tl,

Here's a patch for partman-prep for basic support to Software RAID1
devices.

- It allows for manual and guided partitioning with a PReP partition in one of 
the component devices (not in the RAID array, which is currently not support by 
grub2), which is enough for our needs at this time.
- The current limitation is, for guided partitioning only, after the partitions 
are created in the RAID device, it's required to select the PReP partition in 
the component device (and just exit w/ Done setting up this partition), to make 
sure the 'method' file contains 'prep' (autopartitioning renames that to 
'method-old', and I didn't find a safe/quick method to rename that back in the 
correct PReP partition... ideas welcome :- ).

This is the error fixed for Manual partitioning (see patch):

~ # tail /var/log/syslog
<...>
<...> clear_partitions: Considering /,/dev/sda1. 
<...> main-menu[1679]: (process:12610): mount: mounting /dev/sda1 on 
/tmp/tmp.VVjm38 failed: Invalid argument
<...> main-menu[1679]: (process:12610): umount: can't umount 
/tmp/tmp.VVjm38: Invalid argument
<...> main-menu[1679]: (process:12610): mount: mounting /dev/sda1 on 
/mnt/tmpmount failed: Invalid argument

Tested with Trusty jan/12 daily build, in this scenario:
- 2 disks (sda, sdb)
- PReP partition in sda1
- Software RAID1 in 'sda free space #2' (after PReP partition) and 'sdb free 
space #1' (entire disk)

... with the following partitioning methods:
1) manual partitioning
2) guided partitioning
3) guided partitioning w/ LVM 

All have successfully installed and booted.


For reference, the relevant parts of the installer's syslog, and post-
install/post-boot partitions/LVs used:

~ # grep 'prep_sync_flag\|grub-installer' /var/log/syslog
<...> anna[]: DEBUG: retrieving grub-installer 1.78ubuntu20.3
<...> prep_sync_flag: Not setting the PReP partition flag on Software RAID 
device '/dev/md0' (writes not yet supported by grub2)
<...> prep_sync_flag: Not setting the PReP partition flag on Software RAID 
device '/dev/md0' (writes not yet supported by grub2)
<...> prep_sync_flag: Not setting the PReP partition flag on Software RAID 
device '/dev/md0' (writes not yet supported by grub2)
<...> prep_sync_flag: Not setting the PReP partition flag on Software RAID 
device '/dev/md0' (writes not yet supported by grub2)
<...> prep_sync_flag: Not setting the PReP partition flag on Software RAID 
device '/dev/md0' (writes not yet supported by grub2)
<...> prep_sync_flag: Not setting the PReP partition flag on Software RAID 
device '/dev/md0' (writes not yet supported by grub2)
<...> prep_sync_flag: Not setting the PReP partition flag on Software RAID 
device '/dev/md0' (writes not yet supported by grub2)
<...> main-menu[1675]: INFO: Menu item 'grub-installer' selected
<...> grub-installer: info: architecture: ppc64el/chrp_ibm
<...> grub-installer: info: Identified partition label for /dev/md0p2: loop
<...> grub-installer: info: Wiping PReP partition /dev/sda1
<...> grub-installer: info: Installing grub on '/dev/sda1'
<...> grub-installer: info: grub-install does not support --no-floppy
<...> grub-installer: info: Wiping PReP partition /dev/sda1
<...> grub-installer: info: Running chroot /target grub-install  --force 
"/dev/sda1"
<...> grub-installer: Installing for powerpc-ieee1275 platform.
<...> grub-installer: Installation finished. No error reported.
<...> grub-installer: info: grub-install ran successfully

$ mount | grep ' / '
/dev/mapper/ubuntu--vg-root on / type ext4 (rw,errors=remount-ro)

$ cat /proc/swaps
FilenameTypeSizeUsedPriority
/dev/dm-1   partition   1417152 0   -1

$ sudo lvm lvs
  LV VGAttr  LSize  Pool Origin Data%  Move Log Copy%  Convert
  root   ubuntu-vg -wi-ao--- 30.38g   
  swap_1 ubuntu-vg -wi-ao---  1.35g   

$ sudo lvm pvs
  PV VGFmt  Attr PSize  PFree
  /dev/md0p3 ubuntu-vg lvm2 a--  31.73g0 

$ for dev in sda sdb md0; do sudo parted /dev/$dev print; done
Model: QEMU QEMU HARDDISK (scsi)
Disk /dev/sda: 34.4GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End SizeFile system  Name  Flags
 1  1049kB  8389kB  7340kB prep
 2  8389kB  34.4GB  34.4GB raid

Model: QEMU QEMU HARDDISK (scsi)
Disk /dev/sdb: 34.4GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End SizeFile system  Name  Flags
 1  1049kB  34.4GB  34.4GB raid

Model: Linux Software RAID Array (md)
Disk /dev/md0: 34.3GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End SizeFile system  Name  Flags
 1  17.4kB  8018kB  8001kB   

[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-11-17 Thread Mathieu Trudel-Lapierre
There may be a way to make this work, but only for RAID mirrors (level
1), in a particular version of the mdadm format, since both disks should
have the same layout and look identical to non-mirrored disks, but it
needs more work.

In the meantime, it seems like the supported partition layout should be
appropriately enforced by partman-prep on installs. So, indeed one will
have to make sure not to install a prep on a RAID device, but there
isn't an automated partitioning setup which allows this to be done
automatically -- it always either involves a couple of steps to set up
RAID and then the partitioning on top, or full automation via preseed
(which would be something out of the control of the installer -- up to
the user to fix).

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-10-16 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/wily-proposed/partman-prep

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-10-16 Thread Launchpad Bug Tracker
This bug was fixed in the package partman-prep - 31ubuntu1

---
partman-prep (31ubuntu1) wily; urgency=medium

  * Enforce the fact that the PReP partition can't be on RAID; also update
the templace accordingly. (LP: #1487365)

 -- Mathieu Trudel-Lapierre   Thu, 15 Oct 2015
11:13:01 -0400

** Changed in: partman-prep (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/1487365

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-10-15 Thread Mathieu Trudel-Lapierre
** Changed in: partman-md (Ubuntu)
   Status: New => In Progress

** Changed in: partman-md (Ubuntu)
   Importance: Undecided => High

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

** Changed in: debian-installer (Ubuntu)
   Status: In Progress => Invalid

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

** Changed in: grub-installer (Ubuntu)
   Status: New => Triaged

** Changed in: partman-md (Ubuntu)
   Status: In Progress => Triaged

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

** Changed in: partman-prep (Ubuntu)
   Status: New => In Progress

** Changed in: partman-prep (Ubuntu)
   Importance: Undecided => High

** Changed in: grub-installer (Ubuntu)
   Importance: Undecided => High

** Changed in: grub-installer (Ubuntu)
 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/1487365

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-10-15 Thread Steve Langasek
** Changed in: grub-installer (Ubuntu)
   Importance: High => Medium

** Changed in: grub-installer (Ubuntu)
   Importance: Medium => Low

** Changed in: partman-md (Ubuntu)
   Importance: High => Medium

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-10-14 Thread Mauricio Faria de Oliveira
@vorlon

>   - the user can create a RAID1 of two partitions on different disks (e.g. 
> /dev/sda1+/dev/sdb1 -> /dev/md0),
> and grub-installer can support installing to this as a PReP partition; or

IIUIC this (grub-install to a PReP on /dev/md) is not supported by grub2
(LP comment #6), and is worked around w/ a PReP partition that is not a
member of a /dev/md device (LP comment #14)

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


Re: [Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-10-14 Thread Steve Langasek
On Wed, Oct 14, 2015 at 04:27:07PM -, Mauricio Faria de Oliveira wrote:
> >   - the user can create a RAID1 of two partitions on different disks (e.g. 
> > /dev/sda1+/dev/sdb1 -> /dev/md0),
> > and grub-installer can support installing to this as a PReP partition; or

> IIUIC this (grub-install to a PReP on /dev/md) is not supported by grub2
> (LP comment #6), and is worked around w/ a PReP partition that is not a
> member of a /dev/md device (LP comment #14)

Correct, this is currently not supported; I argue that it should be, though
extending grub to support this is not necessarily the top priority.

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-10-14 Thread Mauricio Faria de Oliveira
Ok, thanks for clarifying it.

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-10-14 Thread Mathieu Trudel-Lapierre
The obvious initial step for this is to enforce the partitioning scheme
that we do support (ie. PReP can't be on RAID), and I've been testing a
partman-prep update with this.

There's also a big part in grub-installer; I'm preparing a proper fix
for this there, pending testing to make sure the firmware understands
the way the disks are set up in the case of RAID 1 (because we can't
support other RAID levels).

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-10-09 Thread Steve Langasek
There are multiple related issues here.

 - partman-md does not support assembling a RAID1 array out of a set of whole 
disks; it only supports assembling an array out of partitions.  It *should* 
support using whole disks, so that you have the option of partitioning the RAID 
array and having those partitions show through on the underlying block devices 
in a way that is meaningful to the firmware.
 - in the absence of such support in partman-md, users are led down the garden 
path *thinking* they're creating arrays out of the disks when they're actually 
creating full-disk partitions on the component disks and RAIDing those.  
partman-prep should warn the user *early* (i.e., at the partitioning stage) 
that they've created themselves an impossible-to-boot partition layout, and 
guide them to go back to fix it.
 - grub-installer should support installing to multiple PReP partitions in 
parallel for proper full redundancy in the face of a disk failure.  This can be 
achieved in one of two ways:
  - the user can create a RAID1 of two partitions on different disks (e.g. 
/dev/sda1+/dev/sdb1 -> /dev/md0), and grub-installer can support installing to 
this as a PReP partition; or
  - grub-installer can detect multiple PReP partitions (possibly requiring the 
user to manually specify each one that they want to use) and install the 
necessary boot record to each of them in turn.

The 2nd and 3rd issues should be relatively straightforward to fix.  The
first issue is going to require some redesign of partman-md and is not
something we'll want to take on for 15.10.

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-10-09 Thread Steve Langasek
** Also affects: partman-md (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: partman-prep (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: grub-installer (Ubuntu)
   Importance: Undecided
   Status: New

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-10-09 Thread Mathieu Trudel-Lapierre
** Changed in: debian-installer (Ubuntu)
   Status: New => 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/1487365

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-09-28 Thread Mauricio Faria de Oliveira
@mathieu-tl

Manually.
Attaching installation steps performed (single RAID device on top of single 
partition-pair of the 2 scsi disks).



** Attachment added: "Installation steps"
   
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+attachment/4477721/+files/steps2

** Changed in: debian-installer (Ubuntu)
   Status: Incomplete => New

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-09-28 Thread Mathieu Trudel-Lapierre
Are you building the recipe for installation manually or is this install
done with the use of a pre-made recipe?

I'm afraid automatic recipes won't properly identify the PReP partition
when it comes up on a RAID (md) device; while it may work properly in
the installer, it would likely not be detected correctly by the system
when booting.

** Changed in: debian-installer (Ubuntu)
   Status: New => Incomplete

** Changed in: debian-installer (Ubuntu)
   Importance: Undecided => High

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-09-22 Thread Mauricio Faria de Oliveira
Got it; the other distro doesn't put the PReP partition on the RAID/md
device itself -- it uses the (non-RAID) partition on /one/ of the
underlying block devices.

# lsblk
NAME  MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda 8:00 931.5G  0 disk  
├─sda1  8:10 7M  0 part  
├─sda2  8:20   9.3G  0 part  /boot
├─sda3  8:30 921.3G  0 part  
│ └─md127   9:127  0 921.1G  0 raid1 /
├─sda4  8:40 1K  0 part  
└─sda5  8:50   952M  0 part  [SWAP]
sdb 8:16   0 931.5G  0 disk  
└─sdb1  8:17   0 921.3G  0 part  
  └─md127   9:127  0 921.1G  0 raid1 /

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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

[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-09-21 Thread Mathieu Trudel-Lapierre
Any idea which distro you saw supported this? Upstream grub explicitly
does not support diskfilter writes (in other words, writing directly to
/dev/md* devices, LVM, etc), but rather expects one to write to the
underlying device, because there are just too many different cases in
which writing directly to the top layer might break things.

My workaround (I'm still testing) would be to have grub-installer pick
the underlying devices to install to.

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-09-16 Thread Mathieu Trudel-Lapierre
Mauricio, thanks for doing the debugging, this is very helpful and
saving me a lot of time :)

This is exactly the problem I expected, and I believe we should be able
to workaround it in grub-installer.

Marking the bug as Triaged; I'll reproduce this setup and experiment a
bit with changes to grub-installer to come up with a way to fix this.

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-09-15 Thread bugproxy
** Tags removed: targetmilestone-inin---
** Tags added: targetmilestone-inin14043

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-08-27 Thread Steve Langasek
** Changed in: debian-installer (Ubuntu)
 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/1487365

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-08-21 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/1487365/+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/1487365

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

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

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


[Bug 1487365] Re: Ubuntu14.04 .3 RAID installation fails on firestone

2015-08-21 Thread Brian Murray
** Package changed: ubuntu = debian-installer (Ubuntu)

** Tags added: trusty

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

Title:
  Ubuntu14.04 .3 RAID installation fails on firestone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1487365/+subscriptions

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