Build7: ubuntu 14.10 guest installation failed with file system sitting on LVM

Bug #1366736 reported by bugproxy
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Problem Description
===================
While installing ubuntu 14.10 LE guest with LVM setup , it failed with below parttiton table error on PowerKVM build7.

      ????????????????????? [!!] Partition disks ?????????????????????
  ??????? ? ????
  ? ? Failed to partition the selected disk ? ?
  ? ? This probably happened because there are too many (primary) ? ?
  ? ? partitions in the partition table. ? ?
  ? Comp? ? ?
  ? ? <Go Back> <Continue> ? ?
  ??????? ? ????
        ????????????????????????????????????????????????????????????????

              ?????????????? [!!] Partition disks ???????????????
  ????????????? ? ???????????
  ? ? No root file system ? ?
  ? ? No root file system is defined. ? ?
  ? ? ? ?
  ? Computing ? Please correct this from the partitioning menu. ? ?
  ? ? ? ?
  ????????????? <Continue> ? ???????????
              ? ?
              ???????????????????????????????????????????????????

  ?????????????????????????? [!!] Partition disks ???????????????????????????
  ? ?
  ? This is an overview of your currently configured partitions and mount ?
  ? points. Select a partition to modify its settings (file system, mount ?
  ? point, etc.), a free space to create partitions, or a device to ?
  ? initialize its partition table. ?
  ? ?
  ? > #1 20.3 GB ?
  ? Virtual disk 1 (vda) - 21.5 GB Virtio Block Device ? ?
  ? > 1.0 MB FREE SPACE ? ?
  ? > #1 7.3 MB K ? ?
  ? > #2 255.9 MB f ext2 /boot ? ?
  ? > #3 21.2 GB K lvm ? ?
  ? > 1.0 MB FREE SPACE ? ?
  ? ? ?
  ? Undo changes to partitions ?
  ? Finish partitioning and write changes to disk ?
  ? ?
  ? <Go Back> ?
  ? ?
  ???????????????????????????????????????????????????????????????????????????

Steps to Reproduce
==================
1) qemuimg create -f raw manas_ubuntu1410_12thAug_VM1.img 20G
2) Use attached XML file to create a ubuntu 14.10 guest (manas_ubuntu1410_12thAug_VM1.xml)
3) Follow on screen intruction and under partition disks screen , select "Guided - use entire disk and set up LVM". Follow on screen instructions , and once you select disks , it will hit above error.

For more detail steps please refer "ubuntu-raw-lvm-install.txt"

[root@powerkvm4-lp1 ~]# uname -a
Linux powerkvm4-lp1.austin.ibm.com 3.10.42-2005.pkvm2_1_1.13.ppc64 #1 SMP Fri Aug 8 11:06:51 CDT 2014 ppc64 ppc64 ppc64 GNU/Linux

[root@powerkvm4-lp1 ~]# lsmcode
Version of System Firmware is FW810.10 (TV810_069) (t) FW810.10 (TV810_069) (p) FW810.10 (TV810_069) (b)

[root@powerkvm4-lp1 ~]# tail -9 /proc/cpuinfo
cpu : POWER8E (raw), altivec supported
clock : 2061.000000MHz
revision : 2.0 (pvr 004b 0200)
timebase : 512000000
platform : PowerNV
model : 8286-42A
machine : PowerNV 8286-42A
firmware : OPAL v3

Ubuntu guest ISO: ubuntu-14.10-Aug12.iso

== Comment: #1 - Samuel Mendoza-Jonas <email address hidden> - ==
Looked at the system and VM. There are no error messages in the VM or in the host.
I was able to reproduce the problem with the XML. Infact, I removed cache=none and
io=native to see if it still happens. It does happen without those options.

It seems to be a ubuntu installer bug (nothing to do with PowerKVM).

Installer is able to partition the disk correctly. Use /dev/vda3 as a LVM partition.
It created a volume group and root volume correctly. After that it seems to fail.

I was able to access the partitions and root volume fine (with a shell):

~ # cat /proc/partitions
major minor #blocks name

 253 0 26214400 vda
 253 1 7168 vda1
 253 2 249856 vda2
 253 3 25955328 vda3
  11 0 584460 sr0
 252 0 24829952 dm-0

~ # pvdisplay
  --- Physical volume ---
  PV Name /dev/vda3
  VG Name ubuntu-vg
  PV Size 24.75 GiB / not usable 3.00 MiB
  Allocatable yes
  PE Size 4.00 MiB
  Total PE 6336
  Free PE 274
  Allocated PE 6062
  PV UUID GwW1sN-rDDU-1VEq-Rof4-hQ0W-ADfL-fhOglP

~ # vgdisplay
  --- Volume group ---
  VG Name ubuntu-vg
  System ID
  Format lvm2
  Metadata Areas 1
  Metadata Sequence No 2
  VG Access read/write
  VG Status resizable
  MAX LV 0
  Cur LV 1
  Open LV 0
  Max PV 0
  Cur PV 1
  Act PV 1
  VG Size 24.75 GiB
  PE Size 4.00 MiB
  Total PE 6336
  Alloc PE / Size 6062 / 23.68 GiB
  Free PE / Size 274 / 1.07 GiB
  VG UUID BUib66-2Yj6-jDK7-yRuC-8fNy-x5vq-s5TeaN

~ # lvdisplay
  --- Logical volume ---
  LV Path /dev/ubuntu-vg/root
  LV Name root
  VG Name ubuntu-vg
  LV UUID jMexy8-CCOU-skuc-9b0w-5Qv1-9KdF-wokJeH
  LV Write Access read/write
  LV Creation host, time ubuntu, 2014-08-28 21:13:57 +0000
  LV Status available
  # open 0
  LV Size 23.68 GiB
  Current LE 6062
  Segments 1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device 252:0

So, definitely a ubuntu installer bug.

bugproxy (bugproxy)
tags: added: architecture-ppc64 bugnameltc-115698 severity-critical targetmilestone-inin---
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

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/1366736/+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
Luciano Chavez (lnx1138)
affects: ubuntu → debian-installer (Ubuntu)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2014-09-15 17:39 EDT-------
*** Bug 114732 has been marked as a duplicate of this bug. ***

bugproxy (bugproxy)
tags: added: targetmilestone-inin1410
removed: targetmilestone-inin---
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debian-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2014-10-27 09:04 EDT-------
== Externalizing comment from Manas ==

Hi Badari,
Yes you are right , I used 21st sep iso build to install with LVM and it got installed without any issue.

????????????????????? [!!] Finish the installation ??????????????????????
? ?
?? Installation complete ?
?? Installation is complete, so it is time to boot into your new system. ?
?? Make sure to remove the installation media (CD-ROM, floppies), so ?
?? that you boot into the new system rather than restarting the ?
?? installation. ?
?? ?
?? <Go Back> <Continue> ?
? ?
?????????????????????????????????????????????????????????????????????????

Thanks...
Manas

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.