Bug 1989604 - IBMCLOUD: panic: runtime error: invalid memory address or nil pointer dereference
Summary: IBMCLOUD: panic: runtime error: invalid memory address or nil pointer derefer...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.9.0
Assignee: Patrick Dillon
QA Contact: Pedro Amoedo
URL:
Whiteboard:
: 1989630 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-03 14:27 UTC by Nikolaos Leandros Moraitis
Modified: 2021-10-18 17:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:44:13 UTC
Target Upstream Version: 4.9
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 5129 0 None None None 2021-08-03 16:10:45 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:44:29 UTC

Description Nikolaos Leandros Moraitis 2021-08-03 14:27:12 UTC
goroutine 1 [running]:
github.com/openshift/installer/pkg/asset/installconfig/ibmcloud.(*Client).GetVSIProfiles(0xc000c186e0, 0x11cc5438, 0xc0000780f0, 0xc000f54d08, 0x5044f1, 0x8, 0x10066960, 0xc000daa000)
	/go/src/github.com/openshift/installer/pkg/asset/installconfig/ibmcloud/client.go:290 +0x77
github.com/openshift/installer/pkg/asset/installconfig/ibmcloud.validateMachinePoolType(0x11e25338, 0xc000c186e0, 0xc000edf8b8, 0x8, 0xc000aefe00, 0xc000aefd01, 0xc000aefe00, 0xc000f54e60)
	/go/src/github.com/openshift/installer/pkg/asset/installconfig/ibmcloud/validation.go:73 +0x64
github.com/openshift/installer/pkg/asset/installconfig/ibmcloud.validateMachinePool(0x11e25338, 0xc000c186e0, 0xc000ae6000, 0xc000ae09f0, 0xc000aefe00, 0x0, 0xc000aefe00, 0xc000eadce0)
	/go/src/github.com/openshift/installer/pkg/asset/installconfig/ibmcloud/validation.go:58 +0x38b
github.com/openshift/installer/pkg/asset/installconfig/ibmcloud.Validate(0x11e25338, 0xc000c186e0, 0xc000a91d40, 0x0, 0x0)
	/go/src/github.com/openshift/installer/pkg/asset/installconfig/ibmcloud/validation.go:24 +0x5d0
github.com/openshift/installer/pkg/asset/installconfig.(*InstallConfig).platformValidation(0xc000ae0390, 0x0, 0x0)
	/go/src/github.com/openshift/installer/pkg/asset/installconfig/installconfig.go:197 +0x275
github.com/openshift/installer/pkg/asset/installconfig.(*InstallConfig).finish(0xc000ae0390, 0x104cd0b0, 0x13, 0x14b1, 0x1018a400)
	/go/src/github.com/openshift/installer/pkg/asset/installconfig/installconfig.go:162 +0x252
github.com/openshift/installer/pkg/asset/installconfig.(*InstallConfig).Load(0xc000ae0390, 0x11bf3720, 0xc0003f93b0, 0x11cf8bd8, 0xc000ae0390, 0xc000ae0390)
	/go/src/github.com/openshift/installer/pkg/asset/installconfig/installconfig.go:136 +0x1f3
github.com/openshift/installer/pkg/asset/store.(*storeImpl).load(0xc0011efd10, 0x11c20838, 0xc0011eff20, 0xc00053a88c, 0x4, 0xc00053a88c, 0x4, 0x0)
	/go/src/github.com/openshift/installer/pkg/asset/store/store.go:264 +0x455
github.com/openshift/installer/pkg/asset/store.(*storeImpl).load(0xc0011efd10, 0x11c20808, 0xc000144c20, 0x10446cc0, 0x2, 0x10446cc0, 0x2, 0x0)
	/go/src/github.com/openshift/installer/pkg/asset/store/store.go:247 +0x2d7
github.com/openshift/installer/pkg/asset/store.(*storeImpl).load(0xc0011efd10, 0x11c20ad8, 0x19c3adc0, 0x0, 0x0, 0x2, 0x2, 0x0)
	/go/src/github.com/openshift/installer/pkg/asset/store/store.go:247 +0x2d7
github.com/openshift/installer/pkg/asset/store.(*storeImpl).fetch(0xc0011efd10, 0x11c20ad8, 0x19c3adc0, 0x0, 0x0, 0x40b845, 0xebb84c0)
	/go/src/github.com/openshift/installer/pkg/asset/store/store.go:201 +0xa45
github.com/openshift/installer/pkg/asset/store.(*storeImpl).Fetch(0xc0011efd10, 0x11c20ad8, 0x19c3adc0, 0x19be6620, 0x4, 0x4, 0xed89a394f, 0x864ea46fd20748c)
	/go/src/github.com/openshift/installer/pkg/asset/store/store.go:77 +0x4b
main.runTargetCmd.func1(0x7ffef933b8b6, 0xe, 0xc000425a70, 0x0)
	/go/src/github.com/openshift/installer/cmd/openshift-install/create.go:238 +0x12d
main.runTargetCmd.func2(0x19bf4fe0, 0xc0003f9130, 0x0, 0x1)
	/go/src/github.com/openshift/installer/cmd/openshift-install/create.go:265 +0xb5
github.com/spf13/cobra.(*Command).execute(0x19bf4fe0, 0xc0003f9120, 0x1, 0x1, 0x19bf4fe0, 0xc0003f9120)
	/go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:854 +0x2c2
github.com/spf13/cobra.(*Command).ExecuteC(0xc00055ab00, 0xc000f55de8, 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:72 +0x2fe
main.main()
	/go/src/github.com/openshift/installer/cmd/openshift-install/main.go:50 +0x259 


Observe in job: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_release/20433/rehearse-20433-pull-ci-openshift-installer-master-e2e-ibmcloud/1422268369582690304#1:build-log.txt%3A59

PR: https://github.com/openshift/release/pull/20433/

Comment 1 Christopher J Schaefer 2021-08-03 16:00:33 UTC
*** Bug 1989630 has been marked as a duplicate of this bug. ***

Comment 7 Pedro Amoedo 2021-09-01 13:18:48 UTC
[QA Summary]

IBMCloud is under active development and this patch cannot be fully tested at this moment, however, the change is just an error wrapper and the panic error is no longer present within the buid logs from the CI jobs, therefore, I'm moving this BZ to VERIFIED.

Comment 10 errata-xmlrpc 2021-10-18 17:44:13 UTC
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.9.0 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:3759


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