Bug 1258930

Summary: AttributeError: 'module' object has no attribute 'GROUP_DEFAULT'
Product: Red Hat Enterprise Linux 7 Reporter: Joey Boggs <jboggs>
Component: relengAssignee: Jan Blazek <jblazek>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 7.2CC: bmcclain, clumens, dfediuck, dougsland, fdeutsch, jboggs, lkocman, mbanas, mkalinin, rjones, tmlcoch, ycui
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-09 13:12:22 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: 1172230, 1303741    

Comment 1 Chris Lumens 2015-09-01 14:36:33 UTC
I don't know what package includes livecd-creator in RHEL7, but it'll need to be updated for the pykickstart rebase.  GROUP_DEFAULT has always been in pykickstart.constants, but sloppy importing allowed people to do things like use pykickstart.parser.GROUP_DEFAULT.  In particular, I got rid of wildcard imports and started using __all__ in various places.  The much more recent version of pykickstart in RHEL7 now is stricter about its imports, so you'll need to grab that constant from its real location.

Comment 10 David Cantrell 2016-01-25 16:48:14 UTC
Per comments #5 and #9, I am closing this bug.  It's not a bug in pykickstart.  There are changes (see #5) that need to go in to livecd-tools.  I would reassign the bug to livecd-tools, but that component does not exist for RHEL-7 in Bugzilla.

Comment 11 Fabian Deutsch 2016-02-02 08:43:51 UTC
This bug popped up in bug 1303741 again - Can someone rebuild livecd-tools with the correct patches?

Comment 14 Tomas Mlcoch 2016-02-15 12:47:28 UTC
*** Bug 1308513 has been marked as a duplicate of this bug. ***

Comment 16 Tomas Mlcoch 2016-02-16 10:50:12 UTC
livecd-tools-20.4-1.6.el7 which resolves this issue is available and tagged into rhel-7.3-build

https://brewweb.devel.redhat.com/buildinfo?buildID=480542

Comment 17 Fabian Deutsch 2016-02-16 12:18:48 UTC
Tomas, can you also do a RHEL 7.2 build?

Comment 19 Tomas Mlcoch 2016-02-16 15:27:13 UTC
Fabian, I'm not RHEL-7 releng so I wanted to avoid do any retrospective changes in RHEL-7.2.
What exactly do you need? Do you want the package in rhel-7.2-build or in rhel-7.2-z-build or in both and why do you need it?

Comment 20 Marina Kalinin 2016-02-16 20:56:09 UTC
Probably the z-build. 
But maybe Joey can help?

Comment 22 Lubos Kocman 2017-09-06 08:42:43 UTC
Just to note thatwe'll ship this as part of buildroot-only in https://errata.devel.redhat.com/advisory/30070

This is blocking virt-p2v and we'll no longer have to set overrides

Lubos