Bug 1946412 - SIGSEGV in aws.tagIamRoles during install
Summary: SIGSEGV in aws.tagIamRoles during install
Keywords:
Status: CLOSED DUPLICATE of bug 1946119
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: aos-install
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-06 03:24 UTC by Ross Brattain
Modified: 2021-04-06 13:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-06 13:57:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ross Brattain 2021-04-06 03:24:52 UTC
Version:

./openshift-install 4.8.0-0.nightly-2021-04-05-174735
built from commit c384192523635803006e24219a1cae8d9fe60477
release image registry.ci.openshift.org/ocp/release@sha256:26d4e8bf7c7b69cea82abb476d88808ed513f7facdbd218b616c56ef97d3ba21

Platform:
aws

ca-central-1

IPI
OVNKubernetes

fc33.x86_64

What happened?

level=debug msg=  Fetching Terraform Variables...
level=debug msg=  Reusing previously-fetched Terraform Variables
level=debug msg=  Fetching Kubeadmin Password...
level=debug msg=  Reusing previously-fetched Kubeadmin Password
level=debug msg=Generating Cluster...
level=info msg=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, 0xc00007c128, 0xc001052ca8, 0x15, 0xc0022841e0, 0x0, 0x0)
        /go/src/github.com/openshift/installer/pkg/asset/cluster/aws/aws.go:93 +0x60
github.com/openshift/installer/pkg/asset/cluster/aws.PreTerraform(0xec51a78, 0xc00007c128, 0xc001052ca8, 0x15, 0xc0022841e0, 0x0, 0x0)
        /go/src/github.com/openshift/installer/pkg/asset/cluster/aws/aws.go:39 +0x9f
github.com/openshift/installer/pkg/asset/cluster.(*Cluster).Generate(0x15936a30, 0xc000e62f90, 0x0, 0x0)
        /go/src/github.com/openshift/installer/pkg/asset/cluster/cluster.go:86 +0xb49
github.com/openshift/installer/pkg/asset/store.(*storeImpl).fetch(0xc00151ab10, 0x7f669660d040, 0x15936a30, 0x0, 0x0, 0x40b7e5, 0xc2e1100)
        /go/src/github.com/openshift/installer/pkg/asset/store/store.go:227 +0x7df
github.com/openshift/installer/pkg/asset/store.(*storeImpl).Fetch(0xc00151ab10, 0x7f669660d040, 0x15936a30, 0x158fdd80, 0x8, 0x8, 0x0, 0x0)
        /go/src/github.com/openshift/installer/pkg/asset/store/store.go:77 +0x4b
main.runTargetCmd.func1(0x7ffcd3c43ada, 0x4, 0xc001057500, 0x0)
        /go/src/github.com/openshift/installer/cmd/openshift-install/create.go:233 +0x12d
main.runTargetCmd.func2(0x159075a0, 0xc000aaf100, 0x0, 0x2)
        /go/src/github.com/openshift/installer/cmd/openshift-install/create.go:260 +0xb5
github.com/spf13/cobra.(*Command).execute(0x159075a0, 0xc000aaf0c0, 0x2, 0x2, 0x159075a0, 0xc000aaf0c0)
        /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:854 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0xc0014c1340, 0xc00101fdf0, 0x1, 0x1)
        /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:958 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
        /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:895
main.installerMain()
        /go/src/github.com/openshift/installer/cmd/openshift-install/main.go:71 +0x2e7
main.main()
        /go/src/github.com/openshift/installer/cmd/openshift-install/main.go:50 +0x259


#See the troubleshooting documentation (https://github.com/openshift/installer/blob/master/docs/user/troubleshooting.md) for ideas about what information to collect.


What did you expect to happen?

No SIGSEV

How to reproduce it (as minimally and precisely as possible)?

./openshift-install create install-config --dir=ocp4  --log-level=debug
Change to OVNKubernetes
./openshift-install create cluster --dir=ocp4  --log-level=debug

Anything else we need to know?


SIGSEV on 

./openshift-install 4.8.0-0.nightly-2021-04-05-174735
built from commit c384192523635803006e24219a1cae8d9fe60477
release image registry.ci.openshift.org/ocp/release@sha256:26d4e8bf7c7b69cea82abb476d88808ed513f7facdbd218b616c56ef97d3ba2

./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

No SIGSEV on 

./openshift-install 4.8.0-0.nightly-2021-04-02-002210
built from commit f8a1c586080c21af1cea9145906baebd8414a0ec
release image registry.ci.openshift.org/ocp/release@sha256:fcd50f1b2fbd0e662cb7dc554dd1009588aeef9dff601b91e0008645a9656ab0

Comment 1 Ross Brattain 2021-04-06 03:31:08 UTC
Looks like https://github.com/openshift/installer/pull/4790

Comment 2 To Hung Sze 2021-04-06 13:29:25 UTC
Duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1946119 ?

Comment 3 Matthew Staebler 2021-04-06 13:57:04 UTC

*** This bug has been marked as a duplicate of bug 1946119 ***


Note You need to log in before you can comment on or make changes to this bug.