Bug 1996501

Summary: Instance types with less than 8GB memory are listed in AWS UPI templates, but they do not meet memory minimum requirement for cluster
Product: OpenShift Container Platform Reporter: Yunfei Jiang <yunjiang>
Component: InstallerAssignee: Aditya Narayanaswamy <anarayan>
Installer sub component: openshift-installer QA Contact: Yunfei Jiang <yunjiang>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: anarayan, gpei
Version: 4.9   
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1996503 (view as bug list) Environment:
Last Closed: 2021-10-18 17:47:54 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:
Bug Depends On:    
Bug Blocks: 1996503    

Description Yunfei Jiang 2021-08-23 03:05:46 UTC
Workers with less than 8GB memory can not meet cluster install for minimum requirement (8G at least, https://github.com/openshift/installer/pull/4258), they should be removed from UPI templates:
c4.large 3840MB
c5.large 4096MB
c5a.large 4096MB
c4.xlarge 7680MB

Workers with less than 4GB memory will cause monitor operator degraded:

Events:
  Type     Reason            Age   From               Message
  ----     ------            ----  ----               -------
  Warning  FailedScheduling  19h   default-scheduler  0/5 nodes are available: 2 Insufficient memory, 3 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate.


NAME                                       VERSION                             AVAILABLE   PROGRESSING   DEGRADED   SINCE
authentication                             4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
baremetal                                  4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
cloud-credential                           4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
cluster-autoscaler                         4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
config-operator                            4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
console                                    4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
csi-snapshot-controller                    4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
dns                                        4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
etcd                                       4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
image-registry                             4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
ingress                                    4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
insights                                   4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
kube-apiserver                             4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
kube-controller-manager                    4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
kube-scheduler                             4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
kube-storage-version-migrator              4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
machine-api                                4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
machine-approver                           4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
machine-config                             4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
marketplace                                4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
monitoring                                                                     False       True          True       19h
network                                    4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
node-tuning                                4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
openshift-apiserver                        4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
openshift-controller-manager               4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
openshift-samples                          4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
operator-lifecycle-manager                 4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
operator-lifecycle-manager-catalog         4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
operator-lifecycle-manager-packageserver   4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
service-ca                                 4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h
storage                                    4.8.0-0.nightly-2021-08-12-174317   True        False         False      19h


Version:
OCP: 4.6+

Platform:
UPI on AWS

How to reproduce it (as minimally and precisely as possible)?
Setting worker instance with 4GB memory, e.g. c4.large, and install an OCP cluster

Comment 5 Gaoyun Pei 2021-09-08 04:40:23 UTC
"we should drop the AllowedValues section(s) completely. This is just a reference architecture and the minimum requirements are already covered in docs. Doing so here feels like an unnecessary maintenance burden"
+1 for this, corresponding doc changes was required in https://bugzilla.redhat.com/show_bug.cgi?id=1996503.

PR already merged, move bug to verified.

Comment 7 errata-xmlrpc 2021-10-18 17:47:54 UTC
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