Bug #32663
closedPulp3 migration switchover fails when a content view contains two repositories with the same label
Description
Discussed here:
If a content view contains two repositories (of different products) with the same label, the resulting name for the pulp3 migration plan will be identical, causing to overwrite it and only one of the repositories being migrated. As the other isn't migrated and doesn't have a version_href, the switchover will fail even though the prepare before was successful.
The name for the migration plan is set here
It doesn't contain the name of the product or any other unique identifier. However, if you add a repository to katello the label must only be unique for the specific product. If you have two products, e.g. foreman and foreman-client, both can have a repository with label "2_3_el7_x86_64". If both repositories are in the same content view, the migration plan will use the identical name for both repositories, causing an incomplete migration.
Updated by Chris Roberts over 3 years ago
- Category set to Repositories
- Target version set to Katello 3.18.4
- Triaged changed from No to Yes
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Justin Sherrill
- Pull request https://github.com/Katello/katello/pull/9385 added
Updated by Jonathon Turel over 3 years ago
- Status changed from Ready For Testing to Closed