Bug 1200749 - FormatCreateError: ('invalid device specification', '/dev/mapper/fedora-root')
Summary: FormatCreateError: ('invalid device specification', '/dev/mapper/fedora-root')
Keywords:
Status: CLOSED DUPLICATE of bug 1196397
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3d28a45d6d282f6b609054cc505...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-11 10:28 UTC by Jan Jasper de Kroon
Modified: 2015-04-06 12:28 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-06 12:28:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (774.73 KB, text/plain)
2015-03-11 10:28 UTC, Jan Jasper de Kroon
no flags Details
File: anaconda.log (41.09 KB, text/plain)
2015-03-11 10:28 UTC, Jan Jasper de Kroon
no flags Details
File: environ (590 bytes, text/plain)
2015-03-11 10:28 UTC, Jan Jasper de Kroon
no flags Details
File: journalctl (363.92 KB, text/plain)
2015-03-11 10:28 UTC, Jan Jasper de Kroon
no flags Details
File: lsblk_output (4.00 KB, text/plain)
2015-03-11 10:28 UTC, Jan Jasper de Kroon
no flags Details
File: nmcli_dev_list (1.57 KB, text/plain)
2015-03-11 10:28 UTC, Jan Jasper de Kroon
no flags Details
File: os_info (443 bytes, text/plain)
2015-03-11 10:28 UTC, Jan Jasper de Kroon
no flags Details
File: program.log (80.70 KB, text/plain)
2015-03-11 10:28 UTC, Jan Jasper de Kroon
no flags Details
File: storage.log (238.99 KB, text/plain)
2015-03-11 10:28 UTC, Jan Jasper de Kroon
no flags Details
File: ifcfg.log (1005 bytes, text/plain)
2015-03-11 10:28 UTC, Jan Jasper de Kroon
no flags Details

Description Jan Jasper de Kroon 2015-03-11 10:28:36 UTC
Description of problem:
The error occurred in the "creating luks on /dev/mapper/fedora-root" step of the Fedora 22 Alpha installation.
I tried to install Fedora 22 Alpha, over a Fedora 21 Workstation installation, which was also LUKS encrypted with a passphrase.
In the start of the installer I chose for "Nederlands" (Dutch) as installer language, but I also experienced this with the English installer.
Upto the Fedora Installation drive detection, I simply follow the installer options without any problems.
When I have to choose a drive to install Fedora 22 Alpha onto, I tick the options to custom partition and to encrypt the harddrive again.
In the custom partitioning I first click on the encrypted harddrive, which I have to open up with my passphrase.
Once opened up, I can see the installer detects the Fedora 21 installation.
I choose to reformat almost all partitions, except the /home partition.
When I accept my partitioning changes, I have to give in the new encryption passphrase, which I choose similar as the old passphrase.
After accepting all changes, the installer starts to partition the new installation, and while busy the installer crashes with this error.

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/luks.py", line 225, 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/fedora-root')

Additional info:
cmdline:        /usr/bin/python2  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-WS-x86_64-22_A-3 ro rd.live.image quiet rhgb
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 Jan Jasper de Kroon 2015-03-11 10:28:41 UTC
Created attachment 1000336 [details]
File: anaconda-tb

Comment 2 Jan Jasper de Kroon 2015-03-11 10:28:43 UTC
Created attachment 1000337 [details]
File: anaconda.log

Comment 3 Jan Jasper de Kroon 2015-03-11 10:28:44 UTC
Created attachment 1000338 [details]
File: environ

Comment 4 Jan Jasper de Kroon 2015-03-11 10:28:47 UTC
Created attachment 1000339 [details]
File: journalctl

Comment 5 Jan Jasper de Kroon 2015-03-11 10:28:48 UTC
Created attachment 1000340 [details]
File: lsblk_output

Comment 6 Jan Jasper de Kroon 2015-03-11 10:28:49 UTC
Created attachment 1000341 [details]
File: nmcli_dev_list

Comment 7 Jan Jasper de Kroon 2015-03-11 10:28:50 UTC
Created attachment 1000342 [details]
File: os_info

Comment 8 Jan Jasper de Kroon 2015-03-11 10:28:52 UTC
Created attachment 1000343 [details]
File: program.log

Comment 9 Jan Jasper de Kroon 2015-03-11 10:28:54 UTC
Created attachment 1000344 [details]
File: storage.log

Comment 10 Jan Jasper de Kroon 2015-03-11 10:28:55 UTC
Created attachment 1000345 [details]
File: ifcfg.log

Comment 11 Chris Murphy 2015-03-13 20:57:18 UTC
This might also be a dup of bug 1196397.

Comment 12 Jan Jasper de Kroon 2015-03-15 12:02:20 UTC
I will test it today.
Currently I'm downloading the Fedora 22 Workstation Alpha again.
I will update the package suggested in bug 1196397, the python-blivet package, and try the installation process again.
Will report if the bug is fixed or not, and change the status accordingly.

Greetings Jasper

Comment 13 Jan Jasper de Kroon 2015-03-17 20:05:27 UTC
For some strange reason python-blivet doesn't appear in my updates list.
So I'm unable to test this solution.
Is this package still present in the latest updates-testing repositories.
Or do I have to check again regularly.

Greetings Jasper

Comment 14 Pierguido Lambri 2015-04-04 18:10:54 UTC
Another user experienced a similar problem:

Installing and configuring root password

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
hashmarkername: anaconda
kernel:         4.0.0-0.rc1.git0.1.fc22.x86_64
package:        anaconda-22.20.2-1
product:        Fedora"
reason:         FormatCreateError: ('invalid device specification', '/dev/mapper/fedora--workstation-root')
release:        Cannot get release name.
version:        Fedora

Comment 15 Chris Murphy 2015-04-04 18:54:01 UTC
Can you try this with Beta TC7 and report back?
http://dl.fedoraproject.org/pub/alt/stage/22_Beta_TC7/Workstation/x86_64/iso/

Comment 16 mulhern 2015-04-06 12:28:15 UTC
Looks like a duplicate. Different format, luks not swap, but same problem.

*** 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.