Bug 958916

Summary: FormatCreateError: ('invalid device specification', '/dev/md/localhost.localdomain:root')
Product: [Fedora] Fedora Reporter: Reartes Guillermo <rtguille>
Component: python-blivetAssignee: David Lehman <dlehman>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: bcl, dlehman, g.kaviyarasu, jonathan, mkolman, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f58aa5f990846494cb299e25206c8e3cadd8430d2b809140f7408dbd08e59aab
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-02 19:25:36 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.log
none
File: backtrace
none
File: environ
none
File: ifcfg.log
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: packaging.log
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: anaconda-tb none

Description Reartes Guillermo 2013-05-02 16:22:51 UTC
Description of problem:
Using custom partitioning, i did a 'reformat' of a previous fedora install. (wich had mdraid devices).
reformatted / and set mount point and label
reformatted /boot and set mount point and label
reformatted swap and set label


The following was filed automatically by anaconda:
anaconda 19.23-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/formats/__init__.py", line 310, in create
    raise FormatCreateError("invalid device specification", self.device)
  File "/usr/lib/python2.7/site-packages/blivet/formats/fs.py", line 779, in create
    DeviceFormat.create(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 471, in execute
    options=self.device.formatArgs)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 237, in processActions
    action.execute()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 303, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 162, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 119, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  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 141, in run
    threading.Thread.run(self, *args, **kwargs)
FormatCreateError: ('invalid device specification', '/dev/md/localhost.localdomain:root')

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

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Beta-TC2\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.0-0.rc8.git0.2.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta-TC2

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 141, in run
    threading.Thread.run(self, *args, **kwargs)
  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/install.py", line 119, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 162, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 303, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 237, in processActions
    action.execute()
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 471, in execute
    options=self.device.formatArgs)
  File "/usr/lib/python2.7/site-packages/blivet/formats/fs.py", line 779, in create
    DeviceFormat.create(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/blivet/formats/__init__.py", line 310, in create
    raise FormatCreateError("invalid device specification", self.device)
FormatCreateError: ('invalid device specification', '/dev/md/localhost.localdomain:root')

Comment 1 Reartes Guillermo 2013-05-02 16:22:56 UTC
Created attachment 742793 [details]
File: anaconda.log

Comment 2 Reartes Guillermo 2013-05-02 16:22:59 UTC
Created attachment 742794 [details]
File: backtrace

Comment 3 Reartes Guillermo 2013-05-02 16:23:01 UTC
Created attachment 742795 [details]
File: environ

Comment 4 Reartes Guillermo 2013-05-02 16:23:04 UTC
Created attachment 742796 [details]
File: ifcfg.log

Comment 5 Reartes Guillermo 2013-05-02 16:23:07 UTC
Created attachment 742797 [details]
File: lsblk_output

Comment 6 Reartes Guillermo 2013-05-02 16:23:10 UTC
Created attachment 742798 [details]
File: nmcli_dev_list

Comment 7 Reartes Guillermo 2013-05-02 16:23:23 UTC
Created attachment 742800 [details]
File: packaging.log

Comment 8 Reartes Guillermo 2013-05-02 16:23:31 UTC
Created attachment 742801 [details]
File: program.log

Comment 9 Reartes Guillermo 2013-05-02 16:23:34 UTC
Created attachment 742802 [details]
File: storage.log

Comment 10 Reartes Guillermo 2013-05-02 16:23:38 UTC
Created attachment 742803 [details]
File: syslog

Comment 11 Reartes Guillermo 2013-05-02 16:23:53 UTC
Created attachment 742804 [details]
File: anaconda-tb

Comment 12 David Lehman 2014-12-02 19:25:36 UTC

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