Bug 212317

Summary: Edit LVM partition crash on install
Product: [Fedora] Fedora Reporter: Frederic Ruaudel <grumz>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-01 20:00:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
anaconda dump file
none
My LVM config (pvdisplay, vgdisplay and lvdisplay)
none
My home LVM config (pvdisplay, vgdisplay and lvdisplay) none

Description Frederic Ruaudel 2006-10-26 08:23:20 UTC
Description of problem:

I tried to install FC6 Zod on an already existing LVM partition and when I
select a LVM partition and click edit, the installation crashes.


Version-Release number of selected component (if applicable):

FC6 Zod final

How reproducible:

Always

Steps to Reproduce:
1.Create some LVM partition on a SATA disk (I have an LVM on 2 disk : one 80GB
and one 120GB)
2.Boot with the FC6 install DVD
3.Select English language and French keyboard
4.Select create custom layout
5.Select an LVM partition and click edit
  
Actual results:

It crashes

Expected results:

A dialog to edit my partition

Additional info:

See attached bug report saved from the "Exception Occured" dialog

Comment 1 Frederic Ruaudel 2006-10-26 08:23:20 UTC
Created attachment 139445 [details]
anaconda dump file

Comment 2 Chris Lumens 2006-10-26 14:50:06 UTC
What physical extent size did you use for the volume you created?

Comment 3 Frederic Ruaudel 2006-10-26 17:26:17 UTC
Created attachment 139491 [details]
My LVM config (pvdisplay, vgdisplay and lvdisplay)

Comment 4 Frederic Ruaudel 2006-10-26 17:27:47 UTC
Here is my full LVM config info attached (PE=1M). 

So, for the record, I resize my old root partition LogVolRoot by hand (resize2fs
and lvreduce) and create the second root partition LogVolRoot2 (lvcreate and
mkfs.ext3). Then during the installation I select the LogVolRoot2 partition and
click "Edit", then crash. It was the same when I tried to edit one of the others.

It also crashes when I create a fresh new layout on another disk but keep the
two lvm disks active. But in this configuration it crashes when I clicked 'Next'
(Not sure if it is the same bug).

I finally manage to install FC6 after disabling the two disks and only keep the
one with the fresh new layout.

I will try to install FC6 on my home machine with the same config but the LVM is
on one disk only and PE=4M. I will come back and tell you if the problem occurs
again.



Comment 5 Frederic Ruaudel 2006-10-26 19:36:30 UTC
Created attachment 139520 [details]
My home LVM config (pvdisplay, vgdisplay and lvdisplay)

Come back from my second test, it works fine with 1 disk and PE=4M. 

Maybe an important note to add, this time it was done in text mode since my
#!ยง%@# ATI card has been detected as a Matrox Millenium by anaconda and thus
the install fall back in text mode.

Comment 6 Chris Lumens 2006-11-01 20:00:23 UTC
Yeah, this only fails if your PE size is 1 MB due to some sloppy python code. 
I've committed a fix to Rawhide.  A workaround for you is to simply use any
other PE size.  Thanks for your help in debugging this.