Bug 160584

Summary: Installer crashed when setting up partitions "pvcreate failed"
Product: [Fedora] Fedora Reporter: Michael Leuty <mike>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-24 19:02:50 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
Dump produced when anaconda crashed. none

Description Michael Leuty 2005-06-15 22:03:20 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
I have two Maxtor 40Gb hard drives on IDE-0. I was trying to install FC4 on /dev/hdb. When I did a fresh install on top of an FC3 installation on /dev/hdb (using the default Logical Volume set up by FC3) there was no problem. I then found that when /dev/hdb contains a default setup of SUSE 9.3 or Ubuntu 5.04 using normal partions (one ext3 partition for / and one swap partition), anaconda crashes at the point where it tries to write the new partition information to /dev/hdb. Dump file attached. This happened in both graphical and text setup. The workround was to reinstall FC3 on /dev/hdb and then install FC4 on top of it.

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


How reproducible:
Always

Steps to Reproduce:
1. Install SUSE 9.3 or Ubuntu 5.04 using all of /dev/hdb.
2. Run FC4 install, instructing anaconda to use all of /dev/hdb for the installation. Accept default proposal involving Logical Volumes.
3. (I also told it to mount /dev/hda1 as /mirror.)
4. Reach end of user-input part of anaconda, note warning that all information on /dev/hdb partitions will be lost, tell anaconda to proceed.
  

Actual Results:  Anaconda crashed (dump file attached).

Expected Results:  Partitions and Logical Volumes should be set up.

Additional info:

Two Maxtor 40Gb hard drives on first IDE channel.

Comment 1 Michael Leuty 2005-06-15 22:06:33 UTC
Created attachment 115513 [details]
Dump produced when anaconda crashed.

Comment 2 pinter 2005-06-16 15:29:40 UTC
Same on a Dell C600 with 20GB Toshiba drive, installed overtop Ubuntu 5.04 with
Custom settings and taking most all defaults excepting goddam SELINUX (selected
disabled).

Tail of Exception Occurred dialog reads:
.
.
.
File "/usr/lib/anaconda/packages.py", line 582, in turnOnFilesystems
 thefsset.creatLogicalVolumes(instPath)
File "/usr/lib/anaconda/fsset.py", line 1472, in createLogicalVolumes
 entry.device.setupDevice(chroot)
File "/usr/lib/anaconda/fsset.py", line 2066, in setupDevice
 raise SystemError, "pvcreate failed for %s" % (volume,)
SystemError: pvcreate failed for <fsset.PartitionDevice instance at 0xb7b2396c>

Is there any suggested workaround? I'm totally hosed here now (natch).

Comment 3 Michael Leuty 2005-06-16 15:36:31 UTC
(In reply to comment #2)
> Is there any suggested workaround? I'm totally hosed here now (natch).

Install FC3 on the hard disk (select "minimum" install to save time). Then you
should be able to install FC4 on top (clean install).

Comment 4 pinter 2005-06-16 15:57:08 UTC
Yeah, FC3 was punted last year and most releases of FC4Tx won't boot on C600
laptops due to maximum bogosity being achieved in ISOLINUX (see archives).

Installing in 'linux text' mode seems to be working happily enuf.

Onward!

Comment 5 Jeremy Katz 2005-06-16 20:22:43 UTC
How was hdb previously partitioned?

Comment 6 Michael Leuty 2005-06-16 21:04:35 UTC
(In reply to comment #5)
> How was hdb previously partitioned?

I can't remember the exact details, I'm afraid. I accepted the defaults from
SUSE and Ubuntu to use the whole of /dev/hdb. In each case there were just two
partitions, a swap of about 1Gb and a large "/" occupying the rest of the drive.
(Formatted as Reiser with SUSE and ext3 with Ubuntu.)

Comment 7 Chris Lumens 2005-06-24 19:02:50 UTC
Should be fixed in Rawhide by patch from bug 160693.