Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1543194 - Livemedia creation failing due to KeyError
Summary: Livemedia creation failing due to KeyError
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pykickstart
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vendula Poncova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F28BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2018-02-07 23:57 UTC by Patrick Uiterwijk
Modified: 2018-03-05 16:54 UTC (History)
15 users (show)

Fixed In Version: pykickstart-3.11-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-05 16:54:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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