Bug 1109244
Summary: | FormatCreateError: ('invalid device specification', '/dev/sda1') | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | satellitgo | ||||||||||||||||||||||
Component: | python-blivet | Assignee: | David Lehman <dlehman> | ||||||||||||||||||||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||
Priority: | unspecified | ||||||||||||||||||||||||
Version: | 22 | CC: | aj.werkman, amulhern, anaconda-maint-list, awilliam, bcl, bugzilla, dlehman, g.kaviyarasu, gustavold, hamzy, iliketurtlesbro, jcajka, jonathan, normand, orti1980, pschindl, rshendershot, rvokal, vanmeeuwen+fedora, vpodzime | ||||||||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||
Hardware: | x86_64 | ||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||
Whiteboard: | abrt_hash:f565c3653935ae7d8b2e72c088da86178bce254f8e7c26539042c58b7b35faeb | ||||||||||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||
Last Closed: | 2016-07-19 11:47:47 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: | |||||||||||||||||||||||||
Bug Depends On: | |||||||||||||||||||||||||
Bug Blocks: | 1140359, 1146697 | ||||||||||||||||||||||||
Attachments: |
|
Description
satellitgo
2014-06-13 13:22:50 UTC
Created attachment 908573 [details]
File: anaconda-tb
Created attachment 908574 [details]
File: anaconda.log
Created attachment 908575 [details]
File: environ
Created attachment 908576 [details]
File: journalctl
Created attachment 908577 [details]
File: lsblk_output
Created attachment 908578 [details]
File: nmcli_dev_list
Created attachment 908579 [details]
File: os_info
Created attachment 908580 [details]
File: program.log
Created attachment 908581 [details]
File: storage.log
Created attachment 908582 [details]
File: ifcfg.log
Another user experienced a similar problem: custom partitioning ext4 std workstation in VB x86_64 live 20140613 cmdline: /usr/bin/python /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base cmdline_file: BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Workstation-x86_64-r rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 hashmarkername: anaconda kernel: 3.16.0-0.rc0.git5.1.fc21.x86_64 other involved packages: python-blivet-0.56-1.fc21.noarch, python-libs-2.7.7-2.fc21.x86_64 package: anaconda-core-21.42-1.fc21.x86_64 packaging.log: product: Fedora reason: FormatCreateError: ('invalid device specification', '/dev/sda3') release: Fedora release 21 (Rawhide) version: rawhide We successfully create sda1, run wipefs on it, commit the new flags, then the device node isn't there when we try to run mkfs on it. I think parted closing the device triggers udev to remove and then re-create all of the partitions' device nodes, and it isn't done by the time we run mkfs. Simple fix. *** Bug 1109148 has been marked as a duplicate of this bug. *** *** Bug 1109914 has been marked as a duplicate of this bug. *** *** Bug 1109565 has been marked as a duplicate of this bug. *** Another user experienced a similar problem: try to install to Virtualbox failed in formatting prior to display of user and root screens cmdline: /usr/bin/python /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base cmdline_file: BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Workstation-x86_64-r rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 hashmarkername: anaconda kernel: 3.16.0-0.rc1.git1.1.fc21.x86_64 other involved packages: python-blivet-0.56-1.fc21.noarch, python-libs-2.7.7-2.fc21.x86_64 package: anaconda-core-21.42-1.fc21.x86_64 packaging.log: product: Fedora reason: FormatCreateError: ('invalid device specification', '/dev/sda1') release: Fedora release 21 (Rawhide) version: rawhide Another user experienced a similar problem: wireless is not available in NetworkManager comps (Networkmanager--wifi) Boot.iso 20140626 cmdline: /usr/bin/python /sbin/anaconda cmdline_file: BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x20rawhide\x20x86_64 quiet hashmarkername: anaconda kernel: 3.16.0-0.rc2.git2.1.fc21.x86_64 package: anaconda-21.44-1 product: Fedora reason: FormatCreateError: ('invalid device specification', '/dev/sdb1') release: Cannot get release name. version: rawhide Another user experienced a similar problem: Plain installation from a mirror cmdline: /usr/bin/python /sbin/anaconda cmdline_file: BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:UUID=7d4f063c-b453-4b6d-813c-7bc4dcf07d1b hashmarkername: anaconda kernel: 3.16.0-0.rc2.git2.1.fc21.x86_64 package: anaconda-21.44-1 product: Fedora reason: FormatCreateError: ('invalid device specification', '/dev/sda5') release: Cannot get release name. version: rawhide Another user experienced a similar problem: I followed defaults. On installation destination I reclaimed the whole disk to use for installation. cmdline: /usr/bin/python /sbin/anaconda cmdline_file: BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora\x20rawhide\x20x86_64 quiet hashmarkername: anaconda kernel: 3.16.0-0.rc2.git4.1.fc21.x86_64 package: anaconda-21.45-1 product: Fedora reason: FormatCreateError: ('invalid device specification', '/dev/sda2') release: Cannot get release name. version: rawhide Another user experienced a similar problem: performing a normal fedora install, no special configurations . cmdline: /usr/bin/python /sbin/anaconda cmdline_file: BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora\x20rawhide\x20x86_64 quiet hashmarkername: anaconda kernel: 3.16.0-0.rc2.git4.1.fc21.x86_64 package: anaconda-21.45-1 product: Fedora reason: FormatCreateError: ('invalid device specification', '/dev/sdb2') release: Cannot get release name. version: rawhide I have prepared an updates image containing a possible fix. To test the update, add the following to the boot command line: inst.updates=http://dlehman.fedorapeople.org/updates/updates-1109244.0.img Please provide feedback after testing. Thanks. Uploaded http://dlehman.fedorapeople.org/updates/updates-1109244.1.img for use with python-blivet-0.61-1 and later. updates-1109244.1.img does make it work reliably. However, I've thus far been unable to reproduce the original problems with unpatched 20140820 (yesterday's) Fedora-Live-Workstation build. Has the problem been fixed elsewhere? The problems were rather non-determinstic so it's possible I just haven't stumbled on it again. *** Bug 1120947 has been marked as a duplicate of this bug. *** *** Bug 1150023 has been marked as a duplicate of this bug. *** *** Bug 1120899 has been marked as a duplicate of this bug. *** we still have similar problem with ppc64 fc21 Alpha RC2 as reported by bug #1153346 and bug #1153657, are there really dups of this bug #1109244 ? 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. Adam, Ppc uses http://ppc.koji.fedoraproject.org/mash/bleed/python-blivet-0.61.5-1.fc21.noarch.rpm for its RC2. Which is not compatible with http://dlehman.fedorapeople.org/updates/updates-1109244.0.img We see: AttributeError: 'LVMLogicalVolumeDevice' object has no attribute 'singlePV' 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). With https://www.happyassassin.net/temp/blivet-1109244.img, I see: Traceback (most recent call first): File "/tmp/updates/blivet/devicetree.py", line 361, in processActions action.execute(callbacks) File "/tmp/updates/blivet/__init__.py", line 364, in doIt self.devicetree.processActions(callbacks) File "/tmp/updates/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) TypeError: execute() takes exactly 1 argument (2 given) Testing https://www.happyassassin.net/temp/blivet0615-1109244.img now... anaconda-21.48.11-1.fc21, python-blivet-0.61.6-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/python-blivet-0.61.6-1.fc21,anaconda-21.48.11-1.fc21 mark: did your test of my upgrades.img ever finish? regardless, if you build a new compose with the blivet from c#32 you should be able to see if this is resolved. Adam, https://www.happyassassin.net/temp/blivet0615-1109244.img does work for me. And hopefully the new compose will as well. Awesome news, thanks. Marking as VERIFIED. *** Bug 1153690 has been marked as a duplicate of this bug. *** anaconda-21.48.12-1.fc21, python-blivet-0.61.7-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/python-blivet-0.61.7-1.fc21,anaconda-21.48.12-1.fc21 *** Bug 1161280 has been marked as a duplicate of this bug. *** *** Bug 1153657 has been marked as a duplicate of this bug. *** as said in bug 1153657, the correction of comment 37 seems to be part of fc21 pre-GA TC1 iso and tested. *** Bug 1153346 has been marked as a duplicate of this bug. *** 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 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. |