Bug 873031

Summary: MDRaidError: md_node_from_name failed: [Errno 22] Invalid argument: '/dev/md/'
Product: [Fedora] Fedora Reporter: Reartes Guillermo <rtguille>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, awilliam, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:02fda91e5b28f12d1dfe6c1f9299aeeaeb7a80bdb7bdf21a5e22dc0b617730bd
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-28 09:29:52 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:
Attachments:
Description Flags
File: anaconda-tb
none
File: product
none
File: type
none
File: ifcfg.log
none
File: storage.log
none
File: version
none
File: environ
none
File: executable
none
File: anaconda.log
none
File: syslog
none
File: hashmarkername
none
File: packaging.log
none
File: cmdline_file
none
File: release
none
File: program.log
none
F17 ks none

Description Reartes Guillermo 2012-11-04 23:02:15 UTC
Description of problem:
i installed F17 with several raid / lvm combo

then tried to install F18b TC7, with automatic partitioning, but since i needed to reclaim space i just cancel and returned to the MAIN HUB, but KabOOOM.


Version-Release number of selected component:
anaconda-18.24

Additional info:
libreport version: 2.0.17
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.5-2.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.24 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicelibs/mdraid.py", line 264, in md_node_from_name
:    raise MDRaidError("md_node_from_name failed: %s" % e)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 2839, in updateSysfsPath
:    md_node = mdraid.md_node_from_name(self.name)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1449, in handleUdevMDMemberFormat
:    md_array.updateSysfsPath()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1663, in handleUdevDeviceFormat
:    self.handleUdevMDMemberFormat(info, device)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1096, in addUdevDevice
:    self.handleUdevDeviceFormat(info, device)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1902, in _populate
:    self.addUdevDevice(dev)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 1850, in populate
:    self._populate()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 398, in reset
:    self.devicetree.populate(cleanupOnly=cleanupOnly)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 407, in _doExecute
:    self.storage.reset()
:  File "/usr/lib64/python2.7/threading.py", line 504, in run
:    self.__target(*self.__args, **self.__kwargs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
:    threading.Thread.run(self, *args, **kwargs)
:MDRaidError: md_node_from_name failed: [Errno 22] Invalid argument: '/dev/md/'

Comment 1 Reartes Guillermo 2012-11-04 23:02:33 UTC
Created attachment 638257 [details]
File: anaconda-tb

Comment 2 Reartes Guillermo 2012-11-04 23:02:36 UTC
Created attachment 638258 [details]
File: product

Comment 3 Reartes Guillermo 2012-11-04 23:02:38 UTC
Created attachment 638259 [details]
File: type

Comment 4 Reartes Guillermo 2012-11-04 23:02:40 UTC
Created attachment 638260 [details]
File: ifcfg.log

Comment 5 Reartes Guillermo 2012-11-04 23:02:50 UTC
Created attachment 638261 [details]
File: storage.log

Comment 6 Reartes Guillermo 2012-11-04 23:02:53 UTC
Created attachment 638262 [details]
File: version

Comment 7 Reartes Guillermo 2012-11-04 23:02:55 UTC
Created attachment 638263 [details]
File: environ

Comment 8 Reartes Guillermo 2012-11-04 23:02:57 UTC
Created attachment 638264 [details]
File: executable

Comment 9 Reartes Guillermo 2012-11-04 23:03:00 UTC
Created attachment 638265 [details]
File: anaconda.log

Comment 10 Reartes Guillermo 2012-11-04 23:03:03 UTC
Created attachment 638266 [details]
File: syslog

Comment 11 Reartes Guillermo 2012-11-04 23:03:05 UTC
Created attachment 638267 [details]
File: hashmarkername

Comment 12 Reartes Guillermo 2012-11-04 23:03:07 UTC
Created attachment 638268 [details]
File: packaging.log

Comment 13 Reartes Guillermo 2012-11-04 23:03:10 UTC
Created attachment 638269 [details]
File: cmdline_file

Comment 14 Reartes Guillermo 2012-11-04 23:03:12 UTC
Created attachment 638270 [details]
File: release

Comment 15 Reartes Guillermo 2012-11-04 23:03:16 UTC
Created attachment 638271 [details]
File: program.log

Comment 16 Reartes Guillermo 2012-11-04 23:31:02 UTC
Created attachment 638276 [details]
F17 ks

Comment 17 David Lehman 2012-11-09 00:50:01 UTC
I fixed devicePathToName for /dev/md/ paths, which broke some code to get a name based on output of mdadm --examine --brief. I have a patch in the works.

Comment 18 Fedora Update System 2012-11-10 00:55:39 UTC
anaconda-18.28-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2012-17823/anaconda-18.28-1.fc18

Comment 19 Fedora Update System 2012-11-10 19:38:08 UTC
Package anaconda-18.28-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.28-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17823/anaconda-18.28-1.fc18
then log in and leave karma (feedback).

Comment 20 Adam Williamson 2012-11-23 06:19:11 UTC
Reartes, can you re-test and confirm this?

Comment 21 Reartes Guillermo 2012-11-25 17:51:39 UTC
I could not reproduce this on any guest i tried to. It seems fixed.