Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 76957 - installer crashes on auto disk partition
installer crashes on auto disk partition
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Michael Fulbright
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2002-10-30 00:25 EST by Andrew Dunstan
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-03-13 16:28:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andrew Dunstan 2002-10-30 00:25:25 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461)

Description of problem:
see crash dump below

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

How reproducible:
Didn't try

Steps to Reproduce:
1. Select to wipe out and install on /dev/hda
2. Cry

Actual Results:  Traceback (most recent call last):
  File "/usr/lib/anaconda/gui.py", line 632, in nextClicked
  File "/usr/lib/anaconda/dispatch.py", line 150, in gotoNext
  File "/usr/lib/anaconda/dispatch.py", line 215, in moveStep
    rc = apply(func, self.bindArgs(args))
  File "/usr/lib/anaconda/autopart.py", line 1160, in doAutoPartition
    (errors, warnings) = partitions.sanityCheckAllRequests(diskset)
  File "/usr/lib/anaconda/partitions.py", line 767, in sanityCheckAllRequests
    swapSize = swapSize + request.getActualSize(self, diskset)
  File "/usr/lib/anaconda/partRequests.py", line 422, in getActualSize
    raise RuntimeError, "Checking the size of a partition which hasn't been 
allocated yet"
RuntimeError: Checking the size of a partition which hasn't been allocated yet

Local variables in innermost frame:
self: New Part Request -- mountpoint: None uniqueID: 265
  type: swap  format: 1  badblocks: None
  device: None drive: ['hda']  primary: None
  size: 128  grow: 1  maxsize: 256
  start: None  end: None  migrate: None  origfstype: None
part: None
diskset: <partedUtils.DiskSet instance at 0x869a64c>
partitions: <partitions.Partitions instance at 0x833951c>

Additional info:
Comment 1 Michael Fulbright 2002-10-30 16:48:25 EST
What does the partition table on this drive look like before you tried to wipe
it out?
Comment 2 Andrew Dunstan 2002-10-30 18:46:55 EST
The partition table had a single fat32 partition on it. I discovered after 
filing the bug that the workaround was to use W98 fdisk to remove the 
partition and then things proceeded smoothly (it's installing as I type). 
Still, the interface gives the impression it will handle this for you, and 
then throws an ugly and fairly uninformative exception.
Comment 3 Michael Fulbright 2003-03-13 16:28:16 EST
I cannot reproduce this issue. It may be a parted issue with certain non-parted
created partition tables but there isn't any way to tell without having a
machine with the problem available to us.

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