Description of problem:
Public rhcos is available on AWS GovCloud now, https://issues.redhat.com/browse/COS-822
But AMI ID is still required by openshift-installer:
openshift-install create cluster --dir gov1
? SSH Public Key /home/cloud-user/.ssh/openshift-qe.pub
? Platform aws
INFO Credentials loaded from the "default" profile in file "/home/cloud-user/.aws/credentials"
? Region us-gov-east-1
? Base Domain qe.devcluster.openshift.com
? Cluster Name yunjiang-gova
? Pull Secret [? for help]
FATAL failed to fetch Metadata: failed to fetch dependency of "Metadata": failed to fetch dependency of "Cluster ID": failed to generate asset "Install Config": invalid install config: [controlPlane.platform.aws: Required value: AMI ID must be provided for regions cn-north-1, cn-northwest-1, us-gov-east-1, us-gov-west-1, us-iso-east-1, compute.platform.aws: Required value: AMI ID must be provided for regions cn-north-1, cn-northwest-1, us-gov-east-1, us-gov-west-1, us-iso-east-1]
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.create cluster on AWS GovCloud but do not provide AMI ID
Fatal error, Required value: AMI ID must be provided for regions cn-north-1, cn-northwest-1, us-gov-east-1, us-gov-west-1, us-iso-east-1]
No fatal error, Install cluster successfully.
verified. PASS. 4.10.0-0.nightly-2022-01-29-215708
- architecture: amd64
- cidr: 10.128.0.0/14
- cidr: 10.0.0.0/16
We still can not create cluster on AWS GovCloud regions via terminal interactive UI, see Bug 2048222 - [AWS GovCloud] Cluster can not be installed on AWS GovCloud regions via terminal interactive UI.
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.