Project

Profile

Help

Issue #1697

The deferred downoad task does not appear to be tagged correctly.

Added by jcline@redhat.com over 5 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
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.

Associated revisions

Revision 394300e2 View on GitHub
Added by bmbouter over 5 years ago

Celerybeat uses queue_deferred_download to dispatch deferred_download

closes #1697 https://pulp.plan.io/issues/1697

Revision 394300e2 View on GitHub
Added by bmbouter over 5 years ago

Celerybeat uses queue_deferred_download to dispatch deferred_download

closes #1697 https://pulp.plan.io/issues/1697

History

#1 Updated by jcline@redhat.com over 5 years ago

  • Version set to Master
  • OS set to Fedora 23

#2 Updated by bmbouter over 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bmbouter
  • Platform Release set to 2.8.0

#3 Updated by mhrivnak over 5 years ago

  • Triaged changed from No to Yes

#4 Updated by bmbouter over 5 years ago

  • Status changed from ASSIGNED to POST

#5 Updated by bmbouter over 5 years ago

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

#6 Updated by dkliban@redhat.com over 5 years ago

  • Status changed from MODIFIED to 5

#7 Updated by dkliban@redhat.com over 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#8 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF