Project

General

Profile

Actions

Bug #33192

closed

[pulp3] 2to3 migration progress reporting will be stuck at "Migrating content to Pulp 3" for a long time

Added by Justin Sherrill over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

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

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.

Actions #1

Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Justin Sherrill
  • Pull request https://github.com/Katello/katello/pull/9518 added
Actions #2

Updated by Justin Sherrill over 2 years ago

  • Target version set to Katello 3.18.5
  • Triaged changed from No to Yes
Actions #3

Updated by Justin Sherrill over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF