Bug 1952960
| Summary: | [pulp3] Total counter for content migration is updated only after the migration of the whole content type is done | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Tanya Tereshchenko <ttereshc> | |
| Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> | |
| Status: | CLOSED ERRATA | QA Contact: | Lai <ltran> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.9.0 | CC: | ggainey, jjeffers, osousa, rchan, ttereshc | |
| Target Milestone: | 6.9.4 | Keywords: | Triaged | |
| Target Release: | Unused | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | python-pulp_2to3_migration-0.11.2-1.el7pc | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1973353 (view as bug list) | Environment: | ||
| Last Closed: | 2021-07-29 12:58:50 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: | ||||
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug. The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug. All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST. Steps to test:
1. Get a 6.9.4 machine
2. Import manifest
3. Enable rhel8 baseOS and appstream
4. perform sync
5. Once completed, run migration
6. Go to task -> content migration -> Running Steps
7. On cli where migration is occurring, wait until it reads "migrating rpm content to pulp3"
8. Check running steps on step 6 and search for "Migrating rpm content to Pulp 3"
Expected result:
Every few second, the number next to "done" under "Migrating rpm content to Pulp 3" should be progressively updated.
Actual result:
Every few seconds, the number next to "done" under "Migrating rpm content to Pulp 3" is progressively updated.
"message": "Migrating rpm content to Pulp 3",
"code": "migrating.rpm.content",
"state": "running",
"total": 26458,
"done": 3365,
"suffix": null
{
"message": "Migrating rpm content to Pulp 3",
"code": "migrating.rpm.content",
"state": "running",
"total": 26458,
"done": 3929,
"suffix": null
}
"message": "Migrating rpm content to Pulp 3",
"code": "migrating.rpm.content",
"state": "running",
"total": 26458,
"done": 4505,
"suffix": null
}
Verified on 6.9.4 snap 1 with python3-pulp-2to3-migration-0.11.2-1.el7pc.noarch
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.4 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:2948 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.4 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:2948 |
Description of problem: Overall counter { "code": "migrating.content", "done": 18343, "message": "Migrating content to Pulp 3", "state": "running", "suffix": null, "total": 18343 }, even though errata migration is running already, the counter above is not updated. { "code": "migrating.rpm.content", "done": 511512, "message": "Migrating rpm content to Pulp 3 erratum", "state": "running", "suffix": null, "total": 4092043 }, The overall counter should be updated before another content type migration is started. To check this see Pulp task progress report.