Red Hat Bugzilla – Bug 1258930
AttributeError: 'module' object has no attribute 'GROUP_DEFAULT'
Last modified: 2017-09-06 04:42:43 EDT
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.
These two commits should fix you up:
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.
This bug popped up in bug 1303741 again - Can someone rebuild livecd-tools with the correct patches?
*** Bug 1308513 has been marked as a duplicate of this bug. ***
livecd-tools-20.4-1.6.el7 which resolves this issue is available and tagged into rhel-7.3-build
Tomas, can you also do a RHEL 7.2 build?
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?
Probably the z-build.
But maybe Joey can help?
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