Bug 852240 - yum doesn't merge/generate comps environment data
Summary: yum doesn't merge/generate comps environment data
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Packaging Toolset Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedBlocker
: 852050 (view as bug list)
Depends On:
Blocks: F18Alpha, F18AlphaBlocker F18Alphappc
TreeView+ depends on / blocked
 
Reported: 2012-08-28 01:04 UTC by Jesse Keating
Modified: 2014-01-21 23:23 UTC (History)
12 users (show)

Fixed In Version: yum-3.4.3-36.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-31 06:45:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jesse Keating 2012-08-28 01:04:49 UTC
New comps metadata exists, environment.  Pungi does not appear to take this metadata into account and merge it into the comps it uses for group metadata for it's compose (and in particular the DVD).  This leads to a blank software spoke.

Comment 1 Jesse Keating 2012-08-28 01:05:29 UTC
Also note that if there is a blank software selection spoke, the spoke is considered "incomplete", which means installation cannot proceed.

Comment 2 Adam Williamson 2012-08-28 01:07:43 UTC
Proposing as Alpha blocker: this violates criterion "When booting from a DVD ISO image, the installer must be able to use the DVD local package source options".

Comment 3 Jesse Keating 2012-08-28 19:36:22 UTC
Tracked this down to a yum issue, patch generated and submitted.  http://lists.baseurl.org/pipermail/yum-devel/2012-August/009536.html

Comment 4 Jesse Keating 2012-08-29 16:30:43 UTC
*** Bug 852050 has been marked as a duplicate of this bug. ***

Comment 5 Adam Williamson 2012-08-29 16:33:13 UTC
Discussed at 2012-08-29 blocker review meeting. Accepted as a blocker per criterion "When booting from a DVD ISO image, the installer must be able to use the DVD local package source options".

Comment 6 Bill Nottingham 2012-08-29 21:46:34 UTC
This does raise another question - where does this merged comps file end up? Is it also dropping all anaconda whitelist/blacklist, and langpack info?

Comment 7 Jesse Keating 2012-08-29 21:59:56 UTC
(In reply to comment #6)
> This does raise another question - where does this merged comps file end up?
> Is it also dropping all anaconda whitelist/blacklist, and langpack info?

The merged comps gets written out and used to generate the repodata on the DVD and in the Fedora/os/ directory created by the pungi run.

I have no idea about the whitelist/blacklist or langpack data.  Is there examples of this in the comps file in git?

Comment 8 Bill Nottingham 2012-08-30 07:19:16 UTC
See the 'langpacks', 'whiteout', and 'blacklist' sections at the end of comps-XYZ.xml(.in). And yes, I've confirmed they are missing in the 'Fedora' tree (and presumably the DVD) while existing in the 'Everything' tree.

Comment 9 Fedora Update System 2012-08-30 14:52:31 UTC
yum-3.4.3-39.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2012-12900/yum-3.4.3-39.fc18

Comment 10 Jesse Keating 2012-08-30 15:39:53 UTC
(In reply to comment #8)
> See the 'langpacks', 'whiteout', and 'blacklist' sections at the end of
> comps-XYZ.xml(.in). And yes, I've confirmed they are missing in the 'Fedora'
> tree (and presumably the DVD) while existing in the 'Everything' tree.

So the fix for getting environment stuff was in yum itself, in the comps.py Comps.write() method.  Most the wiring was there for it, just needed to be hooked up.  Question is, does the wiring exist for the other items, or is this going to be a much bigger task...

A quick git grep shows that yum doesn't really have much info at all on langpack, whiteout, or blacklist, at least in relation to comps.  Time for a new bug I guess.

Comment 11 Fedora Update System 2012-08-31 06:45:09 UTC
yum-3.4.3-40.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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