Bug 1948923
| Summary: | [aws] installer forces the platform.aws.amiID option to be set, while installing a cluster into GovCloud or C2S region | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Yunfei Jiang <yunjiang> |
| Component: | Installer | Assignee: | Matthew Staebler <mstaeble> |
| Installer sub component: | openshift-installer | QA Contact: | Yunfei Jiang <yunjiang> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | bleanhar, mstaeble |
| Version: | 4.8 | Keywords: | Regression |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
Bug in new feature.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 22:59:54 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: | 1945467 | ||
This is a consequence of changes made in https://github.com/openshift/installer/pull/4801. verified. PASS. OCP version: 4.8.0-0.nightly-2021-04-24-175929 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.8.2 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:2438 |
Description of problem: There are two ways to provide amiID while installing a cluster into GovCloud or C2S region option 1: `controlPlane.platform.aws.amiID` and `compute[0].platform.aws.amiID` option 2: `platform.aws.amiID` installer reports a FATAL error while using option 1: FATAL failed to fetch Kubeconfig Admin Client: failed to load asset "Install Config": platform.aws.amiID: Required value: AMI must be provided This should be a regression issue, since it works well on 4.6.24 GA and 4.7.6 GA Version-Release number of selected component (if applicable): OCP 4.8.0-0.nightly-2021-04-09-222447 How reproducible: Always. Steps to Reproduce: 1. Create install-conifg.yaml apiVersion: v1 baseDomain: qe.devcluster.openshift.com compute: - architecture: amd64 hyperthreading: Enabled name: worker platform: aws: amiID: ami-0b12252a3e0823aab replicas: 3 controlPlane: architecture: amd64 hyperthreading: Enabled name: master platform: aws: amiID: ami-0b12252a3e0823aab replicas: 3 metadata: creationTimestamp: null name: yunjiang-3424-mw networking: clusterNetwork: - cidr: 10.128.0.0/14 hostPrefix: 23 machineNetwork: - cidr: 10.0.0.0/16 networkType: OpenShiftSDN serviceNetwork: - 172.30.0.0/16 platform: aws: region: us-gov-west-1 publish: Internal pullSecret: <HIDDEN> sshKey: <HIDDEN> 2. Create ignition-configs Actual results: FATAL failed to fetch Kubeconfig Admin Client: failed to load asset "Install Config": platform.aws.amiID: Required value: AMI must be provided Expected results: INFO Consuming Install Config from target directory INFO Credentials loaded from the "default" profile in file "/home/ec2-user/.aws/credentials" INFO Ignition-Configs created in: /tmp/aaaaa3702-p and /tmp/aaaaa3702-p/auth Additional info: