Bug 1153346

Summary: FormatCreateError: ('invalid device specification', '/dev/sdb1')
Product: [Fedora] Fedora Reporter: Mark Hamzy <hamzy>
Component: python-blivetAssignee: David Lehman <dlehman>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: amulhern, awilliam, bcl, dlehman, g.kaviyarasu, jonathan, vanmeeuwen+fedora, vpodzime
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Unspecified   
Whiteboard: abrt_hash:ddac386d542f6b0885d8f3799ae6e72bd6c06cd3f485923c316b587aa39d8172
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-02 21:19:12 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 Mark Hamzy 2014-10-15 20:04:25 UTC
Description of problem:
running
kernel-3.17.0-301.fc21
python-blivet-0.61.5-1.fc21
pykickstart-1.99.63-2.fc21
anaconda-21.48.10-1.fc21
and still seeing this issue.  Maybe it is because I have selected three disks with an automatic LVM install across them?

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/lvmpv.py", line 121, 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/sdb1')

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.0-301.fc21.ppc64
product:        Fedora"
release:        Cannot get release name.
type:           anaconda
version:        Fedora

Comment 1 Mark Hamzy 2014-10-15 20:04:28 UTC
Created attachment 947296 [details]
File: anaconda-tb

Comment 2 Mark Hamzy 2014-10-15 20:04:29 UTC
Created attachment 947297 [details]
File: anaconda.log

Comment 3 Mark Hamzy 2014-10-15 20:04:30 UTC
Created attachment 947298 [details]
File: environ

Comment 4 Mark Hamzy 2014-10-15 20:04:30 UTC
Created attachment 947299 [details]
File: lsblk_output

Comment 5 Mark Hamzy 2014-10-15 20:04:31 UTC
Created attachment 947300 [details]
File: nmcli_dev_list

Comment 6 Mark Hamzy 2014-10-15 20:04:32 UTC
Created attachment 947301 [details]
File: os_info

Comment 7 Mark Hamzy 2014-10-15 20:04:33 UTC
Created attachment 947302 [details]
File: program.log

Comment 8 Mark Hamzy 2014-10-15 20:04:35 UTC
Created attachment 947303 [details]
File: storage.log

Comment 9 Mark Hamzy 2014-10-15 20:04:36 UTC
Created attachment 947304 [details]
File: syslog

Comment 10 Mark Hamzy 2014-10-15 20:04:36 UTC
Created attachment 947305 [details]
File: ifcfg.log

Comment 11 Mark Hamzy 2014-10-15 20:04:37 UTC
Created attachment 947306 [details]
File: packaging.log

Comment 12 Adam Williamson 2014-10-16 16:18:48 UTC
https://www.happyassassin.net/temp/blivet-1109244.img is a current updates.img which should contain what, I believe, dlehman expects to fix this bug (a udev settle between writing partition flags and formatting). It's built against the blivet from 21 Beta TC3, blivet 0.61.4 - I don't know what's in the PPC build. Can folks who are hitting this please test with that updates.img , and/or let me know what blivet version is in the current PPC test images so I can create a different one? Thanks.

Comment 13 Adam Williamson 2014-10-16 16:49:06 UTC
https://www.happyassassin.net/temp/blivet0615-1109244.img has the same patch, but against blivet 0.61.5 (pbrobinson tells me that's in the current PPC builds).

Comment 14 David Lehman 2014-12-02 21:19:12 UTC

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