Bug 2227913 - Size of a "Complete Library export" can be double the consumption of /var/lib/pulp/media/artifact/ [NEEDINFO]
Summary: Size of a "Complete Library export" can be double the consumption of /var/lib...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.13.3
Hardware: All
OS: All
high
unspecified
Target Milestone: 6.12.5
Assignee: satellite6-bugs
QA Contact: Shweta Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-31 19:41 UTC by Odilon Sousa
Modified: 2023-08-16 07:26 UTC (History)
10 users (show)

Fixed In Version: pulpcore-3.18.25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2226950
Environment:
Last Closed:
Target Upstream Version:
Embargoed:
dalley: needinfo? (osousa)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github pulp pulpcore issues 4159 0 None closed PulpExport ArtifactResource.json has duplicate entries for overlapping content. 2023-07-31 19:41:52 UTC
Github pulp pulpcore pull 4161 0 None Merged Taught export to insure de-duplicated Artifact.json. 2023-07-31 19:41:52 UTC
Red Hat Issue Tracker SAT-19216 0 None None None 2023-07-31 19:41:52 UTC
Red Hat Issue Tracker SAT-19292 0 None None None 2023-07-31 19:43:31 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.