Bug 478302 - F10 kickstart error
F10 kickstart error
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-12-27 11:56 EST by A.J. Werkman
Modified: 2009-06-18 14:16 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-06-18 14:16:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Attached traceback automatically from anaconda. (64.28 KB, text/plain)
2008-12-27 11:56 EST, A.J. Werkman
no flags Details
log of reproducer with more info (81.49 KB, text/plain)
2009-01-09 10:22 EST, Radek Vykydal
no flags Details

  None (edit)
Description A.J. Werkman 2008-12-27 11:56:53 EST
This bug was filed automatically by anaconda.
Comment 1 A.J. Werkman 2008-12-27 11:56:58 EST
Created attachment 327884 [details]
Attached traceback automatically from anaconda.
Comment 2 Chris Lumens 2009-01-05 10:54:08 EST
When you hit this error, can you switch over to tty2 and see if /dev/sda2 even exists?
Comment 3 A.J. Werkman 2009-01-06 09:54:21 EST

I can switch to tty2.

The 'fdisk -l' output shows both a partitioning scheme for sda and sdb. Although I think this partitioning scheme is from a previous install.

Comment 4 A.J. Werkman 2009-01-06 10:35:21 EST
If I use this partitioning info in my kickstart file, I do not see the problem occuring.
zerombr yes
bootloader --location=mbr
clearpart --all --initlabel
part /boot --fstype ext3 --size=100
part pv.7 --size=0 --grow
volgroup VolGroup00 --pesize=32768 pv.7
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1000 --grow --maxsize=1984
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow

If I use this partitioning info in my kickstart file, I do see the error.
bootloader --location=mbr
clearpart --linux  --drives=sda
part /boot --fstype ext3 --size=100 --ondisk=sda
part pv.7 --size=0 --grow --ondisk=sda
volgroup VolGroup00 --pesize=32768 pv.7
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1000 --grow --maxsize=1984
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
Comment 5 Chris Lumens 2009-01-06 16:18:04 EST
I'm not sure if the output from fdisk really answers my question, though.  Can you ls /dev/sda* and see if all the device nodes are there?  Also, is this reproducable if you try to do the exact same install again?  Unfortunately, the lvm output is completely useless in this case.
Comment 6 A.J. Werkman 2009-01-08 01:57:25 EST
ls /dev/sd* gives:
/dev/sda /dev/sda1 /dev/sda2 /dev/sdb /dev/sdb1

This output is exactly how I would expect it to be.

This error is 100% reproducable. See my Comment #4 for my kickstart settings concerning the disk settings.
Comment 7 A.J. Werkman 2009-01-08 02:45:24 EST
There was no error when I previously blanked out my harddisks with dd if=/dev/zero bs=1024k count=10 of=/dev/sd[a,b].

In that case anaconda asks to initialise the disks and continues with formatting and installing the system.

The problem seems to be related to the existance of partitions on the disks when installing.
Comment 8 Radek Vykydal 2009-01-08 09:43:17 EST
I think we are hitting obsolete lvm metadata issues I've been
fixing for rhel5 recently. Perhaps we are not removing obsolete
VG - according to log, there is VolGroup00 found on sdb and we
try to create VolGroup00 on sda. Might be close to
https://bugzilla.redhat.com/show_bug.cgi?id=468431 and
I am going to investigate a little more.
Comment 9 A.J. Werkman 2009-01-08 10:36:48 EST
To Comment #8:

Should this mean, that if there is an other partitioning scheme on the discs, that this problem does not occure?

I'll try with only ext3 partitions on the disks as soon as I am back at my lab system.
Comment 10 A.J. Werkman 2009-01-08 17:03:59 EST
Following comment #9:

As soon as I do not have Logical volume partitioning on the first harddisk. The error does not come up.
Comment 11 Radek Vykydal 2009-01-09 10:22:12 EST
Created attachment 328557 [details]
log of reproducer with more info

I reproduced the bug with some more informative log info
from vgcreate command which suggests that comment #8 is
really the case.

I used the ks partitioning info from comment #4, tried to install
on a disk while having another one containing volume group
Comment 12 Chris Lumens 2009-04-08 16:12:33 EDT
We have made extensive changes to the partitioning code for F11 beta, such that it is very difficult to tell whether your bug is still relevant or not.  Please test with either the latest rawhide you have access to or F11 and let us know whether you are still seeing this problem.  Thanks for the bug report.
Comment 13 Bug Zapper 2009-06-09 06:31:46 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:

Note You need to log in before you can comment on or make changes to this bug.