Bug 1293586

Summary: [RFE] Use symbolic links instead of copying container image layers
Product: Red Hat Satellite Reporter: Dirk Herrmann <dherrman>
Component: Content ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: bkearney, jgiordan, mhrivnak
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-26 17:54:52 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:

Description Dirk Herrmann 2015-12-22 09:47:17 UTC
Description of problem:

Currently Satellite6 synchronize entire container image repositories and use copies for each content view and lifecycle environment combination:

[root@inf60 ~]# du -sh /var/lib/pulp/nodes/published/https/repos/*rhel-base
589M	/var/lib/pulp/nodes/published/https/repos/acme-container_images-rhel-base
468M	/var/lib/pulp/nodes/published/https/repos/acme-library-ccv-infra-openshift3-container_images-rhel-base
468M	/var/lib/pulp/nodes/published/https/repos/acme-library-cv-app-ose3-container_images-rhel-base
468M	/var/lib/pulp/nodes/published/https/repos/acme-library-cv-con-webshop-container_images-rhel-base
468M	/var/lib/pulp/nodes/published/https/repos/acme-web-dev-cv-app-ose3-container_images-rhel-base
468M	/var/lib/pulp/nodes/published/https/repos/acme-web-dev-cv-con-webshop-container_images-rhel-base
468M	/var/lib/pulp/nodes/published/https/repos/acme-web-qa-cv-app-ose3-container_images-rhel-base

Since container image repositories are quite big from a storage consumption perspective this leads to an unnecessary huge storage consumption if many container image repos and content views are used.

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

6.1

How reproducible:

Sync a container image repository. Add it to one or more content views and promote them. Verify disk usage inside pulp.

Steps to Reproduce:
1.
2.
3.

Actual results:

Repositories are copied.

Expected results:

Repositories are linked only.

Additional info:

Comment 1 Bryan Kearney 2016-07-26 19:07:33 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 5 Bryan Kearney 2016-10-26 17:54:52 UTC
Closing this out, as it is resolved in 6.2.