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:
Fixed in upstream spacewalk git by commit 532fc4bac274825917bd80b7a06142357261c445 reindent for blocks commit 25172146d0d9d5e142836feab477cd2cf119fb5e 1692383 - import packages from all collections not just first one
Backported to SATELLITE-5.8 as commit cc06564f16c9faf53169a3846a1c8310c73425ee reindent for blocks commit 1c79210e3c5c531da7ac1ca474cea3518343a88b 1692383 - import packages from all collections not just first one
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
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