Project

Profile

Help

Issue #8817

closed

on_demand distribution trees with no images are not migrated

Added by ttereshc over 3 years ago. Updated over 3 years ago.

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

Description

If a distribution tree was synced with on_demand policy to pulp2 and has no images , it won't be migrated at all. The repository in Pulp 3 will have all content except a distribution tree.

The only sign of it in the logs is
rq[21594]: pulp: pulp_2to3_migration.app.plugin.content:WARNING: On_demand content cannot be migrated without an entry in the lazy catalog, pulp2 unit_id: dbb90f9a-5f26-4477-b361-a8dfc22fc27e

where pulp2 unit_id refers to the on_demand distribution tree.

In general, it's odd to see such messages in the logs, if you are migrating everything for the plugin and not just selected repositories.

So far, only CentOS 8 kickstart repos are known to create a kickstart repo without a single image.
CentOS 8 BaseOS has images, other repos which are supposed to be variants or addons, but were created as separate independent repos, have no images, e.g. CentOS 8 Appstream, PowerTools, HighAvailability.

To reproduce:

Actions #2

Updated by ttereshc over 3 years ago

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

Updated by rchan over 3 years ago

  • Sprint changed from Sprint 97 to Sprint 98
Actions #4

Updated by ttereshc over 3 years ago

  • Status changed from ASSIGNED to POST

Added by ttereshc over 3 years ago

Revision 5f15f76d | View on GitHub

Fix migration of on_demand distribution trees which do not have images.

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

Added by ttereshc over 3 years ago

Revision 5f15f76d | View on GitHub

Fix migration of on_demand distribution trees which do not have images.

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

Added by ttereshc over 3 years ago

Revision 5f15f76d | View on GitHub

Fix migration of on_demand distribution trees which do not have images.

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

Actions #5

Updated by ttereshc over 3 years ago

  • Status changed from POST to MODIFIED
Actions #6

Updated by ttereshc over 3 years ago

  • Sprint/Milestone set to 0.11.2

Added by ttereshc over 3 years ago

Revision 69d01200 | View on GitHub

Fix migration of on_demand distribution trees which do not have images.

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

Added by ttereshc over 3 years ago

Revision 69d01200 | View on GitHub

Fix migration of on_demand distribution trees which do not have images.

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

Added by ttereshc over 3 years ago

Revision 69d01200 | View on GitHub

Fix migration of on_demand distribution trees which do not have images.

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

Actions #7

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF