-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.20, 4.21
-
Quality / Stability / Reliability
-
False
-
-
None
-
Moderate
-
None
-
None
-
None
-
OpenShift SPLAT - Sprint 277, OpenShift SPLAT - Sprint 278
-
2
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
install-config.yaml: ======== featureSet: CustomNoUpgrade featureGates: ["AzureMultiDisk=true", "MultiDiskSetup=true", "NodeSwap=true"] baseDomain: qe.azure.devcluster.openshift.com platform: azure: region: westus2 userTags: expiration_date: 2025-09-03T18:46+00:00 baseDomainResourceGroupName: os4-common controlPlane: architecture: arm64 name: master replicas: 3 platform: azure: type: null dataDisks: - nameSuffix: swapdisk diskSizeGB: 64 lun: 0 diskSetup: - type: swap swap: platformDiskID: "swapdisk" compute: - architecture: arm64 name: worker replicas: 3 platform: azure: type: Standard_D4ps_v5 dataDisks: - nameSuffix: swapdisk diskSizeGB: 64 lun: 9 diskSetup: - type: swap swap: platformDiskID: "swapdisk" created cluster and got below panic: ================ level=warning msg=Found override for release image (registry.build05.ci.openshift.org/ci-op-3203dvwk/release@sha256:b9458d2cfa8c8bae9e11fbf7449b23aba7d8f5b0b53c72c33ade6ec6e1a851de). Release Image Architecture is unknown level=info msg=Credentials loaded from file "/tmp/secret/azure_minimal_permission" panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5926b3e] goroutine 1 [running]: github.com/openshift/installer/pkg/asset/machines.(*Master).Generate(0x25d9ad20, {0x205b4a08, 0xc001094410}, 0xc000e721e0) /go/src/github.com/openshift/installer/pkg/asset/machines/master.go:627 +0x3e3e github.com/openshift/installer/pkg/asset/store.(*storeImpl).fetch(0xc001092f60, {0x205b4a08, 0xc001094410}, {0x2058ad20, 0x25d9ad20}, {0x0, 0x0}) /go/src/github.com/openshift/installer/pkg/asset/store/store.go:227 +0x6c5 github.com/openshift/installer/pkg/asset/store.(*storeImpl).Fetch(0xc001092f60, {0x205b4a08?, 0xc001094410?}, {0x2058ad20, 0x25d9ad20}, {0x25d46360, 0x7, 0x7}) /go/src/github.com/openshift/installer/pkg/asset/store/store.go:77 +0x4e github.com/openshift/installer/pkg/asset/store.(*fetcher).FetchAndPersist(0xc000bc4a10, {0x205b4a08, 0xc001094410}, {0x25d46360, 0x7, 0x7}) /go/src/github.com/openshift/installer/pkg/asset/store/assetsfetcher.go:47 +0x15d main.newCreateCmd.runTargetCmd.func3({0x7ffd0b269328?, 0xe?}) /go/src/github.com/openshift/installer/cmd/openshift-install/create.go:301 +0x6a main.newCreateCmd.runTargetCmd.func4(0x25d535c0, {0xc000bc47d0?, 0x4?, 0xa84b5e3?}) /go/src/github.com/openshift/installer/cmd/openshift-install/create.go:315 +0x102 github.com/spf13/cobra.(*Command).execute(0x25d535c0, {0xc000bc47b0, 0x1, 0x1}) /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:1019 +0xa91 github.com/spf13/cobra.(*Command).ExecuteC(0xc001445808) /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 Create manifests exit code: 2
Version-Release number of selected component (if applicable):
4.20 nightly build
How reproducible:
Always
Steps to Reproduce:
1. configure swap data disk in install-config.yaml file 2. create cluster 3.
Actual results:
Failed to create and got panic
Expected results:
Succeed to create cluster
Additional info:
Seems some typos in https://github.com/openshift/installer/blob/main/pkg/asset/machines/master.go#L626-L627 during copy and paste in https://github.com/openshift/installer/pull/9863?