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 1080164 - Live image creation broken in Rawhide (Fedora 21) since pykickstart 1.99.52
Summary: Live image creation broken in Rawhide (Fedora 21) since pykickstart 1.99.52
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: rawhide
Hardware: All
OS: All
unspecified
urgent
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F21AlphaBlocker
TreeView+ depends on / blocked
 
Reported: 2014-03-24 19:37 UTC by Adam Williamson
Modified: 2014-03-28 19:10 UTC (History)
7 users (show)

Fixed In Version: livecd-tools-21.0-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-28 19:10:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2014-03-24 19:37:12 UTC
pykickstart 1.99.52 tightened up on wildcard imports, so some incorrect code in python-imgcreate doesn't slip through any more, and trying to create a live image crashes almost instantly:

File "/usr/lib/python2.7/site-packages/imgcreate/yuminst.py", line 139, in LiveCDYum
    def selectGroup(self, grp, include = pykickstart.parser.GROUP_DEFAULT):
AttributeError: 'module' object has no attribute 'GROUP_DEFAULT'

This is an automatic Alpha blocker, per criterion "All release-blocking images must boot in their supported configurations." - https://fedoraproject.org/wiki/Fedora_20_Alpha_Release_Criteria#Release-blocking_images_must_boot - (as it prevents two of the release-blocking images from being created at all) and the automatic blocker policy - https://fedoraproject.org/wiki/QA:SOP_blocker_bug_process#Automatic_blockers - "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".

Comment 1 Adam Williamson 2014-03-24 19:40:53 UTC
the actual bug here is that python-imgcreate looks for several things in pykickstart.parser that are actually in pykickstart.constants . There are three in yuminst.py and two in kickstart.py (look for 'ksparser' there).

Comment 2 Adam Williamson 2014-03-26 21:10:38 UTC
Fixes have been committed to upstream git now, just needs a package build.

Comment 3 Adam Williamson 2014-03-28 19:10:30 UTC
We got nightly lives last night. ergo, this is fixed.


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