Actions
Story #8658
closedAs a user I want to purge individual orphan or list of orphans
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
GalaxyNG
Sprint:
Quarter:
Description
http POST :24817/pulp/api/v3/orphans/ content_hrefs:= []
Enable a POST call to the orphans endpoint that would accept a list of content_hrefs
to purge.
- A task will be triggered and will call into
orphan_cleanup()
. Instead of looking for all of the orphaned content across pulp , it would just instead work with the list if hrefs provided( in case the list ofcontent_hrefs
was provided). - The
timestamp_of_interest
on the content will be honored and if there was specified a Content unit that is not an orphan - it will be ignored. - Only content that has
version_memberships__isnull=True
will be purged.
Updated by ipanova@redhat.com over 3 years ago
- Tracker changed from Issue to Story
- % Done set to 0
- Severity deleted (
2. Medium) - Triaged deleted (
No)
Updated by daviddavis over 3 years ago
- Groomed changed from No to Yes
- Sprint Candidate changed from No to Yes
Grooming per our pulpcore team meeting today.
Updated by bmbouter over 3 years ago
Maybe a silly question, but why wouldn't a user want all orphans removed?
Updated by ipanova@redhat.com over 3 years ago
bmbouter wrote:
Maybe a silly question, but why wouldn't a user want all orphans removed?
In case a user has installed more than one plugin and he wants to remove one specific rpm package( for example), all other content types, including the ones from the other plugins would be cleaned up as well. This outcome might be undesirable.
Updated by bmbouter over 3 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to bmbouter
Updated by ipanova@redhat.com over 3 years ago
- Sprint/Milestone set to Content/disk space management
Updated by pulpbot over 3 years ago
- Status changed from ASSIGNED to POST
Updated by ipanova@redhat.com over 3 years ago
- Sprint/Milestone changed from Content/disk space management to 3.14.0
Added by bmbouter over 3 years ago
Updated by bmbouter over 3 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|8ad6aca9f0ce529b989a38dc495b627b3ce313f1.
Updated by pulpbot over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Adds
/pulp/api/v3/orphans/cleanup/
This adds a new endpoint
/pulp/api/v3/orphans/cleanup/
. When called withPOST
and no parameters it is equivalent to callingDELETE /pulp/api/v3/orphans/
. Additionally the optional parametercontent_hrefs
can be specified and must contain a list of content hrefs. Whencontent_hrefs
is specified, only those content units will be considered to be removed by orphan cleanup.closes #8658