Actions
Issue #1697
closedThe deferred downoad task does not appear to be tagged correctly.
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
2.8.0
OS:
Fedora 23
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
I noticed that the deferred download tasks that are dispatched at regular intervals are not being tagged correctly:
[vagrant@dev ~]$ curl -k -u admin:admin "https://dev.example.com/pulp/api/v2/tasks/4648d7dc-785f-49bb-91d8-dbb7f8db95a5/" | python -m json.tool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 805 100 805 0 0 6299 0 --:--:-- --:--:-- --:--:-- 6338
{
"_href": "/pulp/api/v2/tasks/4648d7dc-785f-49bb-91d8-dbb7f8db95a5/",
"_id": {
"$oid": "56c62aa4da8a602841bca563"
},
"_ns": "task_status",
"error": null,
"exception": null,
"finish_time": "2016-02-18T20:57:57Z",
"id": "56c62aa4da8a602841bca563",
"progress_report": {
"on_demand_download": [
{
"description": "Download Cached On-Demand Content",
"details": "",
"error_details": [],
"items_total": 2170,
"num_failures": 1,
"num_processed": 2170,
"num_success": 2169,
"state": "FAILED",
"step_id": "e70e9b8c-4bbe-468e-8e35-2f1c3d0296eb",
"step_type": "on_demand_download"
}
]
},
"queue": "None.dq",
"result": null,
"spawned_tasks": [],
"start_time": "2016-02-18T20:33:40Z",
"state": "finished",
"tags": [],
"task_id": "4648d7dc-785f-49bb-91d8-dbb7f8db95a5",
"task_type": null,
"traceback": null,
"worker_name": null
}
They do seem to have tags applied to them (if you look at https://github.com/pulp/pulp/blob/cd0bab12c1f9464a26cdbca82f6c4e6987a12649/server/pulp/server/controllers/repository.py#L1071-L1077), but apparently I did it wrong.
Updated by jcline@redhat.com almost 8 years ago
- Version set to Master
- OS set to Fedora 23
Updated by bmbouter almost 8 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to bmbouter
- Platform Release set to 2.8.0
Added by bmbouter almost 8 years ago
Added by bmbouter almost 8 years ago
Celerybeat uses queue_deferred_download to dispatch deferred_download
Updated by bmbouter almost 8 years ago
- Status changed from ASSIGNED to POST
PR available at: https://github.com/pulp/pulp/pull/2444
Updated by bmbouter almost 8 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|394300e2e379d1940be580ac6ffc58e534b021dd.
Updated by dkliban@redhat.com almost 8 years ago
- Status changed from MODIFIED to 5
Updated by dkliban@redhat.com over 7 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Actions
Celerybeat uses queue_deferred_download to dispatch deferred_download
closes #1697 https://pulp.plan.io/issues/1697