Bug 1170755 - MDRaidError: name_from_md_node(md126p1) failed [Intel BIOS RAID related?]
Summary: MDRaidError: name_from_md_node(md126p1) failed [Intel BIOS RAID related?]
Keywords:
Status: CLOSED DUPLICATE of bug 1160424
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ec7bc45e7de9e1cdf2fa2240079...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-04 19:01 UTC by Ian Pilcher
Modified: 2014-12-08 22:29 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-12-08 22:29:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (342.48 KB, text/plain)
2014-12-04 19:01 UTC, Ian Pilcher
no flags Details
File: anaconda.log (6.56 KB, text/plain)
2014-12-04 19:01 UTC, Ian Pilcher
no flags Details
File: environ (459 bytes, text/plain)
2014-12-04 19:01 UTC, Ian Pilcher
no flags Details
File: lsblk_output (5.99 KB, text/plain)
2014-12-04 19:01 UTC, Ian Pilcher
no flags Details
File: nmcli_dev_list (1.15 KB, text/plain)
2014-12-04 19:01 UTC, Ian Pilcher
no flags Details
File: os_info (377 bytes, text/plain)
2014-12-04 19:01 UTC, Ian Pilcher
no flags Details
File: program.log (28.26 KB, text/plain)
2014-12-04 19:01 UTC, Ian Pilcher
no flags Details
File: storage.log (187.43 KB, text/plain)
2014-12-04 19:01 UTC, Ian Pilcher
no flags Details
File: syslog (89.65 KB, text/plain)
2014-12-04 19:01 UTC, Ian Pilcher
no flags Details
File: ifcfg.log (1.75 KB, text/plain)
2014-12-04 19:01 UTC, Ian Pilcher
no flags Details
File: packaging.log (2.01 KB, text/plain)
2014-12-04 19:01 UTC, Ian Pilcher
no flags Details

Description Ian Pilcher 2014-12-04 19:01:42 UTC
Description of problem:
Boot Fedora 21 RC5 netinst ISO (from USB thumbdrive)

Version-Release number of selected component:
anaconda-21.48.21-1

The following was filed automatically by anaconda:
anaconda 21.48.21-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devicelibs/mdraid.py", line 360, in name_from_md_node
    raise MDRaidError("name_from_md_node(%s) failed" % node)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 909, in addUdevPartitionDevice
    name = mdraid.name_from_md_node(name)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1201, in addUdevDevice
    device = self.addUdevPartitionDevice(info)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2170, in _populate
    self.addUdevDevice(dev)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2105, in populate
    self._populate()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 480, in reset
    self.devicetree.populate(cleanupOnly=cleanupOnly)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 183, in storageInitialize
    storage.reset()
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 112, in wait
    self.raise_if_error(name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/timezone.py", line 75, in time_initialize
    threadMgr.wait(THREAD_STORAGE)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
MDRaidError: name_from_md_node(md126p1) failed

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-S-21-x86_64 rd.live.check net.ifnames=0
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.17.4-301.fc21.x86_64
product:        Fedora"
release:        Cannot get release name.
type:           anaconda
version:        Fedora

Comment 1 Ian Pilcher 2014-12-04 19:01:44 UTC
Created attachment 964791 [details]
File: anaconda-tb

Comment 2 Ian Pilcher 2014-12-04 19:01:45 UTC
Created attachment 964792 [details]
File: anaconda.log

Comment 3 Ian Pilcher 2014-12-04 19:01:46 UTC
Created attachment 964793 [details]
File: environ

Comment 4 Ian Pilcher 2014-12-04 19:01:46 UTC
Created attachment 964794 [details]
File: lsblk_output

Comment 5 Ian Pilcher 2014-12-04 19:01:47 UTC
Created attachment 964795 [details]
File: nmcli_dev_list

Comment 6 Ian Pilcher 2014-12-04 19:01:48 UTC
Created attachment 964796 [details]
File: os_info

Comment 7 Ian Pilcher 2014-12-04 19:01:49 UTC
Created attachment 964797 [details]
File: program.log

Comment 8 Ian Pilcher 2014-12-04 19:01:50 UTC
Created attachment 964798 [details]
File: storage.log

Comment 9 Ian Pilcher 2014-12-04 19:01:51 UTC
Created attachment 964799 [details]
File: syslog

Comment 10 Ian Pilcher 2014-12-04 19:01:52 UTC
Created attachment 964800 [details]
File: ifcfg.log

Comment 11 Ian Pilcher 2014-12-04 19:01:52 UTC
Created attachment 964801 [details]
File: packaging.log

Comment 12 Ian Pilcher 2014-12-04 19:13:48 UTC
This (from the anaconda backtrace) makes me think that it's getting confused by the IMSM (Intel BIOS RAID) metadata device:


MDRaidError: name_from_md_node(md126p1) failed

Local variables in innermost frame:
node: md126p1
md_name: md127
name: None
link: imsm
full_path: /dev/md/imsm
md_dir: /dev/md

Comment 13 Ian Pilcher 2014-12-05 03:51:34 UTC
I did some playing around with running "anaconda --askmethod" from a
live CD, and the results were ... interesting.  At first, I got the
expected crash, so I edited /usr/lib/python2.7/site-packages/blivet/
devicelibs/mdraid.py and added some additional logging to both 
name_from_md_node and md_node_from_name.  Just to ensure that the
updated version was used, I also deleted the mdraid.pyc and mdraid.pyo.

Once I did this, the crash went away.

This suggests a couple of different root causes to me:

1. There was something messed up about the pre-compiled files.

2. (Far more likely) some sort of race condition with udev.  Partitions
   on top of MD RAID seem to take a particularly long time for all of
   the helper programs to run, so perhaps udev simply isn't finished
   creating all the symlinks that anaconda needs (until I slow anaconda
   down by adding the logging and/or removing the pre-compiled files).

Comment 14 David Shea 2014-12-08 22:29:01 UTC

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


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