Bug 2017874 - The installer is incorrectly checking the quota for X instances instead of G and VT instances
Summary: The installer is incorrectly checking the quota for X instances instead of G ...
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.9
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.10.0
Assignee: Aditya Narayanaswamy
QA Contact: Yunfei Jiang
Depends On:
TreeView+ depends on / blocked
Reported: 2021-10-27 15:43 UTC by Beth White
Modified: 2022-03-10 16:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The installer defaults all unknown instances to type X. This caused even the G and VT instances that were not previously considered to be defaulted to X. Adding a case statement to provide a separate quota values for G and VT instances.
Clone Of:
Last Closed: 2022-03-10 16:22:12 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift installer pull 5510 0 None open Bug 2017874: Check quota for G and VT instances 2022-01-05 17:45:41 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:22:25 UTC

Description Beth White 2021-10-27 15:43:05 UTC
The Installer is checking the wrong quota when the user selected G or VT instance types. The installer only knows about "Standard (A, C, D, H, I, M, R, T, Z) instances" and assumes that everything else falls under "X instances". The installer should instead be checking the quotas for "G and VT instances". This is a deficiency in the validation around available quota in the user's account.

There is a current workaround for the customer to either (1) have the user increase their quota for X instances or (2) have the user use an IAM user that does not have permission to check quota.

Comment 4 Yunfei Jiang 2022-01-27 03:15:44 UTC
verified. PASS.

aws service-quotas list-service-quotas --service-code=ec2 --query 'Quotas[?QuotaCode==`L-DB2E81BA`]' | jq .[].Value

aws ec2 describe-instance-types --instance-types g3.16xlarge | jq '.InstanceTypes[].VCpuInfo.DefaultVCpus'

- architecture: amd64
  hyperthreading: Enabled
  name: worker
      type: g3.16xlarge
  replicas: 12
  architecture: amd64
  hyperthreading: Enabled
  name: master
      type: g3.16xlarge
  replicas: 3

error message:
FATAL failed to fetch Cluster: failed to fetch dependency of "Cluster": failed to generate asset "Platform Quota Check": error(MissingQuota): ec2/L-DB2E81BA is not available in us-east-2 because the required number of resources (960) is more than the limit of 920

Comment 5 Yunfei Jiang 2022-01-27 03:16:17 UTC
OCP version: 4.10.0-0.nightly-2022-01-24-070025

Comment 8 errata-xmlrpc 2022-03-10 16:22:12 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.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.


Note You need to log in before you can comment on or make changes to this bug.