Bug 491348

Summary: Traceback in partitioning - unable to satisfy constraints
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: anacondaAssignee: Joel Andres Granados <jgranado>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: andreas, anross, benedictus, bugproxy, davej, esandeen, gnafu_the_great, grejigl-gnomeprevod, gtmkramer, jgranado, jlaska, markku.kolkka, pjones, rmaximo, rwarsow, sb, stefanrin, tim.lauridsen, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:24225af8310144a9f0064bf1097316f23ee0361eab4131587f92c29df7efbc5f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-14 20:59:06 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:
Bug Depends On:    
Bug Blocks: 446452    
Attachments:
Description Flags
Attached traceback automatically from anaconda.
none
anaconda-log
none
blkid
none
fdisk
none
program.log
none
storage.log
none
syslog
none
Traceback while testing 02-04-2009-1351-x86_64.img
none
anaconda traceback
none
anaconda traceback none

Description Orion Poplawski 2009-03-20 15:04:22 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.34 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.6/site-packages/parted/disk.py", line 181, in addPartition
    constraint.getPedConstraint()):
  File "/usr/lib/anaconda/storage/partitioning.py", line 754, in allocatePartitions
    constraint=constraint)
  File "/usr/lib/anaconda/storage/partitioning.py", line 556, in doPartitioning
    allocatePartitions(disks, partitions)
  File "/usr/lib/anaconda/storage/partitioning.py", line 191, in doAutoPartition
    exclusiveDisks=anaconda.id.storage.clearPartDisks)
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/dispatch.py", line 227, in currentStep
    self.gotoNext()
  File "/usr/lib/anaconda/gui.py", line 1350, in setScreen
    (step, anaconda) = self.anaconda.dispatch.currentStep()
  File "/usr/lib/anaconda/gui.py", line 1513, in setup_window
    self.setScreen()
  File "/usr/lib/anaconda/gui.py", line 1523, in run
    self.setup_window(runres)
  File "/usr/lib/anaconda/gui.py", line 1270, in run
    self.icw.run (self.runres)
  File "/usr/bin/anaconda", line 1017, in <module>
    anaconda.intf.run(anaconda)
PartitionException: Unable to satisfy all constraints on the partition.

Comment 1 Orion Poplawski 2009-03-20 15:04:27 UTC
Created attachment 336057 [details]
Attached traceback automatically from anaconda.

Comment 2 Chris Lumens 2009-03-23 14:12:14 UTC
*** Bug 491493 has been marked as a duplicate of this bug. ***

Comment 3 Chris Lumens 2009-03-24 17:00:02 UTC
*** Bug 491910 has been marked as a duplicate of this bug. ***

Comment 4 Orion Poplawski 2009-03-25 16:23:46 UTC
Still present with 11.5.0.37 today.

Comment 5 Ronald Warsow 2009-03-26 14:39:16 UTC
and 11.5.0.38

Comment 6 James Laska 2009-03-26 16:11:21 UTC
My bug#491910 was found during a RAID kickstart install.  

Orion and Ronald: Are you seeing this during a kickstart installation, or a manual install on using dmraid hardware?

Comment 7 Orion Poplawski 2009-03-26 16:26:07 UTC
kickstart, but so far only on a machine with 2 existing non-linux partitions that are preserved.  Installs on pure linux machines on which all partitions are first removed by kickstart are fine.

Comment 8 James Laska 2009-03-26 17:11:51 UTC
Orion, thanks for the feedback.  The anaconda team will be focusing on improving the kickstart experience post-beta.  The focus for beta is around manual installations.

I've added this issue to the known issues list for F11 Beta (https://fedoraproject.org/wiki/Fedora_11_Beta_release_notes#Anaconda_installer_issues).

Comment 9 Ronald Warsow 2009-03-26 17:43:20 UTC
- manual install !
- no RAID


00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA (prog-if 01 [AHCI 1.0])

is this dmraid hardware ?

Comment 10 Chris Lumens 2009-03-30 19:27:06 UTC
*** Bug 492471 has been marked as a duplicate of this bug. ***

Comment 11 Chris Lumens 2009-03-31 19:07:00 UTC
*** Bug 493140 has been marked as a duplicate of this bug. ***

Comment 12 Joel Andres Granados 2009-04-01 16:29:39 UTC
Been following this bug for some time and think I have a hack for it. Would appreciate people testing with one of the following update images:

http://jgranado.fedorapeople.org/storage/testing/01-04-2009-1826-i586.img
http://jgranado.fedorapeople.org/storage/testing/01-04-2009-1826-x86_64.img

Comment 13 Joel Andres Granados 2009-04-01 18:12:23 UTC
The following updates are the same solution but less hackish.  Would appreciate a test for each comment image, if you have time :).

http://jgranado.fedorapeople.org/storage/testing/01-04-2009-2010-i586.img
http://jgranado.fedorapeople.org/storage/testing/01-04-2009-2010-x86_64.img

Comment 14 Ronald Warsow 2009-04-01 18:58:32 UTC
Thanks !

but no luck.
installer stops with a popup message "Filesystem error detected, cannot continue"
with an OK "button"

attached all file under /tmp.
add. blkid and fdisk -l /dev/sd?

hint: sda2 is Solaris ZFS

Comment 15 Ronald Warsow 2009-04-01 18:59:09 UTC
Created attachment 337616 [details]
anaconda-log

Comment 16 Ronald Warsow 2009-04-01 18:59:41 UTC
Created attachment 337617 [details]
blkid

Comment 17 Ronald Warsow 2009-04-01 19:00:05 UTC
Created attachment 337618 [details]
fdisk

