Project

Profile

Help

Issue #6853

When a repo is only specified among distributor_repository_ids, distribution is not created for it

Added by ttereshc over 1 year ago. Updated about 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 73
Quarter:

Description

Pulp 2 setup

repo rpm_unsigned with content
repo empty with no content (it's important that it's empty, otherwise you'll hit a known bug which I can't find - will file it)

2 yum_distributors, one for each.

Migration plan

        {
            "plan": {
                "plugins": [
                    {
                        "type": "rpm",
                        "repositories": [
                            {
                                "name": "rpm_unsigned",
                                "repository_versions": [
                                    {
                                        "pulp2_repository_id": "rpm_unsigned",
                                        "pulp2_distributor_repository_ids": [
                                            "rpm_unsigned",
                                            "drpm"
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        }

Expectations

In Pulp 3, there will be one repo, one repo version, one publication and two distributors.

Actual results

One repo, one repo version, one publication and one distributor (for rpm_unsigned distributor).

Associated revisions

Revision 65c6db4c View on GitHub
Added by ttereshc over 1 year ago

Consider all repos present in the plan, not only the ones to migrate.

We need to go through all repos mentioned in the plan in case importers' or distributors' repos are not being migrated. Otherwise, such importers and distributors are ignored and not migrated.

closes #6853 https://pulp.plan.io/issues/6853

Revision 65c6db4c View on GitHub
Added by ttereshc over 1 year ago

Consider all repos present in the plan, not only the ones to migrate.

We need to go through all repos mentioned in the plan in case importers' or distributors' repos are not being migrated. Otherwise, such importers and distributors are ignored and not migrated.

closes #6853 https://pulp.plan.io/issues/6853

Revision 65c6db4c View on GitHub
Added by ttereshc over 1 year ago

Consider all repos present in the plan, not only the ones to migrate.

We need to go through all repos mentioned in the plan in case importers' or distributors' repos are not being migrated. Otherwise, such importers and distributors are ignored and not migrated.

closes #6853 https://pulp.plan.io/issues/6853

History

#1 Updated by ttereshc over 1 year ago

  • Description updated (diff)

#2 Updated by ttereshc over 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc
  • Sprint set to Sprint 73

#3 Updated by ttereshc over 1 year ago

  • Description updated (diff)

#4 Updated by ttereshc over 1 year ago

  • Status changed from ASSIGNED to MODIFIED

#7 Updated by ttereshc about 1 year ago

  • Sprint/Milestone set to 0.2.0

#8 Updated by ttereshc about 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF