Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1891000

Summary: Consider having /var/cache/pulp under /var/lib/pulp
Product: Red Hat Satellite Reporter: Pavel Moravec <pmoravec>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Lai <ltran>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.7.0CC: ahumbe, bmbouter, kkinge, ktordeur, ltran, pdwyer, peter.vreman, rchan, saydas, ttereshc
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-25 20:00:10 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:

Description Pavel Moravec 2020-10-23 13:59:07 UTC
Description of problem:
There are multiple support cases where /var/cache/pulp runs out of free disk space. The reason is that other than RPM content is housekept from the cache *only* when the repo sync is completed. Which means, syncing a big repo with ISO / qcow / docker / .. content, *whole* content of whatever size is present in the cache at a given time. This puts potentially huge disk space requirements to /var/cache/pulp that are often discovered by "No space left on device" error, which is too late.

The cache content is copied to /var/lib/pulp and we already recommend both dirs to be on the same filesystem. Also due to this, it makes sense to have /var/cache/pulp as a symlink to e.g. /var/lib/pulp/cache , to keep whole pulp content just under one mounting point (that is usually with sufficient disk space).


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


How reproducible:
100%


Steps to Reproduce:
..


Actual results:
/var/cache/pulp is a separate lvolume / mounting point, per our docs and installer.


Expected results:
It will be beneficial to have /var/cache/pulp as a symlink to /var/lib/pulp/cache .


Additional info:

Comment 1 Pavel Moravec 2021-02-02 07:57:48 UTC
Hi Robin,
could please pulp team assess this request? It seems to me as low hanging fruit to prevent reoccuring customer problems (cf. # cases attached here, in bz1889005, in KCS 5586261).

Thanks in advance.

Comment 2 Pavel Moravec 2021-02-02 16:04:15 UTC
OK, one side effect has been found already: 

bz1924032 - [BUG] Online backup never finished due to /var/lib/pulp/cache symlink on Red Hat Satellite 6.

Comment 9 Pavel Moravec 2021-05-25 20:00:10 UTC
Good point this will become redundant since Sat6.10. And it does not make sense to alter behaviour for 6.9.z only. So I am closing it.