Project

Profile

Help

Story #2396

As a user, I can remove orphaned content and related artifacts by content type

Added by ttereshc about 3 years ago. Updated 5 months ago.

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

0%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

Motivation

With upcoming content migration from Pulp 2 (which can be done by content type), it becomes important to have control which orphans to delete and avoid removing content which was recently migrated but hasn't been added to any repository yet.

Suggestion

Add type parameter to the orphan cleanup endpoint to filter what to delete:
$ http DELETE /pulp/api/v3/orphans/ type=file

Only artifacts related to the specified content type should be removed.


Related issues

Related to Pulp - Task #2380: Create a redmine task for each 2.y celery task to be converted to 3.0 CLOSED - CURRENTRELEASE Actions

History

#1 Updated by ttereshc about 3 years ago

  • Related to Task #2380: Create a redmine task for each 2.y celery task to be converted to 3.0 added

#2 Updated by ttereshc about 3 years ago

  • Tags Pulp 3 added

#3 Updated by fdobrovo about 3 years ago

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

#4 Updated by fdobrovo about 3 years ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (fdobrovo)

#5 Updated by bmbouter 8 months ago

  • Tags deleted (Pulp 3)

#6 Updated by ttereshc 5 months ago

  • Tracker changed from Task to Story
  • Subject changed from Convert celery task content.orphan.delete_orphans_by_type to Pulp 3 to As a user, I can remove orphaned content and related artifacts by content type
  • Description updated (diff)

#7 Updated by ttereshc 5 months ago

  • Description updated (diff)

Please register to edit this issue

Also available in: Atom PDF