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[0].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): 4.10.0-0.nightly-2022-01-24-070025 How reproducible: Always Steps to Reproduce: 1.create cluster on AWS GovCloud but do not provide AMI ID Actual results: 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] Expected results: No fatal error, Install cluster successfully. Additional info:
verified. PASS. 4.10.0-0.nightly-2022-01-29-215708 install-config: apiVersion: v1 controlPlane: architecture: amd64 hyperthreading: Enabled name: master platform: {} replicas: 3 compute: - architecture: amd64 hyperthreading: Enabled name: worker platform: {} replicas: 3 metadata: name: yunjiang-gov2 platform: aws: region: us-gov-west-1 subnets: - subnet-04d128f2fa9dacb8c - subnet-0ac9be74aa603ec87 networking: clusterNetwork: - cidr: 10.128.0.0/14 hostPrefix: 23 serviceNetwork: - 172.30.0.0/16 machineNetwork: - cidr: 10.0.0.0/16 networkType: OpenShiftSDN publish: Internal baseDomain: qe.devcluster.openshift.com sshKey: <HIDDEN> pullSecret: <HIDDEN> additional note: 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. https://access.redhat.com/errata/RHSA-2022:0056