Bug 1946119
| Summary: | panic parsing install-config | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Luis Sanchez <sanchezl> |
| Component: | Installer | Assignee: | Matthew Staebler <mstaeble> |
| Installer sub component: | openshift-installer | QA Contact: | Yunfei Jiang <yunjiang> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | urgent | ||
| Priority: | urgent | CC: | mstaeble, rbrattai, tsze, yunjiang |
| Version: | 4.8 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
This is a bug fix of new functionality.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 22:57:19 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: | 1945907 | ||
I tried and reproduced it using AWS - but not GCP. Just choose AWS and install. *** Bug 1946412 has been marked as a duplicate of this bug. *** Workaround, in both platforms dicts.
compute:
- name: worker
platform:
aws:
iamRole: ""
controlPlane:
name: master
platform:
aws:
iamRole: ""
verified. PASS. OCP version: 4.8.0-0.nightly-2021-04-08-005413 > config 1 compute: - name: worker platform: {} controlPlane: name: master platform: {} platform: aws: region: us-east-2 > config 2 compute: - name: worker platform: {} controlPlane: name: master platform: {} platform: aws: region: us-east-2 defaultMachinePlatform: iamRole: existing_iam_role 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 |
Version: $ openshift-install version openshift-install 4.8.0-0.nightly-2021-04-03-092337 built from commit af24457b32af35787a0ec84c3b2037877ef27a33 release image registry.ci.openshift.org/ocp/release@sha256:db9b9f96f58825bb37fdd9c3728067d639ea0ae15846934df600fd5c6aeda0e8 Platform: aws/IPI What happened? INFO Creating infrastructure resources... panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x70 pc=0x2bfdf20] goroutine 1 [running]: github.com/openshift/installer/pkg/asset/cluster/aws.tagIamRoles(0xec51a78, 0xc0001a0008, 0xc001aad960, 0xe, 0xc001d0b0a0, 0x0, 0x0) What did you expect to happen? Install to succeed. How to reproduce it (as minimally and precisely as possible)? In your install-config.yaml: controlPlane: platform: {} note there is no `aws` field. Anything else we need to know? Adding aws property to platform fixes it: controlPlane: platform: aws: {} aws field is nillable, so a nil check is needed when reading the iamRole