Bug 1080164

Summary: Live image creation broken in Rawhide (Fedora 21) since pykickstart 1.99.52
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: livecd-toolsAssignee: Brian Lane <bcl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: adam.stokes, bcl, bruno, dhuff, Jasper.Hartline, katzj, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard: AcceptedBlocker
Fixed In Version: livecd-tools-21.0-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-28 19:10:30 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: 1043119    

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.