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 1952947 - [pulp3] 2to3 migration progress reporting will be stuck at "Migrating content to Pulp 3" for a long time
Summary: [pulp3] 2to3 migration progress reporting will be stuck at "Migrating conten...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.9.7
Assignee: Justin Sherrill
QA Contact: Cole Higgins
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-23 15:46 UTC by Justin Sherrill
Modified: 2021-11-10 16:23 UTC (History)
3 users (show)

Fixed In Version: tfm-rubygem-katello-3.18.1.41-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-10 16:23:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 33192 0 Normal New [pulp3] 2to3 migration progress reporting will be stuck at "Migrating content to Pulp 3" for a long time 2021-07-30 13:15:42 UTC
Red Hat Product Errata RHBA-2021:4612 0 None None None 2021-11-10 16:23:52 UTC

Description Justin Sherrill 2021-04-23 15:46:38 UTC
Description of problem:

During migration multiple status reports are sent from pulp:

        {
            "code": "migrating.content",
            "done": 18343,
            "message": "Migrating content to Pulp 3",
            "state": "running",
            "suffix": null,
            "total": 18343
        },
        {
            "code": "migrating.docker.content",
            "done": 11372,
            "message": "Migrating docker content to Pulp 3 docker_blob",
            "state": "completed",
            "suffix": null,
            "total": 11374
        },
        {
            "code": "migrating.rpm.content",
            "done": 121,
            "message": "Migrating rpm content to Pulp 3 distribution",
            "state": "completed",
            "suffix": null,
            "total": 123
        },
        {
            "code": "premigrating.content.general",
            "done": 445,
            "message": "Pre-migrating Pulp 2 PACKAGE_ENVIRONMENT content (general info)",
            "state": "completed",
            "suffix": null,
            "total": 445
        },
        {
            "code": "premigrating.content.general",
            "done": 234003,
            "message": "Pre-migrating Pulp 2 PACKAGE_GROUP content (general info)",
            "state": "completed",
            "suffix": null,
            "total": 234003
        },
        {
            "code": "premigrating.content.detail",
            "done": 234003,
            "message": "Pre-migrating Pulp 2 PACKAGE_GROUP content (detail info)",
            "state": "completed",
            "suffix": null,
            "total": 234003
        },
        {
            "code": "premigrating.content.detail",
            "done": 445,
            "message": "Pre-migrating Pulp 2 PACKAGE_ENVIRONMENT content (detail info)",
            "state": "completed",
            "suffix": null,
            "total": 445
        },
        {
            "code": "migrating.docker.content",
            "done": 2148,
            "message": "Migrating docker content to Pulp 3 docker_manifest",
            "state": "completed",
            "suffix": null,
            "total": 2148
        },
        {
            "code": "creating.repositories",
            "done": 551,
            "message": "Creating repositories in Pulp 3",
            "state": "completed",
            "suffix": null,
            "total": 551
        },
        {
            "code": "premigrating.content.general",
            "done": 102,
            "message": "Pre-migrating Pulp 2 PACKAGE_CATEGORY content (general info)",
            "state": "completed",
            "suffix": null,
            "total": 102
        },
        {
            "code": "migrating.docker.content",
            "done": 37,
            "message": "Migrating docker content to Pulp 3 docker_manifest_list",
            "state": "completed",
            "suffix": null,
            "total": 37
        },
        {
            "code": "migrating.importers",
            "done": 244,
            "message": "Migrating importers to Pulp 3",
            "state": "completed",
            "suffix": null,
            "total": 244
        },
        {
            "code": "migrating.docker.content",
            "done": 1157,
            "message": "Migrating docker content to Pulp 3 docker_tag",
            "state": "completed",
            "suffix": null,
            "total": 1157
        },
        {
            "code": "migrating.rpm.content",
            "done": 195512,
            "message": "Migrating rpm content to Pulp 3 rpm",
            "state": "completed",
            "suffix": null,
            "total": 198822
        },

Katello is picking the first it finds that is 'running':  "Migrating content to Pulp 3". 

This means that the user sees this message for a long time where there are more specific statuses we could print, we should prefer those.

Comment 1 Justin Sherrill 2021-07-30 13:15:41 UTC
Created redmine issue https://projects.theforeman.org/issues/33192 from this bug

Comment 2 Bryan Kearney 2021-07-30 16:04:20 UTC
Upstream bug assigned to jsherril

Comment 3 Bryan Kearney 2021-07-30 16:04:22 UTC
Upstream bug assigned to jsherril

Comment 4 Bryan Kearney 2021-07-30 16:04:48 UTC
Upstream bug assigned to jsherril

Comment 5 Bryan Kearney 2021-07-30 16:04:50 UTC
Upstream bug assigned to jsherril

Comment 6 Bryan Kearney 2021-08-04 20:05:05 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33192 has been resolved.

Comment 13 errata-xmlrpc 2021-11-10 16:23:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Satellite 6.9.7 Async Bug Fix Update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4612


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