Bug 739408

Summary: Anaconda crashes when moving the boot loader from one disk to another.
Product: [Fedora] Fedora Reporter: David Thorarinsson <david.thor>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: anaconda-maint-list, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-01 09:47:42 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:

Description David Thorarinsson 2011-09-18 19:54:10 UTC
Description of problem: 
In the alpha version of Fedora 16 (KDE version, x86_64, Live CD installation), Anaconda crashes if the boot loader is changed from one disk to another. This crash is reproducible. In my computer, I have two SSD's but I doubt that it really matters.

Version-Release number of selected component (if applicable):
Anaconda, version that is supplied with Fedora 16 Alpha.

Steps to Reproduce:
1. Select Basic Storage Devices and then further down the line I select "Use All Space", uncheck "Use LVM" and check "Review and modify partitioning layout".
2. In the next screen I select the topmost SSD first and move it to the right window. Then do the same thing with the other SSD. Click next.
3. On the next screen, instead of doing something, click the "Back" button.
4. Change the "Boot Loader" to the other disk and click next.
5. A window pops up saying that an unhandled exception has occurred. 
  
Actual results: Anaconda crashes


Expected results: Anaconda should allow for the change of disk for the boot loader.


Additional info:

Comment 1 David Lehman 2011-09-29 15:47:08 UTC
I was unable to recreate the exact failure described in this bug, but I did uncover some broken behavior. Specifically, when going back and forth between cleardisks_gui and partitioning we were not resetting the storage instance, so we were piling on multiple sets of autopart requests. There was also some inconsistency in the boot drive selection. I have posted a patch to resolve both of these issues.

Comment 2 David Lehman 2011-09-30 16:54:03 UTC
A fix will be in anaconda-16.21-1, which is post-beta.

Comment 3 David Thorarinsson 2011-09-30 22:22:25 UTC
I just tested doing an installation using the beta RC2 and retracing my steps that would introduce failure in beta RC1 but everything worked just fine in RC2. 

Thanks for your help. I can do more testing but I think this case can be closed.