Bug 1161280

Summary: FormatCreateError: ('invalid device specification', '/dev/sda1')
Product: [Fedora] Fedora Reporter: Mark Hamzy <hamzy>
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: 21CC: anaconda-maint-list, g.kaviyarasu, jonathan, normand, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard: abrt_hash:94f26ffea48ff013a854769d833f16df3ddfd4262ba0e22e80ebfbb4a5e37aae
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-24 14:45:53 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:
Bug Depends On:    
Bug Blocks: 1146697    
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 Mark Hamzy 2014-11-06 20:10:29 UTC
Description of problem:
Selected two of the three disks. Did automatic LVM installation. Reclaimed all disk space.

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

The following was filed automatically by anaconda:
anaconda 21.48.10-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/formats/__init__.py", line 370, in create
    raise FormatCreateError("invalid device specification", self.device)
  File "/usr/lib/python2.7/site-packages/blivet/formats/prepboot.py", line 76, in create
    DeviceFormat.create(self, **kwargs)
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 559, in execute
    options=self.device.formatArgs)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 361, in processActions
    action.execute(callbacks)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 364, in doIt
    self.devicetree.processActions(callbacks)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 216, in turnOnFilesystems
    storage.doIt(callbacks)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 190, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
  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/sda1')

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/ppc/ppc64/vmlinuz inst.vnc inst.sshd ip=9.5.178.25::9.5.178.1:255.255.255.0:ppc64lehamzytest2.rch.stglabs.ibm.com:eth0:none nameserver=9.5.175.8 bootdev=eth0
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.17.1-302.fc21.ppc64le
product:        Fedora"
release:        Cannot get release name.
type:           anaconda
version:        Fedora

Comment 1 Mark Hamzy 2014-11-06 20:10:32 UTC
Created attachment 954610 [details]
File: anaconda-tb

Comment 2 Mark Hamzy 2014-11-06 20:10:33 UTC
Created attachment 954611 [details]
File: anaconda.log

Comment 3 Mark Hamzy 2014-11-06 20:10:34 UTC
Created attachment 954612 [details]
File: environ

Comment 4 Mark Hamzy 2014-11-06 20:10:35 UTC
Created attachment 954613 [details]
File: lsblk_output

Comment 5 Mark Hamzy 2014-11-06 20:10:35 UTC
Created attachment 954614 [details]
File: nmcli_dev_list

Comment 6 Mark Hamzy 2014-11-06 20:10:36 UTC
Created attachment 954615 [details]
File: os_info

Comment 7 Mark Hamzy 2014-11-06 20:10:38 UTC
Created attachment 954616 [details]
File: program.log

Comment 8 Mark Hamzy 2014-11-06 20:10:40 UTC
Created attachment 954617 [details]
File: storage.log

Comment 9 Mark Hamzy 2014-11-06 20:10:41 UTC
Created attachment 954618 [details]
File: syslog

Comment 10 Mark Hamzy 2014-11-06 20:10:42 UTC
Created attachment 954619 [details]
File: ifcfg.log

Comment 11 Mark Hamzy 2014-11-06 20:10:43 UTC
Created attachment 954620 [details]
File: packaging.log

Comment 12 Michel Normand 2014-11-14 13:36:19 UTC
Another user experienced a similar problem:

install fc21 Beta RC2 ppc64le as guest VM with two qcow2 disks as target, requesting to clean all space.

addons:         com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/ppc/ppc64/vmlinuz ro
hashmarkername: anaconda
kernel:         3.17.2-301.fc21.ppc64le
package:        anaconda-21.48.10-1
product:        Fedora"
reason:         FormatCreateError: ('invalid device specification', '/dev/sda1')
release:        Cannot get release name.
version:        Fedora

Comment 13 Michel Normand 2014-11-14 13:54:38 UTC
(In reply to Michel Normand from comment #12)

There is no such error with ppc64 in place of ppc64le.

Comment 14 Michel Normand 2014-11-14 14:08:37 UTC
Why fc21 Beta RC2 ppc64le iso do only has anaconda-21.48.10-1 ?

There was a previous bug #1109244 set as verified that supposed to update to anaconda-21.48.12-1.fc21, python-blivet-0.61.7-1.fc21

Comment 15 Michel Normand 2014-11-24 14:27:31 UTC
(In reply to Michel Normand from comment #14)
> Why fc21 Beta RC2 ppc64le iso do only has anaconda-21.48.10-1 ?
> 
> There was a previous bug #1109244 set as verified that supposed to update to
> anaconda-21.48.12-1.fc21, python-blivet-0.61.7-1.fc21

With new fc21 pre-GA TC1 iso I am able to install on two qcow2 disks that previously failed at comment #12

So should return this bug as working with current release preGA-TC1 that have:
anaconda-21.48.14-1.fc21 & python-blivet-0.61.9-1.fc21

Comment 16 Michel Normand 2014-11-24 14:45:53 UTC

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