Bug 1109148

Summary: FormatCreateError: ('invalid device specification', '/dev/sda2')
Product: [Fedora] Fedora Reporter: satellitgo
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: rawhideCC: aj.werkman, anaconda-maint-list, g.kaviyarasu, jonathan, satellitgo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:795797af516afde093a1ccc9bc29f056d50f071c9ab63f0c7ea37fea9496562f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-17 15:58:24 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: anaconda.log
none
File: environ
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
File: packaging.log none

Description satellitgo 2014-06-13 10:46:26 UTC
Description of problem:
creating swap in custom partitioning normal (ext4) 

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

The following was filed automatically by anaconda:
anaconda 21.42-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/formats/__init__.py", line 392, in create
    raise FormatCreateError("invalid device specification", self.device)
  File "/usr/lib/python2.7/site-packages/blivet/formats/swap.py", line 195, in create
    DeviceFormat.create(self, **kwargs)
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 554, in execute
    options=self.device.formatArgs)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 355, in processActions
    action.execute()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 356, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 215, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 179, 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 227, in run
    threading.Thread.run(self, *args, **kwargs)
FormatCreateError: ('invalid device specification', '/dev/sda2')

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x20rawhide\x20x86_64 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.16.0-0.rc0.git5.1.fc21.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        rawhide

Comment 1 satellitgo 2014-06-13 10:46:29 UTC
Created attachment 908466 [details]
File: anaconda-tb

Comment 2 satellitgo 2014-06-13 10:46:30 UTC
Created attachment 908467 [details]
File: anaconda.log

Comment 3 satellitgo 2014-06-13 10:46:32 UTC
Created attachment 908468 [details]
File: environ

Comment 4 satellitgo 2014-06-13 10:46:33 UTC
Created attachment 908469 [details]
File: lsblk_output

Comment 5 satellitgo 2014-06-13 10:46:35 UTC
Created attachment 908470 [details]
File: nmcli_dev_list

Comment 6 satellitgo 2014-06-13 10:46:36 UTC
Created attachment 908471 [details]
File: os_info

Comment 7 satellitgo 2014-06-13 10:46:38 UTC
Created attachment 908472 [details]
File: program.log

Comment 8 satellitgo 2014-06-13 10:46:40 UTC
Created attachment 908473 [details]
File: storage.log

Comment 9 satellitgo 2014-06-13 10:46:41 UTC
Created attachment 908474 [details]
File: syslog

Comment 10 satellitgo 2014-06-13 10:46:43 UTC
Created attachment 908475 [details]
File: ifcfg.log

Comment 11 satellitgo 2014-06-13 10:46:44 UTC
Created attachment 908476 [details]
File: packaging.log

Comment 12 satellitgo 2014-06-13 11:14:57 UTC
re-downloaded boot.iso 20140613. x86_64
KDE and sugar basic desktop selected
default partitioning 
VirtualBox 2048 3 cpu 
installing 1397 files atm...?

Comment 13 satellitgo 2014-06-13 14:31:34 UTC
(In reply to satellit from comment #12)
> re-downloaded boot.iso 20140613. x86_64
> KDE and sugar basic desktop selected
> default partitioning 
> VirtualBox 2048 3 cpu 
> installing 1397 files atm...?

Install worked in VB

Comment 14 A.J. Werkman 2014-06-16 19:23:25 UTC
Another user experienced a similar problem:

Kickstart installation. Goes wrong on disc configuration.

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.ks=hd:UUID=9cb02c12-71bf-49ef-9a9d-092923e0babd:/ks.cfg ip=212.115.199.60::212.115.199.57:255.255.255.248:testsys.digifarma.nl::off nameserver=212.115.199.57 inst.stage2=hd:UUID=9cb02c12-71bf-49ef-9a9d-092923e0babd
hashmarkername: anaconda
kernel:         3.16.0-0.rc0.git11.1.fc21.x86_64
package:        anaconda-21.42-1
product:        Fedora
reason:         FormatCreateError: ('invalid device specification', '/dev/sda3')
release:        Cannot get release name.
version:        rawhide

Comment 15 David Shea 2014-06-17 15:58:24 UTC

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