Bug 2027387
Summary: | [IBMCLOUD] Terraform ibmcloud-provider buffers entirely the qcow2 image causing spikes of 5GB of RAM during installation | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Pedro Amoedo <pamoedom> |
Component: | Installer | Assignee: | aos-install |
Installer sub component: | openshift-installer | QA Contact: | Pedro Amoedo <pamoedom> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | cschaefe, jnowicki |
Version: | 4.10 | ||
Target Milestone: | --- | ||
Target Release: | 4.10.0 | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-03-10 16:30:41 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: | |
Embargoed: |
Description
Pedro Amoedo
2021-11-29 14:19:43 UTC
As a reference, "terraform-provider-vsphereprivate" calls "newLeaseUpdater"[1] function for the split image operation of the OVA file. [1] - https://github.com/openshift/installer/blob/master/vendor/github.com/vmware/govmomi/nfc/lease_updater.go#L70 Best Regards. FWIW, a different approach is the OpenStack "uploadBaseImage"[1] function thet creates a new image in Glance and uploads the RHCOS image there. [1] - https://github.com/openshift/installer/blob/master/pkg/tfvars/openstack/rhcos_image.go#L21 Best Regards. [pre-merge testing] With the current PR[1], the installer (along with tf-ibm-provider) is not exceeding 300MB during all installations phases, initiation, COS bucket image creation, bootstrap, etc. So far so good. [1] - https://github.com/openshift/installer/pull/5436 *** PASSED *** 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 (Moderate: OpenShift Container Platform 4.10.3 security 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/RHSA-2022:0056 |