-
Bug
-
Resolution: Done
-
Undefined
-
4.19
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
Done
-
Release Note Not Required
-
N/A
-
None
-
None
-
None
-
None
This is a clone of issue OCPBUGS-57192. The following is the description of the original issue:
—
Description of problem:
On a newly created Nutanix platform https://issues.redhat.com/browse/PCO-1332, OCP create install-config got panic, slack discussion pls see https://redhat-external.slack.com/archives/C0211848DBN/p1749193213106029, this should not happen. # ./openshift-install create install-config --dir cluster ? SSH Public Key /root/.ssh/openshift-qe.pub ? Platform nutanix ? Prism Central prismcentral.lts2-cluster.internal.nutanix-dev.devcluster.openshift.com ? Port 9440 ? Username sgao ? Password [? for help] **************** INFO Connecting to Prism Central prismcentral.lts2-cluster.internal.nutanix-dev.devcluster.openshift.com ? Prism Element Development-LTS2 panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x475149b] goroutine 1 [running]: github.com/openshift/installer/pkg/asset/installconfig/nutanix.getPrismElement({0x1f9833f0?, 0x24eb37e0?}, 0xc0005be120) /go/src/github.com/openshift/installer/pkg/asset/installconfig/nutanix/nutanix.go:205 +0x67b github.com/openshift/installer/pkg/asset/installconfig/nutanix.Platform() /go/src/github.com/openshift/installer/pkg/asset/installconfig/nutanix/nutanix.go:54 +0xda github.com/openshift/installer/pkg/asset/installconfig.(*platform).Generate(0xc0000fce40, {0x1f9834d0, 0xc0006f6000}, 0x12?) /go/src/github.com/openshift/installer/pkg/asset/installconfig/platform.go:105 +0x1f5 github.com/openshift/installer/pkg/asset/store.(*storeImpl).fetch(0xc00067dc80, {0x1f9834d0, 0xc0006f6000}, {0x1f958e10, 0xc0000fce40}, {0xc0015b16d8, 0x4}) /go/src/github.com/openshift/installer/pkg/asset/store/store.go:227 +0x6c5 github.com/openshift/installer/pkg/asset/store.(*storeImpl).fetch(0xc00067dc80, {0x1f9834d0, 0xc0006f6000}, {0x1f958d80, 0xc000add180}, {0x9fd31d4, 0x2}) /go/src/github.com/openshift/installer/pkg/asset/store/store.go:221 +0x52b github.com/openshift/installer/pkg/asset/store.(*storeImpl).fetch(0xc00067dc80, {0x1f9834d0, 0xc0006f6000}, {0x1f954540, 0x24e7b260}, {0x0, 0x0}) /go/src/github.com/openshift/installer/pkg/asset/store/store.go:221 +0x52b github.com/openshift/installer/pkg/asset/store.(*storeImpl).Fetch(0xc00067dc80, {0x1f9834d0?, 0xc0006f6000?}, {0x1f954540, 0x24e7b260}, {0x24cfc190, 0x1, 0x1}) /go/src/github.com/openshift/installer/pkg/asset/store/store.go:77 +0x4e github.com/openshift/installer/pkg/asset/store.(*fetcher).FetchAndPersist(0xc00103e680, {0x1f9834d0, 0xc0006f6000}, {0x24cfc190, 0x1, 0x1}) /go/src/github.com/openshift/installer/pkg/asset/store/assetsfetcher.go:47 +0x15d main.newCreateCmd.runTargetCmd.func3({0x7ffc4e135556?, 0x7?}) /go/src/github.com/openshift/installer/cmd/openshift-install/create.go:321 +0x6a main.newCreateCmd.runTargetCmd.func4(0x24e37a80, {0xc000adcf00?, 0x4?, 0x9fd4ae3?}) /go/src/github.com/openshift/installer/cmd/openshift-install/create.go:335 +0x102 github.com/spf13/cobra.(*Command).execute(0x24e37a80, {0xc000adcec0, 0x2, 0x2}) /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:1019 +0xa91 github.com/spf13/cobra.(*Command).ExecuteC(0xc0013e3208) /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:1148 +0x46f github.com/spf13/cobra.(*Command).Execute(...) /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:1071 main.installerMain() /go/src/github.com/openshift/installer/cmd/openshift-install/main.go:67 +0x390 main.main() /go/src/github.com/openshift/installer/cmd/openshift-install/main.go:39 +0x168
Version-Release number of selected component (if applicable):
4.20.0-0.nightly-2025-06-08-062715
How reproducible:
always
Steps to Reproduce:
1. Create install config 2. 3.
Actual results:
Installer got panic
Expected results:
Installer should return reasonable error message
Additional info:
- clones
-
OCPBUGS-57192 [Nutanix] create install-config got panic on a new version Nutanix
-
- Verified
-
- is blocked by
-
OCPBUGS-57192 [Nutanix] create install-config got panic on a new version Nutanix
-
- Verified
-
- links to