Bug 1692383 - Satellite imports only first collection from a modular erratum
Summary: Satellite imports only first collection from a modular erratum
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Satellite Synchronization
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: sat5-rhel8
TreeView+ depends on / blocked
 
Reported: 2019-03-25 13:30 UTC by Michael Mráka
Modified: 2019-06-19 18:11 UTC (History)
2 users (show)

Fixed In Version: spacewalk-backend-2.5.3-174-sat
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-19 18:11:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:1551 0 None None None 2019-06-19 18:11:18 UTC

Description Michael Mráka 2019-03-25 13:30:26 UTC
Description of problem:
If updateinfo.xml for modular channel (e.g. RHEL8) contains an erratum with multiple collections (multiple modules) only frist one is imported.

Version-Release number of selected component (if applicable):
spacewalk-backend-2.5.3-173.el6sat.noarch

How reproducible:
always

Steps to Reproduce:
1. copy a repo with modular content and updateinfo.xml to local disk
2. update one of erratum so it contains multiple <collection> elements
3. update repomd.xml with new checksums for updateinfo
4. sync repo with spaewalk-repo-sync into custom channel
5. verify in webUI channel > errata whether eaatum shows both collections and all packages 

Actual results:
only first collection (module) and its packages are shown

Expected results:
all collections and packages shown

Additional info:

Comment 1 Michael Mráka 2019-04-02 13:10:48 UTC
Fixed in upstream spacewalk git by
commit 532fc4bac274825917bd80b7a06142357261c445
    reindent for blocks
commit 25172146d0d9d5e142836feab477cd2cf119fb5e
    1692383 - import packages from all collections not just first one

Comment 3 Michael Mráka 2019-05-23 09:46:58 UTC
Backported to SATELLITE-5.8 as
commit cc06564f16c9faf53169a3846a1c8310c73425ee
    reindent for blocks
commit 1c79210e3c5c531da7ac1ca474cea3518343a88b
    1692383 - import packages from all collections not just first one

Comment 4 Radovan Drazny 2019-05-29 12:41:19 UTC
Reproduced the issue on spacewalk-backend-2.5.3-173 using the reproducer in the initial report. After update to spacewalk-backend-2.5.3-174, and sync of a repo with modular erratum and multiple package collections, all packages have been imported into the erratum in question.

VERIFIED

Comment 6 errata-xmlrpc 2019-06-19 18:11:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:1551


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