Actions
Issue #4056
closedmodule information missing from errata search api
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.18.0
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 43
Quarter:
Description
-
create & sync a rpm repo with feed pointing to https://repos.fedorapeople.org/pulp/pulp/fixtures/rpm-with-modules
-
Notice that the update info has an errata with some modules in it.
-
Run the following. Replace 77f1e927-1286-4b8d-8e64-c88e8911e094 with your repo id
$ curl -i -k -u admin:admin -H "Content-Type: application/json" -X POST -d '{"criteria": {"type_ids":["erratum"]}}' https://localhost/pulp/api/v2/repositories/77f1e927-1286-4b8d-8e64-c88e8911e094/search/units/
Notice that module information is missing from here. This is essential for indexing content in katello.
$ rpm -qa|grep pulp
python-pulp-deb-common-1.8.0-0.3.beta.el7.noarch
python-pulp-bindings-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
pulp-selinux-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
pulp-puppet-admin-extensions-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
python-pulp-puppet-common-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
pulp-nodes-admin-extensions-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
rubygem-smart_proxy_pulp-1.3.0-1.el7.noarch
python-pulp-ostree-common-1.3.1-0.1.beta.el7.noarch
pulp-deb-plugins-1.8.0-0.3.beta.el7.noarch
python-pulp-docker-common-3.3.0-0.1.beta.git.93.d98e730.el7.noarch
python-pulp-client-lib-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
pulp-nodes-common-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
pulp-puppet-plugins-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
pulp-rpm-admin-extensions-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
pulp-python-admin-extensions-2.0.3-1.el7.noarch
pulp-deb-admin-extensions-1.8.0-0.3.beta.el7.noarch
python-pulp-repoauth-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
python-pulp-oid_validation-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
pulp-server-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
pulp-rpm-plugins-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
pulp-docker-admin-extensions-3.3.0-0.1.beta.git.93.d98e730.el7.noarch
pulp-katello-1.0.2-1.el7.noarch
python-pulp-python-common-2.0.3-1.el7.noarch
pulp-ostree-plugins-1.3.1-0.1.beta.el7.noarch
pulp-ostree-admin-extensions-1.3.1-0.1.beta.el7.noarch
python-pulp-rpm-common-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
pulp-docker-plugins-3.3.0-0.1.beta.git.93.d98e730.el7.noarch
pulp-client-1.0-1.noarch
python-pulp-common-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
pulp-admin-client-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
python-pulp-streamer-2.18.0-0.1.beta.git.93.d98e730.el7.noarch
Related issues
Actions
Expose module info thru the Errata serializer
The Errata serializer used Errata.get_unique_pkglists() that wouldn't provide module data due to aggregation. This patch introduces a custom aggregation in the Errata serializer that provides the module data.
Fixes: #4056 https://pulp.plan.io/issues/4056