Bug 1723590 - Copy-filtering on module-stream, which contain artifacts referenced by other streams, can result in all streams ending up in destination
Summary: Copy-filtering on module-stream, which contain artifacts referenced by other ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.7.0
Assignee: satellite6-bugs
QA Contact: Brian Herring
URL:
Whiteboard:
Depends On:
Blocks: 1668052
TreeView+ depends on / blocked
 
Reported: 2019-06-24 21:25 UTC by Partha Aji
Modified: 2020-11-05 17:05 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-24 21:19:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 4693 0 Low CLOSED - WONTFIX Module Streams not copying correctly with recursive and recursive_conservative 2020-11-05 17:05:46 UTC

Description Partha Aji 2019-06-24 21:25:51 UTC
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 3 pulp-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 4 pulp-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 5 pulp-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 6 pulp-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 9 pulp-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 10 pulp-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 11 pulp-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 12 pulp-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 13 pulp-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 19 pulp-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.


Note You need to log in before you can comment on or make changes to this bug.