Bug 1881494

Summary: ose-base:v4.6 has bloated compared to ose-base:v4.5
Product: OpenShift Container Platform Reporter: Scott Dodson <sdodson>
Component: ReleaseAssignee: Yaakov Selkowitz <yselkowi>
Status: CLOSED CURRENTRELEASE QA Contact: Wei Sun <wsun>
Severity: high Docs Contact:
Priority: high    
Version: 4.6CC: aos-bugs, jokerman, wking
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: All   
OS: All   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-25 12:33:57 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 Scott Dodson 2020-09-22 14:13:13 UTC
Scott Dodson
I came up with an overall increase of ~ 800MiB

overall including what?

Scott Dodson
on disk size of the mirrored release image via oc adm release mirror
Also as reported by the mirror command

the main difference in ose-base seems to be that rhel8 bind(-utils) depends on libmaxminddb instead of GeoIP, and in rhel8 the former has a weak dep on very large geolite2 databases (rhel7 doesn't support weak deps, so they probably omitted the equivalent to avoid bloat).  let's see if I can figure out how to skip those

Comment 2 Scott Dodson 2020-09-25 12:33:57 UTC
We trimmed about 50MiB of on disk pre-compression size from this layer by removing weak deps from bind-utils.

Maybe at some point in the future we should do a broader audit of dependencies we can remove now that we've got a completely different base layer but this seems to have fixed the specific issue from the bug description.