[Bug 1366736] [NEW] Build7: ubuntu 14.10 guest installation failed with file system sitting on LVM

Launchpad Bug Tracker 1366736 at bugs.launchpad.net
Mon Sep 8 21:35:44 UTC 2014


You have been subscribed to a public bug:

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 at 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 at powerkvm4-lp1 ~]# lsmcode 
Version of System Firmware is FW810.10 (TV810_069) (t) FW810.10 (TV810_069) (p) FW810.10 (TV810_069) (b)

[root at 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 <sjonas at au1.ibm.com> - ==
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.

** Affects: debian-installer (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: architecture-ppc64 bot-comment bugnameltc-115698 severity-critical targetmilestone-inin---
-- 
Build7: ubuntu 14.10 guest installation failed with file system sitting on LVM
https://bugs.launchpad.net/bugs/1366736
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to debian-installer in Ubuntu.



More information about the foundations-bugs mailing list