Network maintenance. Planio will be observing two scheduled maintenance windows this Tuesday, March 2 and Wednesday, March 3 from 02:00 UTC until 06:00 UTC each in order to perform maintenance on access routers in our primary datacenter. Your account might observe short downtimes during these periods up to several minutes at a time.
Issue #7116
Modules in errata not exposed by pulp3
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
Associated revisions
History
#1
Updated by jsherril@redhat.com 8 months ago
- Priority changed from Normal to High
- Tags Katello added
#4
Updated by ttereshc 8 months 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
#8
Updated by ppicka 8 months ago
- Status changed from POST to MODIFIED
Applied in changeset 62bc5881f07b1ce9c7f3d1ab466bfd1d03a2d9e5.
Please register to edit this issue
Modular info on advisories
Modular info on advisories collections exposed.
[nocoverage]
closes: #7116 https://pulp.plan.io/issues/7116