Bug 2227913

Summary: Size of a "Complete Library export" can be double the consumption of /var/lib/pulp/media/artifact/
Product: Red Hat Satellite Reporter: Odilon Sousa <osousa>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Shweta Singh <shwsingh>
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.13.3CC: dalley, dkliban, ggainey, jpasqual, mjia, paji, pcreech, rchan, rlavi, shwsingh
Target Milestone: 6.12.5Keywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: pulpcore-3.18.25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2226950 Environment:
Last Closed: 2023-08-24 18:24:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Daniel Alley 2023-08-03 01:24:07 UTC
@osousa I just noticed this but the fixed-in-version is wrong, pulpcore-3.18.24 is broken due to a regression we found, you want pulpcore-3.18.25

I believe it's because it was cloned the other day, before we noticed the regression.

Comment 3 Shweta Singh 2023-08-16 07:26:50 UTC
Verified.

Version Tested: Satellite 6.12.5 Snap 2.0

Verification Steps:
1. Enable few Red Hat repositories(Set the download policy to "Immediate") and create few file type and docker type repositories.
2. Sync the repositories.
3. Add them to CV, publish and promote it.
4. Make 20-50 copies of the CV and publish and promote all of it.
5. Check the disk space consumption of var/lib/pulp/media/artifact/ directory.
6. Perform a full library export for that organization.
7. Check the size of exported tar file present in /var/lib/pulp/exports/Default_Organization/Export-Library/* directory.
8. Compare consumption in Step 5 and Step 7, size of tar file in Step 7 should not exceed the one in Step5

Observation:
Size of exported tar file created in path /var/lib/pulp/exports/Default_Organization/Export-Library/* was much less than disk space consumption of var/lib/pulp/media/artifact/ directory.

Comment 7 errata-xmlrpc 2023-08-24 18:24:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Satellite 6.12.5 Async Update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:4749

Comment 8 Red Hat Bugzilla 2023-12-23 04:25:10 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days