Red Hat Bugzilla – 1723590 – Copy-filtering on module-stream, which contain artifacts referenced by other streams, can result in all streams ending up in destination
Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Module Streams not copying correctly with recursive and recursive_conservative options which affect our content view depsolving
1) Create and sync the following yum repo (Source) -> https://partha.fedorapeople.org/test-repos/pteradactyl/
2) Create another repo Dest which will serve as the destination repo
3) Go to mongo and pick up a uuid for the pteradactly:2 module stream. This stream will be copied from source to dest .
4) run the following command
"""
https://<fqdn>/pulp/api/v2/repositories/Dest/actions/associate/: {"source_repo_id":"Source","criteria":{"type_ids":["modulemd"],"filters":{"association":{"unit_id":{"$in":[<$MODULE UUID>]}}}},"override_config":{"recursive":true}}: {"content_type"=>"application/json", "accept"=>"application/json"}
"""
5) pulp-admin rpm repo list. Check for the number of module mds copied over by the above call.
Expected:
With recursive set to true pteradactly:2 and packages belonging to that get copied over
Actual:
All the pteradactyl module streams gets copied over
Behavior is similar for recursive conservative
Comment 3pulp-infra@redhat.com
2019-06-24 21:34:15 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
Comment 4pulp-infra@redhat.com
2019-06-24 21:34:16 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.
Comment 5pulp-infra@redhat.com
2019-06-24 21:34:21 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
Comment 6pulp-infra@redhat.com
2019-06-24 21:34:22 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.
Comment 9pulp-infra@redhat.com
2019-07-17 20:01:54 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
Comment 10pulp-infra@redhat.com
2019-07-17 21:32:03 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
Comment 11pulp-infra@redhat.com
2019-09-04 14:02:22 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
Comment 12pulp-infra@redhat.com
2019-09-04 14:02:23 UTC
The Pulp upstream bug priority is at Low. Updating the external tracker on this bug.
Comment 13pulp-infra@redhat.com
2019-09-13 14:16:09 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
Comment 19pulp-infra@redhat.com
2020-11-05 17:05:29 UTC
The Pulp upstream bug status is at CLOSED - WONTFIX. Updating the external tracker on this bug.