Project

General

Profile

Actions

Bug #35079

closed

Pulp 3 migration stats timing is too low for very large deployments

Added by Ian Ballou over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2098221

Description of problem:
The migration timing calculation performs an unnecessary "% 60", which can cause the timing to be much too low for large deployments that may take over 60 hours to complete the migration. The minutes are calculated correctly, but not the hours.

Version-Release number of selected component (if applicable):

Katello 3.18

How reproducible:
100% if the migration minutes is calculated to be over 3599

Steps to Reproduce:
1. Run the migration-stats command on a machine with enough repositories and RPMs to get the `migration_minutes` above 3599 in the migration-stats rake task.
2.
3.

Actual results:
The number of hours will be too low. For example, 3600 / 60 = 60. 60 % 60 = 0!

Expected results:
The number of hours to be correct.

Additional info:

Actions

Also available in: Atom PDF