Project

General

Profile

Bug #31256

copy contents and package groups

Added by James Jeffers over 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

While investigating a potential multi unit copy scenario, we observed that passing a package group to the copy content api results in every pacakge in that group also being copied.

{
    "config": [
        {
            "source_repo_version": "\/pulp\/api\/v3\/repositories\/rpm\/rpm\/879ab998-01f3-43e0-aa00-2bd6375fc274\/versions\/1\/",
            "dest_repo": "\/pulp\/api\/v3\/repositories\/rpm\/rpm\/c68645e9-2cbb-48d9-9bda-cb318a932363\/",
            "content": [
                "\/pulp\/api\/v3\/content\/rpm\/advisories\/0233659f-a793-4dd3-85ad-d768f0ca3488\/",
                "\/pulp\/api\/v3\/content\/rpm\/advisories\/83e50331-036d-411b-9dff-a1cee2b3289d\/",
                "\/pulp\/api\/v3\/content\/rpm\/advisories\/8e228cd5-a3fc-49dd-a80d-59fe25d939ce\/",
                "\/pulp\/api\/v3\/content\/rpm\/advisories\/f8e62889-104a-4b7b-8852-9aefc508aad9\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/086a6ecf-95cf-49e0-8645-ae68efeebf9a\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/0d6fff10-bf98-430a-abf9-38d83e1690ee\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/0d713854-2f8b-40f1-a752-53409cf7f68d\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/0f88fe62-b66c-4d88-989e-6d92376950f7\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/29355639-7b25-40e5-8f88-e741e1421f3d\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/2d603c64-295a-4370-b8bd-81a41ea6512b\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/316ba146-4a2c-4c66-825c-9e4399967ee4\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/3bf79c48-8baf-48f9-a9f1-5732ac55efd7\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/517da326-f843-4955-96cc-cca4f7f43084\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/5406832b-52ef-4deb-beb5-4933c08857ae\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/60d30624-9673-488b-838d-51293896d039\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/651d4569-eb99-4a72-b402-44c95fc07441\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/6cf6994d-a4bc-44db-a58c-56e0dc0d667f\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/80c81787-2cb1-40d6-ab80-dd52e4003a5e\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/8f426450-8db2-4766-bcd3-1dadd05b60bd\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/8f990699-6753-46e8-8cf5-41995500e1cb\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/9309d96f-4d8a-415d-99ae-ad75aa7d2883\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/961e9662-3e4f-4f80-b462-08910e5ef8f6\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/9758f833-1f3a-43d4-b862-f22d274aa6da\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/9be465c9-849c-4395-80f3-10392f2a3864\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/a2629e2b-0669-4a8c-a183-7de6bdbcd9c1\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/a6d3bc6d-2545-484b-a02c-037766d0eab5\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/a76f7828-2d05-4483-9bf0-80a5dad0cd2f\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/b14e4d22-b748-47f2-88d4-2625cbfb8970\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/b8e57711-2aa2-44a3-91a4-2b0d0ed6a558\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/b9edf362-8a68-4f30-9b7a-af8a94e63381\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/c875edbd-6b7e-4544-bcdd-4157a31aed96\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/cb8cda70-87b7-4c80-8929-2014dddbecfb\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/d7b8772e-4f85-4944-9954-fac3fdc6c316\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/f2676549-98c9-49d6-9b35-e2a991931e4c\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/fa2fdb39-2bc9-4efd-8e43-0009f1ea4d25\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/fcade225-0419-4868-9e90-5767ba519fbd\/" 
            ]
        },
        {
            "source_repo_version": "\/pulp\/api\/v3\/repositories\/rpm\/rpm\/7522a47f-a7b3-4084-b2d1-cabea23e83c8\/versions\/1\/",
            "dest_repo": "\/pulp\/api\/v3\/repositories\/rpm\/rpm\/0ee7d4c0-81b8-48c5-8369-03dd45cb0ee4\/",
            "content": [
                "\/pulp\/api\/v3\/content\/rpm\/packagegroups\/0787d24e-b54d-40b2-b819-46d7979a4751\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/5406832b-52ef-4deb-beb5-4933c08857ae\/",
                "\/pulp\/api\/v3\/content\/rpm\/packages\/b8e57711-2aa2-44a3-91a4-2b0d0ed6a558\/" 
            ]
        }
    ],
    "dependency_solving": false
}

The question is - should katello do this?

History

#1 Updated by Ian Ballou over 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.0.0

#2 Updated by Ian Ballou over 1 year ago

Let's triage this for an earlier release if it turns out to be a severe issue.

#3 Updated by Ian Ballou over 1 year ago

  • Target version changed from Katello 4.0.0 to Katello 4.1.0

Pushing this to 4.1.0. If it still doesn't seem to be an issue by then, we can close this.

#4 Updated by James Jeffers about 1 year ago

  • Target version changed from Katello 4.1.0 to Katello Backlog

Also available in: Atom PDF