Bug 681608 - KeyError: '/dev/md126'
Summary: KeyError: '/dev/md126'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 15
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: hatanaconda_trace_hash:78511e29812af3...
Depends On:
Blocks: F15Beta, F15BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2011-03-02 17:56 UTC by Sandro Mathys
Modified: 2011-04-05 21:39 UTC (History)
6 users (show)

Fixed In Version: anaconda-15.26-1.fc15
Clone Of:
Environment:
Last Closed: 2011-04-05 21:39:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (514.86 KB, text/plain)
2011-03-02 17:56 UTC, Sandro Mathys
no flags Details
Patch to fix installation to firmware raid in f15 (6.84 KB, patch)
2011-03-02 22:04 UTC, David Lehman
no flags Details | Diff
storage.log after applying patch (2011-03-02 17:04 EST, Dave Lehman) (185.11 KB, text/plain)
2011-03-02 22:28 UTC, Sandro Mathys
no flags Details
program.log after applying patch (2011-03-02 17:04 EST, Dave Lehman) (61.80 KB, text/plain)
2011-03-02 22:28 UTC, Sandro Mathys
no flags Details
anaconda.log after applying patch (2011-03-02 17:04 EST, Dave Lehman) (3.05 KB, text/plain)
2011-03-02 22:29 UTC, Sandro Mathys
no flags Details
Patch to fix installation to firmware raid in f15 (7.20 KB, patch)
2011-03-03 01:24 UTC, David Lehman
no flags Details | Diff
Attached traceback automatically from anaconda. (515.42 KB, text/plain)
2011-03-03 06:56 UTC, Sandro Mathys
no flags Details
Patch to fix installation to firmware raid in f15 (7.68 KB, patch)
2011-03-03 15:27 UTC, David Lehman
no flags Details | Diff

Description Sandro Mathys 2011-03-02 17:56:29 UTC
The following was filed automatically by anaconda:
anaconda 15.20.1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/partitioning.py", line 984, in allocatePartitions
    disklabel = disklabels[_disk.path]
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/partitioning.py", line 857, in doPartitioning
    allocatePartitions(storage, disks, partitions, free)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/partitioning.py", line 222, in doAutoPartition
    doPartitioning(anaconda.storage)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 211, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 130, in gotoNext
    self.moveStep()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1257, in nextClicked
    self.anaconda.dispatch.gotoNext()
KeyError: '/dev/md126'

Comment 1 Sandro Mathys 2011-03-02 17:56:35 UTC
Created attachment 481918 [details]
Attached traceback automatically from anaconda.

Comment 2 Sandro Mathys 2011-03-02 17:59:52 UTC
So, I hit this issue after applying the patches from bug 678877, bug 680226 and bug 678689 (the third already being included in the second).

What I do to reproduce this is as follows.

Specialized Storage Devices:
- SATA disk
- BIOS RAID set (stripe)

<many rather unimportant steps>

Type of Installation:
- Use All Space
- Encrypt System
- Review and modify partitioning layout

Install Target Devices:
- SATA disk
- BIOS RAID set (stripe) <- Boot Loader

After I chose my targets, set the boot loader from SATA to RAID and clicked 'next' I hit the issue.

Comment 3 Adam Williamson 2011-03-02 20:02:19 UTC
this is another Beta blocker - they're all Beta blockers until we can actually install to the RAID array.

Comment 4 David Lehman 2011-03-02 22:04:59 UTC
Created attachment 481949 [details]
Patch to fix installation to firmware raid in f15

Try this patch. It combines all of the uncommitted firmware RAID fixes for F15, including an additional bit specifically for this bug.

Comment 5 Sandro Mathys 2011-03-02 22:28:11 UTC
Created attachment 481961 [details]
storage.log after applying patch (2011-03-02 17:04 EST, Dave Lehman)

Comment 6 Sandro Mathys 2011-03-02 22:28:51 UTC
Created attachment 481962 [details]
program.log after applying patch (2011-03-02 17:04 EST, Dave Lehman)

Comment 7 Sandro Mathys 2011-03-02 22:29:51 UTC
Created attachment 481963 [details]
anaconda.log after applying patch (2011-03-02 17:04 EST, Dave Lehman)

Comment 8 Sandro Mathys 2011-03-02 22:31:15 UTC
That patch actually made things worse again - throwing an exception at me again when/after first choosing specialized target devices:

DeviceTreeError: MD RAID device md126 not in devicetree after scanning all slaves

Comment 9 David Lehman 2011-03-03 01:24:47 UTC
Created attachment 481980 [details]
Patch to fix installation to firmware raid in f15

Try this patch, please -- it replaces the previous patch, so you'll want to revert the other one before applying this one.

Comment 10 Sandro Mathys 2011-03-03 06:56:56 UTC
Created attachment 482002 [details]
Attached traceback automatically from anaconda.

Comment 11 Sandro Mathys 2011-03-03 06:59:01 UTC
So I still hit this bug with the most recent patch.

Comment 12 David Lehman 2011-03-03 15:27:08 UTC
Created attachment 482104 [details]
Patch to fix installation to firmware raid in f15

New version, including another fix that should allow exclusiveDisks to work correctly.

Comment 13 David Lehman 2011-03-04 16:22:50 UTC
Last patch had a problem. It did not take into account the fact that mdadm will
append an underscore and some number of digits to the name of an array it
assembles if the system hostname at the time of assembly does not match the
hostname in the array metadata. Good stuff.

New patch:

  http://dlehman.fedorapeople.org/fwraid-f15.4.patch

New updates:

  http://dlehman.fedorapeople.org/updates-fwraid-f15.4.img


Please test and let me know the results.

Comment 14 Sandro Mathys 2011-03-04 17:06:46 UTC
Fix (for all 5? or so bugs) confirmed with Alpha RC2/Live/KDE/x86_64 :)

Great, thanks for the hard work!

Comment 15 David Lehman 2011-03-09 19:07:42 UTC
Fixed for Fedora 15 in anaconda-15.22-1.

Comment 16 James Laska 2011-03-11 19:40:51 UTC
Discussed at 2011-03-11 blocker review meeting.  This issue is fixed and available for testing in anaconda-15.22-1.  The issue has been accepted as a beta blocker.

Comment 17 Fedora Update System 2011-03-29 20:59:10 UTC
anaconda-15.26-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/anaconda-15.26-1.fc15

Comment 18 Fedora Update System 2011-03-30 02:26:03 UTC
Package anaconda-15.26-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-15.26-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/anaconda-15.26-1.fc15
then log in and leave karma (feedback).

Comment 19 Fedora Update System 2011-04-05 21:37:58 UTC
anaconda-15.26-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


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