Bug 2039112
| Summary: | pulp3 migration stats drastically underestimate migration times | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Jessica Hanley <jhanley> |
| Component: | Repositories | Assignee: | Ian Ballou <iballou> |
| Status: | CLOSED ERRATA | QA Contact: | Cole Higgins <chiggins> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.9.7 | CC: | iballou, juwatts, osousa |
| Target Milestone: | 6.9.9 | Keywords: | Triaged, Upgrades |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-rubygem-katello-3.18.1.52-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-04-20 20:34:53 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: | |||
|
Description
Jessica Hanley
2022-01-11 02:04:14 UTC
Created redmine issue https://projects.theforeman.org/issues/34497 from this bug Upstream bug assigned to iballou Upstream bug assigned to iballou Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34497 has been resolved. Verified in 6.9.9 snap 1
Content migration stats gives two separate values for migration time depending on hardware if the migration estimate is over 5 minutes.
Steps to Reproduce:
1. Sync rhel-7-server-rpms (and anything else you want)
2. # satellite-maintain content migration-stats
Expected Results:
Stats display two values that depend on hardware speed.
Actual Results:
Stats display two values that depend on hardware speed.
Output:
Running Retrieve Pulp 2 to Pulp 3 migration statistics
================================================================================
Retrieve Pulp 2 to Pulp 3 migration statistics:
============Migration Summary================
Migrated/Total RPMs: 0/46731
Migrated/Total errata: 0/6918
Migrated/Total repositories: 0/5
Estimated migration time based on yum content, fast hardware, and low server load: 0 hours, 24 minutes
Estimated migration time based on yum content, slow hardware, and high server load: 1 hours, 36 minutes
Note: ensure there is sufficient storage space for /var/lib/pulp/published to double in size before starting the migration process.
Check the size of /var/lib/pulp/published with 'du -sh /var/lib/pulp/published/'
Note: ensure there is sufficient storage space for postgresql.
You will need additional space for your postgresql database. The partition holding '/var/opt/rh/rh-postgresql12/lib/pgsql/data/'
will need additional free space equivalent to the size of your Mongo db database (/var/lib/mongodb/).
[OK]
--------------------------------------------------------------------------------
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 (Important: Satellite 6.9.9 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/RHSA-2022:1478 |