Project

Profile

Help

Issue #6853

closed

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

Added by ttereshc over 4 years ago. Updated over 4 years 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).

Actions #1

Updated by ttereshc over 4 years ago

  • Description updated (diff)
Actions #2

Updated by ttereshc over 4 years ago

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

Updated by ttereshc over 4 years ago

  • Description updated (diff)

Added by ttereshc over 4 years ago

Revision 65c6db4c | View on GitHub

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

Added by ttereshc over 4 years ago

Revision 65c6db4c | View on GitHub

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

Added by ttereshc over 4 years ago

Revision 65c6db4c | View on GitHub

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

Actions #4

Updated by ttereshc over 4 years ago

  • Status changed from ASSIGNED to MODIFIED
Actions #7

Updated by ttereshc over 4 years ago

  • Sprint/Milestone set to 0.2.0
Actions #8

Updated by ttereshc over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF