-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
4.17.z, 4.18.z, 4.19.z, 4.20.z, 4.21.0, 4.22
This is a clone of issue OCPBUGS-76450. The following is the description of the original issue:
—
The PR for MCO-1117 optimised local developer builds of the MCO container by mounting a cache directory shared between the build stages and removing the commands to clear the cache.
Due to RHEL-129120, the directory mounts had to be removed by the fix for OCPBUGS-65726, which was also backported all the way to 4.17. However, the original patch was not reverted in its entirety and this change did not reinstate the code to clear the cache. Therefore we are now shipping a 1.2GiB yum cache inside the MCO container, tripling the size of the image.
This appears to be causing all kinds of problems during bootstrapping in environments where disk space is constrained - particularly assisted installs (including ABI, ZTP) where the container must be pulled from within a running live ISO. In particular the ABI HA job is permafailing because workers do not have enough memory to pull the MCO image while running from the ephemeral ramdisk (which is limited to half the size of the available RAM). It may also be related to the failure of https://github.com/openshift-metal3/dev-scripts/pull/1819 to pass CI, and to various memory-related CI issues reported in assisted e2e jobs.
- clones
-
OCPBUGS-76450 Massive MCO container causing memory problems during bootstrapping
-
- ON_QA
-
- is blocked by
-
OCPBUGS-76450 Massive MCO container causing memory problems during bootstrapping
-
- ON_QA
-
- links to