Project

Profile

Help

Story #5926

closed

As a user, I can clear out downloaded files from on_demand repos

Added by jsherril@redhat.com over 4 years ago. Updated almost 3 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

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

Description

A repository using on_demand will store artifacts locally when they are requested, but there really isn't a way to have pulp delete the locally stored files and free disk space if they are unlikely to be used again.

In the case of something like RHEL repositories, older packages and errata are unlikely to ever be needed again. You may have had dozens of kernels downloaded in your repository over the years, but going forward, only the newest one is likely to be needed. Being able to clear out on_demand content from a repository would allow the user to gain back that space.

After being 'cleaned', i would expect any content that is requested through the content app to download it as if it had never been downloaded before. Essentially the cleaning would take it back to its pre-downloaded state.


Related issues

Is duplicate of Pulp - Story #8459: As a user I want to reclaim disk space for a list of repositoriesCLOSED - CURRENTRELEASEipanova@redhat.com

Actions
Actions #2

Updated by ttereshc over 4 years ago

To state the obvious (just not to forget to document it): URLs from which content has been downloaded might not be valid anymore, so there is no guarantee that after a cleanup content will be available.

Actions #3

Updated by bmbouter over 4 years ago

This feature seems very useful, but how can we handle shared content across many repos? Since Pulp de-duplicates content across repositories, removing it from the filesystem from one repo will remove it from any repo that contains that Artifact. This seems like a side effect that would make Pulp feel unreliable.

My thinking on it is that we can't think of this as a repository-level operation and accept "side effects", so maybe we should revision the request as a system-level space reclamation feature? What do you think?

Actions #4

Updated by jsherril@redhat.com over 4 years ago

I think a system wide space reclamation operation makes sense, and would solve our use cases.

Actions #5

Updated by daviddavis over 4 years ago

  • Tracker changed from Issue to Story
  • Subject changed from support clearing out downloaded files from on_demand repos to As a user, I can clear out downloaded files from on_demand repos
  • % Done set to 0
Actions #6

Updated by daviddavis over 4 years ago

  • Tags Katello-P3 added
Actions #7

Updated by ggainey almost 4 years ago

  • Priority changed from Normal to Low
Actions #8

Updated by ggainey almost 4 years ago

  • Tags Katello added
  • Tags deleted (Katello-P3)
Actions #9

Updated by ipanova@redhat.com almost 3 years ago

  • Status changed from NEW to CLOSED - DUPLICATE
Actions #10

Updated by ttereshc almost 3 years ago

  • Is duplicate of Story #8459: As a user I want to reclaim disk space for a list of repositories added

Also available in: Atom PDF