Comment 18 Ronald Warsow 2009-04-01 19:00:48 UTC
Created attachment 337619 [details]
program.log

Comment 19 Ronald Warsow 2009-04-01 19:01:12 UTC
Created attachment 337620 [details]
storage.log

Comment 20 Ronald Warsow 2009-04-01 19:01:34 UTC
Created attachment 337621 [details]
syslog

Comment 21 James Laska 2009-04-01 19:05:22 UTC
Testing with the x86_64 updates image posted in comment#13 results in ...

Running anaconda 11.5.0.38, the Fedora system installer - please wait...       
Traceback (most recent call last):
  File "/tmp/updates/anaconda", line 549, in <module>
    import signal, string, isys, iutil, time
  File "/tmp/updates/isys.py", line 38, in <module>
    import block
  File "/tmp/updates/block/__init__.py", line 20, in <module>
    import dm
ImportError: /tmp/updates/block/dmmodule.so: wrong ELF class: ELFCLASS32

This was tested by performing a raid0 kickstart install of rawhide while booting with updates=http://jgranado.fedorapeople.org/storage/testing/01-04-2009-2010-x86_64.img

Comment 22 Eric Sandeen 2009-04-01 20:07:57 UTC
I hit this (see bug 491493) when attempting to format a partition as xfs in the custom partitioning screen, in the x86 F11 Beta installer.

-Eric

Comment 23 Joel Andres Granados 2009-04-02 11:29:17 UTC
(In reply to comment #14)
> Thanks !
> 
> but no luck.
> installer stops with a popup message "Filesystem error detected, cannot
> continue"
> with an OK "button"
This means your hitting another bug before this one.  thx for testing!

Comment 24 Joel Andres Granados 2009-04-02 11:57:45 UTC
The images I created for comment 12 and 13 were a little off.  These new images should correct the problem and hopefully take care of the bug :)

http://jgranado.fedorapeople.org/storage/testing/02-04-2009-1351-{i586,x86_64}.img

Comment 25 Chris Lumens 2009-04-02 13:58:30 UTC
*** Bug 493498 has been marked as a duplicate of this bug. ***

Comment 26 Chris Lumens 2009-04-02 13:58:38 UTC
*** Bug 493502 has been marked as a duplicate of this bug. ***

Comment 27 James Laska 2009-04-02 14:14:15 UTC
Created attachment 337821 [details]
Traceback while testing 02-04-2009-1351-x86_64.img

Testing with rawhide + updates=http://jgranado.fedorapeople.org/storage/testing/02-04-2009-1351-x86_64.img yields the attached traceback.

Comment 28 Andrew Ross 2009-04-02 21:58:14 UTC
Couple of points from  Bug 493498.

HD:
 - no RAID
 - EXT3
 - Encrypted /home (though installing into free space)

Install Media:
 - Boot.iso (rawhide-20090331)

Comment 29 Igor Miletic 2009-04-03 02:18:25 UTC
Also couple of points from https://bugzilla.redhat.com/show_bug.cgi?id=493498

320 GB HD
Ext4
No encryption

Booted from Boot.iso (rawhide-20090402)

Comment 30 Orion Poplawski 2009-04-03 17:27:01 UTC
Created attachment 338089 [details]
anaconda traceback

Testing with rawhide 20090403 +
updates=http://jgranado.fedorapeople.org/storage/testing/02-04-2009-1351-x86_64.img
yields the attached traceback. 

Different than the other one posted.

Comment 31 Chris Lumens 2009-04-03 20:31:40 UTC
*** Bug 494029 has been marked as a duplicate of this bug. ***

Comment 32 Chris Lumens 2009-04-06 14:15:08 UTC
*** Bug 494184 has been marked as a duplicate of this bug. ***

Comment 33 Stefan Ring 2009-04-07 15:55:54 UTC
Created attachment 338526 [details]
anaconda traceback

I got a very similar error today when I tried to install Fedora 11 Beta.

The disk layout is as follows:

Disk /dev/sda: 60801 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1          0+   4145    4146-  33302713+   7  HPFS/NTFS
/dev/sda2       4146    4158-     13-     97657   83  Linux
/dev/sda3       4158+  52720   48563- 390081030+   5  Extended
/dev/sda4   *  52721   60801-   8081-  64905151+  bf  Solaris
/dev/sda5       4158+   6589-   2432-  19531250+  83  Linux
/dev/sda6       6589+   7075-    487-   3906250+  82  Linux swap / Solaris
/dev/sda7       7076+   9687    2612-  20980862+  83  Linux

There is plenty of room in the extended partition. I used the graphical installer, no RAID, nothing unusual. I just pressed the "New" button and tried to create a new root (/) partition, format as ext4, sized 20000MB, and immediately got the traceback when I pressed the "Ok" button (or whatever its name is).

Comment 34 Joel Andres Granados 2009-04-08 12:26:41 UTC
This is addressed in current anaconda.

Comment 35 Chris Lumens 2009-04-08 14:19:59 UTC
*** Bug 494807 has been marked as a duplicate of this bug. ***

Comment 36 Orion Poplawski 2009-04-09 16:22:58 UTC
Getting different traceback today (bug #495076)- no idea if I got farther or not.

Comment 37 James Laska 2009-04-09 16:45:58 UTC
I have a similar experience as Orion in comment#36.  I'm not seeing this issue anymore, but am now seeing bug#495077.

Comment 38 Orion Poplawski 2009-04-14 20:59:06 UTC
No more partitioning tracebacks for me with 11.5.0.44.