Bug 1952947
| Summary: | [pulp3] 2to3 migration progress reporting will be stuck at "Migrating content to Pulp 3" for a long time | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Justin Sherrill <jsherril> |
| Component: | Repositories | Assignee: | Justin Sherrill <jsherril> |
| Status: | CLOSED ERRATA | QA Contact: | Cole Higgins <chiggins> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.9.0 | CC: | jjeffers, ltran, osousa |
| Target Milestone: | 6.9.7 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-rubygem-katello-3.18.1.41-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-10 16:23:39 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Created redmine issue https://projects.theforeman.org/issues/33192 from this bug Upstream bug assigned to jsherril Upstream bug assigned to jsherril Upstream bug assigned to jsherril Upstream bug assigned to jsherril Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33192 has been resolved. 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 |
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.