Bug 496343 - anaconda crashes when partition order is changed
Summary: anaconda crashes when partition order is changed
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:fcfbd00959d0e86cd...
: 498799 (view as bug list)
Depends On:
Blocks: 496660
TreeView+ depends on / blocked
 
Reported: 2009-04-17 22:10 UTC by Andreas Thienemann
Modified: 2009-05-04 14:20 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
: 496660 (view as bug list)
Environment:
Last Closed: 2009-04-20 14:25:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (187.18 KB, text/plain)
2009-04-17 22:10 UTC, Andreas Thienemann
no flags Details
Attached traceback automatically from anaconda. (210.17 KB, text/plain)
2009-04-20 14:55 UTC, James Laska
no flags Details

Description Andreas Thienemann 2009-04-17 22:10:04 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.45 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/packages.py", line 143, in turnOnFilesystems
    except DeviceError as (msg, device):
  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/gui.py", line 1323, in nextClicked
    self.anaconda.dispatch.gotoNext()
ValueError: need more than 1 value to unpack

Comment 1 Andreas Thienemann 2009-04-17 22:10:21 UTC
Created attachment 340102 [details]
Attached traceback automatically from anaconda.

Comment 2 Andreas Thienemann 2009-04-17 22:24:58 UTC
Description:

During installation onto a encrypted partition anaconda crashes with the above traceback. I do believe it is rather misleading, as gotoNext() shouldn't have been called.

I do believe the problem is related to a discrepancy between encrypted block devices and real existing partitions.

Steps to reproduce:

1. Take a system with existing partitions and lots of free space at the end of the disk: e.g. sda1 already existing, to be formatted as /boot. sda2 existing NTFS partition, sda3 /boot from another installation, sda4 extended, sda5 lvm from another installation of another linux.
2. Install with default values.
3. Select partitioning scheme "Use free space"
4. Check the Encryption toggle.
5. Check review layout.
6. Delete the newly created /boot partition on sda6 and assign sda1 to be used as the boot partition.
7. Observe that the encrypted pv has correctly changed from sda7 to sda6
8. Edit the lv details. Note that it's supposed to be installed onto crypt-sda7, the former name of the pv.

After the crash, the anaconda logfile shows that createion of crypt sda7 is marked as false.

Comment 3 Chris Lumens 2009-04-20 14:25:21 UTC
The real error here is hidden from a problem with exception handling, so it's not really easy to tell what's gone wrong.  I've committed a fix to the exception handling part.  After this makes it into a rawhide build, we can look at the real error and work that in a separate report.

Comment 4 James Laska 2009-04-20 14:55:21 UTC
Created attachment 340359 [details]
Attached traceback automatically from anaconda.

Comment 5 James Laska 2009-04-20 16:15:22 UTC
Moving the SaveToBugzilla hash from this bug to bug#496660

Comment 6 Chris Lumens 2009-05-04 14:20:16 UTC
*** Bug 498799 has been marked as a duplicate of this bug. ***


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