Project

Profile

Help

Task #6541

closed

Story #6134: [EPIC] Pulp import/export

Add more/any reporting to the export process

Added by ggainey over 2 years ago. Updated about 2 years 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.

Actions #1

Updated by ggainey about 2 years 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
        }
    ],
Actions #2

Updated by ggainey about 2 years 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
        }
    ],
Actions #3

Updated by ggainey about 2 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ggainey
Actions #4

Updated by ggainey about 2 years ago

  • Sprint set to Sprint 80
Actions #5

Updated by ggainey about 2 years 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
        },
Actions #6

Updated by ggainey about 2 years ago

  • Status changed from ASSIGNED to POST

Added by ggainey about 2 years ago

Revision 4a3169ee

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

Actions #7

Updated by ggainey about 2 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #9

Updated by bmbouter about 2 years ago

  • Sprint/Milestone set to 3.7.0
Actions #10

Updated by pulpbot about 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF