Bug 1394013

Summary: [RFE] Provide task to clean pulp content cache when repository has switched to on_demand syncing
Product: Red Hat Satellite Reporter: Fred van Zwieten <fvzwieten>
Component: Content ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.4CC: ahumbe, aperotti, bbuckingham, bkearney, cdonnell, egolov, jcallaha, jentrena, syangsao
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 19:09:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1459231    
Bug Blocks: 1122832    

Description Fred van Zwieten 2016-11-10 20:14:02 UTC
Description of problem:
With 6.2.3 we support on_demand syncing of repositories which will greatly reduce the storage need on satellite and capsules and also greatly helps with backup/restore times. However, this does not help with already synced up repositories.

I propose that when a repository with already synced packages is changed to on_demand a task will be started to clean out the on_disk pulp content_cache. This should also happen on capsules.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fred van Zwieten 2016-11-11 06:23:47 UTC
Alternatively, this could be a CLI tool that delete's all RPM's from the pulp content cache who's repo is on_demand. This tool should be able to run on both the satellite server and the capsule.

Comment 2 Brad Buckingham 2017-08-07 13:38:59 UTC
*** Bug 1475186 has been marked as a duplicate of this bug. ***

Comment 4 Bryan Kearney 2018-09-04 18:57:58 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 5 Bryan Kearney 2018-09-04 19:09:13 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.