Actions
Task #6541
closedStory #6134: [EPIC] Pulp import/export
Add more/any reporting to the export process
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.
Updated by ggainey about 4 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
}
],
Updated by ggainey about 4 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
}
],
Updated by ggainey about 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ggainey
Updated by ggainey about 4 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
},
Updated by ggainey about 4 years ago
- Status changed from ASSIGNED to POST
Added by ggainey about 4 years ago
Updated by ggainey about 4 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|4a3169ee797829e8ac9be691624de71af40884e8.
Updated by pulpbot about 4 years ago
Updated by pulpbot about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
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