Issue #1366
closed
Advisory package list doesn't match packages in the repository
Status:
CLOSED - CURRENTRELEASE
Description
We have following situation, which is quite common in our releasing process:
Async errata contains multiple products and set of all packages for these products. Advisory is pushed into repositories related to the products and selected subset of packages from advisory is uploaded to the repository. However after after yum publish, generated updateinfo contains advisory with all packages even with those that are not in the repository. Therefore we need filter out packages of advisory that are not in the repository.
- Priority changed from Normal to High
- Triaged changed from No to Yes
- Version changed from 2.5 to 2.7.1
- Platform Release set to 2.8.1
There is a bit of similar functionality in the yum profiler. See pulp_rpm.plugins.profilers.yum.YumProfiler. Specifically the _get_rpms_from_errata and _translate_erratum functions.
- Status changed from NEW to ASSIGNED
- Assignee set to semyers
This looks like a duplicate of #1548. I'll let semyers confirm and decide which to close.
- Has duplicate Issue #1548: published errata contain packages not in repo added
Each issue is related to a different downstream bugzilla issue, so I'm keeping them both open and will ref them both in my commit message. I've linked the issues in Redmine, marking this one as the duplicate. My comments and progress can be followed over on #1548.
- Parent issue set to #1683
- Status changed from ASSIGNED to POST
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Status changed from MODIFIED to 5
- Status changed from 5 to 6
verified
[root@ibm-x3550m3-10 ~]# rpm -qa |grep pulp-server
pulp-server-2.8.1-0.1.beta.el7.noarch
- Status changed from 6 to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF
published updateinfo only contains units in repo
Errata units in Pulp contain all units in all repos that are linked to errata with the same id, which was resulting in published errata referencing packages that weren't actually available in the published repo. This limits packages in published errata updateinfo XML to only the packages that are contained in the published repo.
fixes #1366 https://pulp.plan.io/issues/1366
fixes #1548 https://pulp.plan.io/issues/1548