-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.17, 4.18, 4.19
Description of problem:
If the install is performed with an AWS user missing the `ec2:DescribeInstanceTypeOfferings`, the installer will use a hardcoded instance type from the set of non-edge machine pools. This can potentially cause the edge node to fail during provisioning, since the instance type doesn't take into account edge/wavelength zones support. Because edge nodes are not needed for the installation to complete, the issue is not noticed by the installer, only by inspecting the status of the edge nodes.
Version-Release number of selected component (if applicable):
4.16+ (since edge nodes support was added)
How reproducible:
always
Steps to Reproduce:
1. Specify an edge machine pool in the install-config without an instance type 2. Run the install with an user without `ec2:DescribeInstanceTypeOfferings` 3.
Actual results:
In CI the `node-readiness` test step will fail and the edge nodes will show errorMessage: 'error launching instance: The requested configuration is currently not supported. Please check the documentation for supported configurations.' errorReason: InvalidConfiguration
Expected results:
Either 1. the permission is always required when instance type is not set for an edge pool; or 2. a better instance type default is used
Additional info:
Example CI job: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_installer/9230/pull-ci-openshift-installer-master-e2e-aws-ovn-edge-zones/1862140149505200128