Bug 1116515 - FormatCreateError: ('invalid device specification', '/dev/sda1')
Summary: FormatCreateError: ('invalid device specification', '/dev/sda1')
Keywords:
Status: CLOSED EOL
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:88db1415f286335dfe19b51e67c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-05 16:03 UTC by Sam Tygier
Modified: 2016-07-19 11:54 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-19 11:54:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.01 MB, text/plain)
2014-07-05 16:03 UTC, Sam Tygier
no flags Details
File: anaconda.log (25.67 KB, text/plain)
2014-07-05 16:03 UTC, Sam Tygier
no flags Details
File: environ (458 bytes, text/plain)
2014-07-05 16:03 UTC, Sam Tygier
no flags Details
File: lsblk_output (1.65 KB, text/plain)
2014-07-05 16:03 UTC, Sam Tygier
no flags Details
File: nmcli_dev_list (1.42 KB, text/plain)
2014-07-05 16:03 UTC, Sam Tygier
no flags Details
File: os_info (381 bytes, text/plain)
2014-07-05 16:03 UTC, Sam Tygier
no flags Details
File: program.log (29.81 KB, text/plain)
2014-07-05 16:03 UTC, Sam Tygier
no flags Details
File: storage.log (432.46 KB, text/plain)
2014-07-05 16:03 UTC, Sam Tygier
no flags Details
File: syslog (104.25 KB, text/plain)
2014-07-05 16:03 UTC, Sam Tygier
no flags Details
File: ifcfg.log (1.93 KB, text/plain)
2014-07-05 16:03 UTC, Sam Tygier
no flags Details
File: packaging.log (375.30 KB, text/plain)
2014-07-05 16:03 UTC, Sam Tygier
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1118150 0 unspecified CLOSED FormatCreateError: ('invalid device specification', '/dev/sdb3') non-existent mdmember 2021-02-22 00:41:40 UTC

Internal Links: 1118150

Description Sam Tygier 2014-07-05 16:03:09 UTC
Description of problem:
while setting the root password during install

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

The following was filed automatically by anaconda:
anaconda 21.46-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/formats/__init__.py", line 392, in create
    raise FormatCreateError("invalid device specification", self.device)
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 554, in execute
    options=self.device.formatArgs)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 354, in processActions
    action.execute()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 357, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 216, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 179, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  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:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-rawhide-x86-64 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.16.0-0.rc3.git2.1.fc21.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        rawhide

Comment 1 Sam Tygier 2014-07-05 16:03:15 UTC
Created attachment 914826 [details]
File: anaconda-tb

Comment 2 Sam Tygier 2014-07-05 16:03:17 UTC
Created attachment 914827 [details]
File: anaconda.log

Comment 3 Sam Tygier 2014-07-05 16:03:19 UTC
Created attachment 914828 [details]
File: environ

Comment 4 Sam Tygier 2014-07-05 16:03:21 UTC
Created attachment 914829 [details]
File: lsblk_output

Comment 5 Sam Tygier 2014-07-05 16:03:23 UTC
Created attachment 914830 [details]
File: nmcli_dev_list

Comment 6 Sam Tygier 2014-07-05 16:03:24 UTC
Created attachment 914831 [details]
File: os_info

Comment 7 Sam Tygier 2014-07-05 16:03:26 UTC
Created attachment 914832 [details]
File: program.log

Comment 8 Sam Tygier 2014-07-05 16:03:29 UTC
Created attachment 914833 [details]
File: storage.log

Comment 9 Sam Tygier 2014-07-05 16:03:32 UTC
Created attachment 914834 [details]
File: syslog

Comment 10 Sam Tygier 2014-07-05 16:03:34 UTC
Created attachment 914835 [details]
File: ifcfg.log

Comment 11 Sam Tygier 2014-07-05 16:03:36 UTC
Created attachment 914836 [details]
File: packaging.log

Comment 12 Chris Murphy 2014-07-10 04:56:36 UTC
Another user experienced a similar problem:

Device type RAID > raid1, for /boot/efi, /boot, and /. Standard partition for swap. Click Begin install, crashes around the time it's creating disklabel on sdb.

cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-Workstation-x86_64-r ro rd.live.image quiet rhgb
hashmarkername: anaconda
kernel:         3.16.0-0.rc3.git2.1.fc21.x86_64
other involved packages: python-libs-2.7.7-2.fc21.x86_64, python-blivet-0.60-1.fc21.noarch
package:        anaconda-core-21.46-2.fc21.x86_64
packaging.log:  
product:        Fedora
reason:         FormatCreateError: ('invalid device specification', '/dev/sdb3')
release:        Fedora release 21 (Rawhide)
version:        rawhide

Comment 13 Chris Murphy 2014-07-10 05:01:53 UTC
I think these are different bugs, I'm going to file mine separately.

As reported in this bug, implies BIOS:
device: /dev/sda1
self: non-existent biosboot

Mine is UEFI and the failure was setting up mdadm member.
device: /dev/sdb3
self: non-existent mdmember

Comment 14 mulhern 2014-07-11 12:49:53 UTC
I believe that this is very closely related to bz#1118150 and may be a duplicate.

In both cases, the eventual exception is raised because the path for the partition does not exist, and for no other reason.

In both cases, the problem seems to have nothing to do with the ordering of the actions, so must have something to do with their content.

Comment 15 Jaroslav Reznik 2015-03-03 16:06:19 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 17 Fedora End Of Life 2016-07-19 11:54:00 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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