Project

Profile

Help

Story #8554

Provide easy task cleanup api

Added by jsherril@redhat.com 8 months ago. Updated 18 days ago.

Status:
POST
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Quarter:
Q4-2021

Description

Today a user of pulp would have to manually request all tasks using a filter and then manually trigger a delete for each one. It would be much simpler if we could simply call an API and trigger a task that would bulk delete all tasks matching some set of critera such as:

created before some date with states cancelled, completed, skipped

I think somehow using a list query to delete those (such as being able to pass the href /pulp/api/v3/tasks?state__in=completed,skipped) would be pretty slick.


Related issues

Has duplicate Pulp - Story #7513: bulk-delete tasksCLOSED - DUPLICATE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by mmccune@redhat.com 8 months ago

wrote:

Today a user of pulp would have to manually request all tasks using a filter and then manually trigger a delete for each one. It would be much simpler if we could simply call an API and trigger a task that would bulk delete all tasks matching some set of critera such as:

for high volume installations with many tasks desiring to issue periodic cleanup routines, having a mechanism for bulk deletion will be ideal. Issuing thousands or millions of single delete API calls during a cleanup limits the ability to scale.

#2 Updated by dalley 4 months ago

#3 Updated by dalley 4 months ago

#4 Updated by dalley 4 months ago

#5 Updated by dalley 4 months ago

  • Quarter set to Q4-2021

#6 Updated by ggainey about 1 month ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ggainey

#7 Updated by pulpbot 18 days ago

  • Status changed from ASSIGNED to POST

Please register to edit this issue

Also available in: Atom PDF