Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1973359 - [pulp3] on_demand distribution trees with no images are not migrated
Summary: [pulp3] on_demand distribution trees with no images are not migrated
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.10.0
Assignee: satellite6-bugs
QA Contact: Lai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-17 16:49 UTC by James Jeffers
Modified: 2021-07-19 13:30 UTC (History)
5 users (show)

Fixed In Version: python-pulp_2to3_migration-0.11.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1964593
Environment:
Last Closed: 2021-07-13 12:59:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 8817 0 None None None 2021-06-17 16:49:46 UTC

Description James Jeffers 2021-06-17 16:49:33 UTC
+++ This bug was initially created as a clone of Bug #1964593 +++

Description of problem:

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.

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:

 - sync one of the following to pulp2 with policy on_demand
    * AppStream, http://mirror.centos.org/centos/8/AppStream/x86_64/os/
    * PowerTools, http://mirror.centos.org/centos/8/PowerTools/x86_64/os/
    * HighAvailability, http://mirror.centos.org/centos/8/HighAvailability/x86_64/os/
 - migrate to pulp 3

--- Additional comment from  on 2021-05-25T18:50:12Z 

The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

--- Additional comment from  on 2021-05-25T18:50:13Z 

The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

--- Additional comment from  on 2021-05-27T19:49:20Z 

The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.

--- Additional comment from  on 2021-06-04T19:28:10Z 

The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.

--- Additional comment from  on 2021-06-04T20:58:45Z 

All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.

--- Additional comment from  on 2021-06-14T15:08:26Z 

The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 2 James Jeffers 2021-07-12 18:21:40 UTC
I propose we close this. Unless Tanya says otherwise, I'll close it.


Note You need to log in before you can comment on or make changes to this bug.