Bug 1322497

Summary: Current Rawhide anaconda crashes on start with "ValueError: Namespace BlockDev not available"
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: python-blivetAssignee: Blivet Maintenance Team <blivet-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: blivet-maint-list, bruno, robatino, satellitgo
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: AcceptedBlocker
Fixed In Version: python-blivet-2.0.1-3.fc25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-24 23:41:23 UTC Type: Bug
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: 1277284    

Description Adam Williamson 2016-03-30 15:04:43 UTC
Hi folks! Today's openQA Rawhide tests all failed due to anaconda blowing up on startup. Crash is sufficiently early that the crash reporter doesn't kick in, so I'll re-type part of the trace:

File "/usr/lib/python3.5/site-packages/blivet/util.py", line 25, in <module>
  gi.require_version("BlockDev", "1.0")
File "/usr/lib64/python3.5/site-packages/gi/__init__.py", line 102, in require_version
  raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace BlockDev not available

This is new since yesterday: Fedora-Rawhide-20160330.n.0 is affected, Fedora-Rawhide-20160329.n.0 was not. libblockdev appears to be the same in both composes (1.5-1), blivet went from 1.19-1 to 2.0.1-2, so that's the obvious suspect.

This is an automatic F25 Alpha blocker per https://fedoraproject.org/wiki/QA:SOP_blocker_bug_process#Automatic_blockers , "Complete failure of any release-blocking TC/RC image to boot at all under any circumstance - "DOA" image (conditional failure is not an automatic blocker)" (it makes all install images DOA).

Comment 1 David Lehman 2016-03-30 15:14:48 UTC
FWIW that same line appears in the version of blivet that was in rawhide yesterday, too.

Comment 2 Adam Williamson 2016-03-30 15:16:07 UTC
did a dependency get dropped from the package, perhaps?

Comment 3 Adam Williamson 2016-03-30 15:19:40 UTC
Same bug broke live image compose:

https://kojipkgs.fedoraproject.org//work/tasks/5630/13505630/livemedia-out.log (that's the x86_64 Workstation live compose attempt for Fedora-Rawhide-20160330.n.0 )

Comment 4 Adam Williamson 2016-03-30 15:23:22 UTC
Yeah, it may be a dependency issue. Here's the 20160329 Workstation compose (which succeeded):

http://koji.fedoraproject.org/koji/taskinfo?taskID=13492373
https://kojipkgs.fedoraproject.org//work/tasks/2373/13492373/root.log

Here's the failed 20160330:

http://koji.fedoraproject.org/koji/taskinfo?taskID=13505630
https://kojipkgs.fedoraproject.org//work/tasks/5630/13505630/root.log

note particularly the root.log logs (linked above). In 20160329, python3-blockdev is installed. In 20160330, it is not.

Comment 5 David Lehman 2016-03-30 15:57:44 UTC
Should be fixed in the next compose by this new build:

 http://koji.fedoraproject.org/koji/buildinfo?buildID=750001


When I adjusted the subpackages in python-blivet.spec I didn't make the required corresponding adjustments to the Requires.

Comment 6 Adam Williamson 2016-06-24 23:41:23 UTC
Yeah, this is obviously OK by now.