Bug 1543194

Summary: Livemedia creation failing due to KeyError
Product: [Fedora] Fedora Reporter: Patrick Uiterwijk <puiterwijk>
Component: pykickstartAssignee: Vendula Poncova <vponcova>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: anaconda-maint-list, awilliam, bcl, clumens, jkonecny, jonathan, kellin, mkolman, robatino, rvykydal, sbueno, vanmeeuwen+fedora, v.podzimek+fedora, vponcova, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedBlocker
Fixed In Version: pykickstart-3.11-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-05 16:54:17 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: 1469204    

Description Patrick Uiterwijk 2018-02-07 23:57:31 UTC
Description of problem:
Anaconda fails during LiveMedia creation with a KeyError.
DEBUG util.py:439:  2018-02-07 18:45:04,990: Traceback (most recent call last):
DEBUG util.py:439:  2018-02-07 18:45:04,990: File "/usr/sbin/anaconda", line 501, in <module>
DEBUG util.py:439:  2018-02-07 18:45:04,990: ksdata.logging.execute()
DEBUG util.py:439:  2018-02-07 18:45:04,990: File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 1153, in execute
DEBUG util.py:439:  2018-02-07 18:45:04,990: level = anaconda_logging.logLevelMap[self.level]
DEBUG util.py:439:  2018-02-07 18:45:04,990: KeyError: ''
DEBUG util.py:439:  2018-02-07 18:45:05,066: Running anaconda failed: process '['anaconda', '--kickstart', '/tmp/koji-image-f28-build-24805718.ks', '--cmdline', '--dirinstall', '--remotelog', '127.0.0.1:46667']' exited with status 1


Version-Release number of selected component (if applicable):
anaconda-28.19-1.fc28
pykickstart-3.10-1.fc28	

How reproducible:
Consistent


This seems to be the anaconda code at https://github.com/rhinstaller/anaconda/blob/master/pyanaconda/kickstart.py#L1153 not specifying a level for pykickstart at https://github.com/rhinstaller/pykickstart/blob/master/pykickstart/commands/logging.py#L36 .

One failed livemedia task would be at  https://koji.fedoraproject.org/koji/taskinfo?taskID=24805718, but all livemedia tasks of that rawhide compose run failed with the same KeyError.

Comment 1 Adam Williamson 2018-02-08 01:01:09 UTC
This is an automatic Beta blocker, as it prevents compose of two release-blocking images (the Workstation and KDE lives). "Bugs which entirely prevent the composition of one or more of the release-blocking images required to be built for a currently-pending (pre-)release" - https://fedoraproject.org/wiki/QA:SOP_blocker_bug_process#Automatic_blockers

Comment 2 Vendula Poncova 2018-02-08 14:02:48 UTC
Fixed in a pull request: https://github.com/rhinstaller/pykickstart/pull/208

Comment 3 Fedora End Of Life 2018-02-20 15:34:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 4 Adam Williamson 2018-03-05 16:54:17 UTC
This is clearly fixed, as we've had live images compose since.