Actions
Story #4503
closedAs a user, I can see in a sync task report how much work is left to do
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 53
Quarter:
Description
This story should set the total
in the progress report if possible.
It is likely that for RPMs there is a total number of them specified in the beginning of primary.xml.
There is no counter available right away for other content types like Errata, Modules and so on.
When syncing a large yum repo, such as http://mirror.math.princeton.edu/pub/fedora/linux/releases/28/Everything/x86_64/os/, after ~15 minutes i still see no indication of how much work is to be done for each step:
This was done using 'on_demand'
{
"_created": "2019-03-05T16:21:56.054367Z",
"_href": "/pulp/api/v3/tasks/3/",
"created_resources": [
null
],
"error": null,
"finished_at": null,
"job_id": "155c9a3e-4853-4c08-9c24-fa4484cb48dd",
"name": "pulp_rpm.app.tasks.synchronizing.synchronize",
"non_fatal_errors": [],
"parent": null,
"progress_reports": [
{
"done": 0,
"message": "Un-Associating Content",
"state": "running",
"suffix": "",
"task": "/pulp/api/v3/tasks/3/",
"total": null
},
{
"done": 4,
"message": "Downloading and Parsing Metadata",
"state": "running",
"suffix": "",
"task": "/pulp/api/v3/tasks/3/",
"total": null
},
{
"done": 0,
"message": "Downloading Artifacts",
"state": "running",
"suffix": "",
"task": "/pulp/api/v3/tasks/3/",
"total": null
},
{
"done": 3750,
"message": "Associating Content",
"state": "running",
"suffix": "",
"task": "/pulp/api/v3/tasks/3/",
"total": null
}
],
"spawned_tasks": [],
"started_at": "2019-03-05T16:21:56.163701Z",
"state": "running",
"worker": "/pulp/api/v3/workers/2/"
}
Related issues
Actions
Add total counts to pulp_rpm
Previously the user didn't have a good idea of two things:
This add two new progress bars that users can see the total counts on.
https://pulp.plan.io/issues/4503 closes #4503