Actions
Issue #7116
closedModules in errata not exposed by pulp3
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 77
Quarter:
Description
- Sync the appstream repo
- Get the errata reference associated to errata_id = RHBA-2019:1530 or any other modular errata
- run (make sure to update the errata id)
curl https://`hostname`/pulp/api/v3/content/rpm/advisories/9ff192a4-906f-4efd-ba29-55222eead0d8/ --cert
/etc/pki/katello/certs/pulp-client.crt --key /etc/pki/katello/private/pulp-client.key | jq
- Look for pkglist attribute
Expected: pkglist has both module references and package references.
Actual: Notice that module entries are missing from the package list
Additional Info:
RHBA-2019:1530 is an errata that has the following module in its package list
<update status="final" from="release-engineering@redhat.com" version="1" type="bugfix">
<id>RHBA-2019:1530</id>
......
<pkglist>
<collection short="rhel-8-for-x86_64-appstream-rpms__8_1_virt">
<name>rhel-8-for-x86_64-appstream-rpms__8_1_virt</name>
<module stream="rhel" version="8000020190529063309" arch="x86_64" name="virt" context="55190bc5" />
........
</update>
Yet pulp does not show me any module name in the custom json
Updated by jsherril@redhat.com over 4 years ago
- Priority changed from Normal to High
- Tags Katello added
Updated by ttereshc over 4 years ago
- Priority changed from High to Urgent
- Triaged changed from No to Yes
Updated by ttereshc over 4 years ago
it does look like this information exists[0] but is not being exposed in the API[1]. I'd suggest filing a bug.
[0] https://github.com/pulp/pulp_rpm/blob/33c80a8aad2bdc35bca86b259f640de48a08de57/pulp_rpm/app/models/advisory.py#L250 [1] https://github.com/pulp/pulp_rpm/blob/33c80a8aad2bdc35bca86b259f640de48a08de57/pulp_rpm/app/serializers.py#L375-L399
David
Updated by ppicka over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ppicka
Updated by pulpbot over 4 years ago
- Status changed from ASSIGNED to POST
Updated by ppicka over 4 years ago
Tested to sync, upload with and without module "key" in custom json. All works now.
Added by ppicka over 4 years ago
Updated by ppicka over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset 62bc5881f07b1ce9c7f3d1ab466bfd1d03a2d9e5.
Updated by ttereshc over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Modular info on advisories
Modular info on advisories collections exposed.
[nocoverage]
closes: #7116 https://pulp.plan.io/issues/7116