Bug 566954

Summary: PartitionException: Can't add a logical partition to /dev/sda, because there is no extended partition.
Product: [Fedora] Fedora Reporter: Clyde E. Kunkel <clydekunkel7734>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:6e93ea7ef07c623fd44019cf43d4411ff5685aaab45369bee26d7d14b56db4bb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-22 23:15:26 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
Attached traceback automatically from anaconda. none

Description Clyde E. Kunkel 2010-02-20 17:33:08 UTC
The following was filed automatically by anaconda:
anaconda 13.28 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.6/site-packages/parted/disk.py", line 246, in addPartition
    constraint.getPedConstraint())
  File "/usr/lib64/python2.6/site-packages/parted/decorators.py", line 30, in localeC
    ret = fn(*args, **kwds)
  File "<string>", line 2, in addPartition
  File "/usr/lib/anaconda/storage/partitioning.py", line 1487, in growPartitions
    constraint=constraint)
  File "/usr/lib/anaconda/storage/partitioning.py", line 812, in doPartitioning
    growPartitions(disks, partitions, free)
  File "/usr/lib/anaconda/storage/partitioning.py", line 214, in doAutoPartition
    exclusiveDisks=anaconda.storage.clearPartDisks)
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/text.py", line 659, in run
    anaconda.dispatch.gotoNext()
  File "/usr/bin/anaconda", line 1191, in <module>
    anaconda.intf.run(anaconda)
PartitionException: Can't add a logical partition to /dev/sda, because there is no extended partition.

Comment 1 Clyde E. Kunkel 2010-02-20 17:33:12 UTC
Created attachment 395280 [details]
Attached traceback automatically from anaconda.

Comment 2 Clyde E. Kunkel 2010-02-20 17:45:36 UTC
Was trying to use text mode to get by 566948 (x-saerver crashing?) and selected reinstall and then selected all drives and use free space.

This is a real corner case and should probably be low severity vice medium.

I would wish for a graceful exit instead of traceback with some kind of msg saying "Select a different drive instead of /dev/xxx" and retry or just reporting that text mode should be avoided.  Too bad we can't do custom layout in text mode.

Comment 3 David Lehman 2010-02-22 23:15:26 UTC

*** This bug has been marked as a duplicate of bug 565692 ***