Bug 1990206

Summary: Incorrect AWS Supported instance type
Product: OpenShift Container Platform Reporter: Yunfei Jiang <yunjiang>
Component: InstallerAssignee: Etienne Simard <esimard>
Installer sub component: openshift-installer QA Contact: Yunfei Jiang <yunjiang>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: medium CC: eponvell, esimard
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:
: 1998243 (view as bug list) Environment:
Last Closed: 2021-10-18 17:45:04 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: 1998243, 1998248, 2002349, 2015021    

Description Yunfei Jiang 2021-08-05 03:17:59 UTC
there is an invalid type (m5a.10xlarge) in AWS UPI template:
https://github.com/openshift/installer/blob/master/upi/aws/cloudformation/05_cluster_master_nodes.yaml
https://github.com/openshift/installer/blob/master/upi/aws/cloudformation/06_cluster_worker_node.yaml

Version: 4.6+

> aws ec2 describe-instance-types --instance-types m5a.10xlarge
An error occurred (InvalidInstanceType) when calling the DescribeInstanceTypes operation: The following supplied instance types do not exist: [m5a.10xlarge]

Suggestions: use m5a.12xlarge instead of m5a.10xlarge.

related doc bug: https://bugzilla.redhat.com/show_bug.cgi?id=1977897

Comment 1 Etienne Simard 2021-08-05 13:01:46 UTC
Hello, thanks for opening this bug!

It looks like AWS removed m5a.10xlarge and the current instance that would replace it is indeed m5a.12xlarge so we do indeed need to update this.

https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstanceTypes.html

Since this does not affect the majority of UPI installations, I changed the severity to low (https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-upi-4.9/1422910945121800192)

Comment 2 Eric Ponvelle 2021-08-09 19:28:45 UTC
I created a PR to address that here: https://github.com/openshift/openshift-docs/pull/35359

PTAL at your earliest convenience. Thanks!

Comment 4 Yunfei Jiang 2021-08-10 02:24:46 UTC
Added some comments in PR.

Comment 5 Etienne Simard 2021-08-26 16:51:22 UTC
The installer changes have been merged already.

Comment 10 errata-xmlrpc 2021-10-18 17:45:04 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