Actions
Test #5320
closedModule Streams not copying correctly with recursive and recursive_conservative
Status:
CLOSED - WONTFIX
Priority:
High
Assignee:
-
Sprint/Milestone:
-
Version:
Platform Release:
Tags:
Pulp 2
Sprint:
Quarter:
Description
-
Create and sync the following yum repo (Source) -> https://partha.fedorapeople.org/test-repos/pteradactyl/
-
Create another repo Dest which will serve as the destination repo
-
Go to mongo and pick up a uuid for the pteradactly:2 module stream. This stream will be copied from source to dest .
-
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"}
-
pulp-admin rpm repo list. Check for the number of module mds copied over by the above call.
-
notice that with recursive set to true all the pteradactyl module streams gets copied over, instead of just pteradactly:2 and packages belonging to that
-
Behavior is similar for recursive conservative
Related issues
Actions