Bug 1204306

Summary: FormatCreateError: ('invalid device specification', u'/dev/mapper/luks-580abb05-3993-479f-94f1-e2af6173f2bd')
Product: [Fedora] Fedora Reporter: pavel.nedr
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: 22CC: amulhern, anaconda-maint-list, g.kaviyarasu, jonathan, pavel.nedr, stevenkelbley, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:db093ea1d0026324749eab470e0de72f04b740e97477a796e19710566c47032e
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-30 12:29: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: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log none

Description pavel.nedr 2015-03-20 21:44:57 UTC
Description of problem:
I've just set up disks configuration manually and then press "done" and "begin installation".

Version-Release number of selected component:
anaconda-core-22.20.2-1.fc22.x86_64

The following was filed automatically by anaconda:
anaconda 22.20.2-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/formats/__init__.py", line 374, in create
    raise FormatCreateError("invalid device specification", self.device)
  File "/usr/lib/python2.7/site-packages/blivet/formats/swap.py", line 192, in create
    DeviceFormat.create(self, **kwargs)
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 577, 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 252, in doIt
    self.devicetree.processActions(callbacks)
  File "/usr/lib/python2.7/site-packages/blivet/osinstall.py", line 1063, in turnOnFilesystems
    storage.doIt(callbacks)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 188, 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 238, in run
    threading.Thread.run(self, *args, **kwargs)
FormatCreateError: ('invalid device specification', u'/dev/mapper/luks-580abb05-3993-479f-94f1-e2af6173f2bd')

Additional info:
cmdline:        /usr/bin/python2  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-KDE-x86_64-22_A-3 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 pci=nocrs
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.0.0-0.rc1.git0.1.fc22.x86_64
other involved packages: python-blivet-1.0-1.fc22.noarch, python-libs-2.7.9-5.fc22.x86_64
product:        Fedora"
release:        Fedora release 22 (Twenty Two)
type:           anaconda
version:        Fedora

Comment 1 pavel.nedr 2015-03-20 21:45:04 UTC
Created attachment 1004674 [details]
File: anaconda-tb

Comment 2 pavel.nedr 2015-03-20 21:45:06 UTC
Created attachment 1004675 [details]
File: anaconda.log

Comment 3 pavel.nedr 2015-03-20 21:45:07 UTC
Created attachment 1004676 [details]
File: environ

Comment 4 pavel.nedr 2015-03-20 21:45:11 UTC
Created attachment 1004677 [details]
File: journalctl

Comment 5 pavel.nedr 2015-03-20 21:45:12 UTC
Created attachment 1004678 [details]
File: lsblk_output

Comment 6 pavel.nedr 2015-03-20 21:45:13 UTC
Created attachment 1004679 [details]
File: nmcli_dev_list

Comment 7 pavel.nedr 2015-03-20 21:45:14 UTC
Created attachment 1004680 [details]
File: os_info

Comment 8 pavel.nedr 2015-03-20 21:45:16 UTC
Created attachment 1004681 [details]
File: program.log

Comment 9 pavel.nedr 2015-03-20 21:45:20 UTC
Created attachment 1004682 [details]
File: storage.log

Comment 10 pavel.nedr 2015-03-20 21:45:21 UTC
Created attachment 1004683 [details]
File: ifcfg.log

Comment 11 pavel.nedr 2015-03-20 22:40:50 UTC
It's happen when I choose luks encryption. Without it all works fine.

Comment 12 Steven Kelbley 2015-03-27 19:52:08 UTC
Another user experienced a similar problem:

Installing overtop Fedora 21's LVM, trying to format root, /boot and swap while keeping /home. 

cmdline:        /usr/bin/python2  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-KDE-x86_64-22_A-3 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
hashmarkername: anaconda
kernel:         4.0.0-0.rc1.git0.1.fc22.x86_64
other involved packages: python-blivet-1.0-1.fc22.noarch, python-libs-2.7.9-5.fc22.x86_64
package:        anaconda-core-22.20.2-1.fc22.x86_64
packaging.log:  
product:        Fedora"
reason:         FormatCreateError: ('invalid device specification', '/dev/mapper/fedora-swap')
release:        Fedora release 22 (Twenty Two)
version:        Fedora

Comment 13 mulhern 2015-03-30 12:29:12 UTC

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