Bug 1202124 - FormatCreateError: ('invalid device specification', '/dev/mapper/rootvg-swap')
Summary: FormatCreateError: ('invalid device specification', '/dev/mapper/rootvg-swap')
Keywords:
Status: CLOSED DUPLICATE of bug 1196397
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:db093ea1d0026324749eab470e0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-15 17:13 UTC by Pavel Zhukov
Modified: 2015-03-19 12:35 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 12:35:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (624.68 KB, text/plain)
2015-03-15 17:13 UTC, Pavel Zhukov
no flags Details
File: anaconda.log (43.67 KB, text/plain)
2015-03-15 17:13 UTC, Pavel Zhukov
no flags Details
File: dnf.log (31.99 KB, text/plain)
2015-03-15 17:13 UTC, Pavel Zhukov
no flags Details
File: dnf.rpm.log (147 bytes, text/plain)
2015-03-15 17:14 UTC, Pavel Zhukov
no flags Details
File: environ (492 bytes, text/plain)
2015-03-15 17:14 UTC, Pavel Zhukov
no flags Details
File: lsblk_output (1.52 KB, text/plain)
2015-03-15 17:14 UTC, Pavel Zhukov
no flags Details
File: nmcli_dev_list (1.35 KB, text/plain)
2015-03-15 17:14 UTC, Pavel Zhukov
no flags Details
File: os_info (443 bytes, text/plain)
2015-03-15 17:14 UTC, Pavel Zhukov
no flags Details
File: storage.log (128.40 KB, text/plain)
2015-03-15 17:14 UTC, Pavel Zhukov
no flags Details
File: syslog (118.29 KB, text/plain)
2015-03-15 17:14 UTC, Pavel Zhukov
no flags Details
File: ifcfg.log (2.43 KB, text/plain)
2015-03-15 17:14 UTC, Pavel Zhukov
no flags Details
File: packaging.log (3.74 KB, text/plain)
2015-03-15 17:14 UTC, Pavel Zhukov
no flags Details
File: program.log (38.65 KB, application/octet-stream)
2015-03-15 17:14 UTC, Pavel Zhukov
no flags Details

Description Pavel Zhukov 2015-03-15 17:13:50 UTC
Description of problem:
Use existing partions (reformatting)

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

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', '/dev/mapper/rootvg-swap')

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python2  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-WS-22_A-x86_64 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.0.0-0.rc1.git0.1.fc22.x86_64
product:        Fedora"
release:        Cannot get release name.
type:           anaconda
version:        Fedora

Comment 1 Pavel Zhukov 2015-03-15 17:13:55 UTC
Created attachment 1001999 [details]
File: anaconda-tb

Comment 2 Pavel Zhukov 2015-03-15 17:13:58 UTC
Created attachment 1002000 [details]
File: anaconda.log

Comment 3 Pavel Zhukov 2015-03-15 17:13:59 UTC
Created attachment 1002001 [details]
File: dnf.log

Comment 4 Pavel Zhukov 2015-03-15 17:14:01 UTC
Created attachment 1002002 [details]
File: dnf.rpm.log

Comment 5 Pavel Zhukov 2015-03-15 17:14:02 UTC
Created attachment 1002003 [details]
File: environ

Comment 6 Pavel Zhukov 2015-03-15 17:14:03 UTC
Created attachment 1002004 [details]
File: lsblk_output

Comment 7 Pavel Zhukov 2015-03-15 17:14:05 UTC
Created attachment 1002005 [details]
File: nmcli_dev_list

Comment 8 Pavel Zhukov 2015-03-15 17:14:06 UTC
Created attachment 1002006 [details]
File: os_info

Comment 9 Pavel Zhukov 2015-03-15 17:14:08 UTC
Created attachment 1002007 [details]
File: storage.log

Comment 10 Pavel Zhukov 2015-03-15 17:14:10 UTC
Created attachment 1002008 [details]
File: syslog

Comment 11 Pavel Zhukov 2015-03-15 17:14:12 UTC
Created attachment 1002009 [details]
File: ifcfg.log

Comment 12 Pavel Zhukov 2015-03-15 17:14:13 UTC
Created attachment 1002010 [details]
File: packaging.log

Comment 13 Pavel Zhukov 2015-03-15 17:14:15 UTC
Created attachment 1002011 [details]
File: program.log

Comment 14 davidzgumberg 2015-03-19 03:57:14 UTC
Another user experienced a similar problem:

Problem occurred while installing, the installer was hanging on "Preparing Install Environment" and none of the buttons were working, and then the "Force Quit / Wait" menu came up and I chose to wait. I connected to WiFi, and a few moments later ABRT came up asking me to report this error. 

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-WS-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 15 mulhern 2015-03-19 12:26:59 UTC
Note that the FormatCreateError is raised because os.path.exists('/dev/mapper/fedora-swap") is False. Tentatively reassigning to blivet.

Comment 16 mulhern 2015-03-19 12:35:24 UTC

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


Note You need to log in before you can comment on or make changes to this bug.