Bug 1045686

Summary: OSError: [Errno 2] No such file or directory: '/dev/md'
Product: [Fedora] Fedora Reporter: Kerry <probablyspammed>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: anaconda-maint-list, awilliam, g.kaviyarasu, jonathan, probablyspammed, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:d05fdfa7bb8dc298fe50e5001d897e8df6587278ecaa7f93eca3f13501b8bd9a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-30 00:07:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: install.log
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log none

Description Kerry 2013-12-21 08:04:53 UTC
Description of problem:
Insert dvd into system.  (x86_64 4GB iso, not desktop)
boot to anaconda.
select install (default parameters + noselinux selinux=0)
Anaconda boots and shows the keyboard selection screen then crashes.

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

The following was filed automatically by anaconda:
anaconda 20.25.15-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devicelibs/mdraid.py", line 266, in name_from_md_node
    for link in os.listdir(md_dir):
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2297, in resolveDevice
    md_name = devicelibs.mdraid.name_from_md_node(devspec[5:])
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 3129, in parseFSTab
    options=options)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 3052, in findExistingInstallations
    (mounts, swaps) = parseFSTab(devicetree, chroot=ROOT_PATH)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 427, in reset
    self.roots = findExistingInstallations(self.devicetree)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 142, in storageInitialize
    storage.reset()
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 192, in run
    threading.Thread.run(self, *args, **kwargs)
OSError: [Errno 2] No such file or directory: '/dev/md'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020\x20x86_64 quiet noselinux selinux=0 BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.10-301.fc20.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        20

Comment 1 Kerry 2013-12-21 08:05:01 UTC
Created attachment 839927 [details]
File: anaconda-tb

Comment 2 Kerry 2013-12-21 08:05:03 UTC
Created attachment 839928 [details]
File: anaconda.log

Comment 3 Kerry 2013-12-21 08:05:05 UTC
Created attachment 839929 [details]
File: environ

Comment 4 Kerry 2013-12-21 08:05:07 UTC
Created attachment 839930 [details]
File: install.log

Comment 5 Kerry 2013-12-21 08:05:09 UTC
Created attachment 839931 [details]
File: lsblk_output

Comment 6 Kerry 2013-12-21 08:05:11 UTC
Created attachment 839932 [details]
File: nmcli_dev_list

Comment 7 Kerry 2013-12-21 08:05:13 UTC
Created attachment 839933 [details]
File: os_info

Comment 8 Kerry 2013-12-21 08:05:16 UTC
Created attachment 839934 [details]
File: program.log

Comment 9 Kerry 2013-12-21 08:05:19 UTC
Created attachment 839935 [details]
File: storage.log

Comment 10 Kerry 2013-12-21 08:05:22 UTC
Created attachment 839936 [details]
File: syslog

Comment 11 Kerry 2013-12-21 08:05:24 UTC
Created attachment 839937 [details]
File: ifcfg.log

Comment 12 Kerry 2013-12-23 05:19:33 UTC
The error message mentioned "/dev/md" so I disabled the four hard drives which make up the two raid arrays in bios, then tried again.
The same problem occurs even with these drives not present.

Comment 13 Adam Williamson 2013-12-29 23:00:52 UTC
Does /etc/fstab of an existing Linux install have an entry for '/dev/md0' or something like that? It is known that anaconda crashes if you have an fstab entry that identifies an mdraid array by its device node rather than by something more reliable, like a UUID. That's https://bugzilla.redhat.com/show_bug.cgi?id=980267 . This is quite likely to be a duplicate.

Comment 14 Kerry 2013-12-30 00:01:41 UTC
Yes, I do have /dev/md0 and /dev/md1 in the fstab file.
I will change this and try again later.
Thanks.

Comment 15 Adam Williamson 2013-12-30 00:07:17 UTC
OK, for now let's call it a dupe of that bug, it seems very likely.

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