Description of problem: We support setting Huge pages and CPU/NUMA pining with the machine spec but not with the installer on the masters. Those features are most relevant to the masters anyway and we really should add support from the installer, currently this is a day 2 operation. HUGE PAGES: We should add a field to the installer machine spec for huge pages that acts like BZ#1948963[1], allowing 2048 or 1048576 values only, and add that field to the terraform call to the masters. CPUs/NUMAs: We should add a field to the installer machine spec for CPUs/NUMAs that acts like BZ#1948963[1], allowing Disabled, Existing or Adjust. and add that field to the terraform call to the masters. Both advanced features should be disabled by default How reproducible: always Steps to Reproduce: Deploy ocp with an install config that contains a machine set with HUGE PAGES or CPUs/NUMAs (or both) Actual results: The installer fails due to fields he doesn't know [1] https://bugzilla.redhat.com/show_bug.cgi?id=1948963 [2] https://bugzilla.redhat.com/show_bug.cgi?id=1948963
due to capacity constraints, we will be revisiting this bug in the upcoming sprint
*** Bug 1925201 has been marked as a duplicate of this bug. ***
Is this really a bug? Or is this a new feature? The presence of "RFE" in the title of the BZ seems to support this being a new feature. Can this wait to be added as a new feature in 4.9?
The yaml should look like this (copying from the PR): ... compute: - name: worker platform: ovirt: autoPinningPolicy: resize_and_pin hugepages: 2048 ... replicas: 2 controlPlane: ... name: master platform: ovirt: autoPinningPolicy: resize_and_pin hugepages: 2048 ... replicas: 3 ... Note that for hugepages you need to have enough hugepages available on your hypervisor in order to let the nodes to start.
Verified on openshift cluster version 4.9.0-0.nightly-2021-07-17-212317 and RHV engine ovirt-engine-4.4.8-0.19.el8ev.noarch
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.9.0 bug fix and 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-2021:3759