Project

Profile

Help

Task #6541

Story #6134: [EPIC] Pulp import/export

Add more/any reporting to the export process

Added by ggainey about 1 year ago. Updated 9 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 80
Quarter:

Description

PulpExport should be reporting progress to its controlling Task and currently is not. Fix this.

Associated revisions

Revision 4a3169ee View on GitHub
Added by ggainey 10 months ago

Added progress-reports for number of Artifacts and Content-pre-repo in an export.

Added testing for same.

Required PR: https://github.com/pulp/pulpcore/pull/872 closes #6541

History

#1 Updated by ggainey 10 months ago

Proposed progress report for a successful export:

    "progress_reports": [
        {
            "code": "export-artifacts",
            "done": 38,
            "message": "Exporting Artifacts",
            "state": "completed",
            "suffix": null,
            "total": 38
        },
        {
            "code": "export-resources",
            "done": 18,
            "message": "Exporting resources for rpm repository zoo/1",
            "state": "completed",
            "suffix": null,
            "total": 18
        },
        {
            "code": "export-resources",
            "done": 1,
            "message": "Exporting resources for file repository iso/1",
            "state": "completed",
            "suffix": null,
            "total": 1
        }
    ],

#2 Updated by ggainey 10 months ago

A potentially less-confusing option:

    "progress_reports": [
        {
            "code": "export-artifacts",
            "done": 38,
            "message": "Exporting Artifacts",
            "state": "completed",
            "suffix": null,
            "total": 38
        },
        {
            "code": "export-content",
            "done": 43,
            "message": "Exporting content for rpm repository-version zoo/1",
            "state": "completed",
            "suffix": null,
            "total": 43
        },
        {
            "code": "export-content",
            "done": 3,
            "message": "Exporting content for file repository-version iso/1",
            "state": "completed",
            "suffix": null,
            "total": 3
        }
    ],

#3 Updated by ggainey 10 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ggainey

#4 Updated by ggainey 10 months ago

  • Sprint set to Sprint 80

#5 Updated by ggainey 10 months ago

Final content-progress-report looks like this:

        {
            "code": "export-repo-version-content",
            "done": 43,
            "message": "Exporting content for rpm repository-version zoo/1",
            "state": "completed",
            "suffix": null,
            "total": 43
        },

#6 Updated by ggainey 10 months ago

  • Status changed from ASSIGNED to POST

#7 Updated by ggainey 10 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#9 Updated by bmbouter 9 months ago

  • Sprint/Milestone set to 3.7.0

#10 Updated by pulpbot 9 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF