-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.18.0
-
None
Description of problem:
Azure installer panics if there's insufficient permissions to check for ip availability when creating a load balancer
Version-Release number of selected component (if applicable):
How reproducible:
Frequent if there's a permissions issue to get available IPs
Steps to Reproduce:
1. Create cluster on Azure
Actual results:
Full on panic [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x3c11064] goroutine 1 [running]: github.com/openshift/installer/pkg/asset/manifests/azure.getNextAvailableIP({0x22548bc0, 0x272aab80}, 0xc002056840) /go/src/github.com/openshift/installer/pkg/asset/manifests/azure/cluster.go:270 +0x124 github.com/openshift/installer/pkg/asset/manifests/azure.GenerateClusterAssets(0xc002056840, 0xc0010b7e40) /go/src/github.com/openshift/installer/pkg/asset/manifests/azure/cluster.go:120 +0xbcb github.com/openshift/installer/pkg/asset/manifests/clusterapi.(*Cluster).Generate(0x27263570, {0x5?, 0x8aa87ee?}, 0xc001fcf530) /go/src/github.com/openshift/installer/pkg/asset/manifests/clusterapi/cluster.go:103 +0x57b github.com/openshift/installer/pkg/asset/store.(*storeImpl).fetch(0xc000eed200, {0x22548c70, 0xc001182000}, {0x2251ea10, 0x27263570}, {0x0, 0x0}) /go/src/github.com/openshift/installer/pkg/asset/store/store.go:227 +0x6e2 github.com/openshift/installer/pkg/asset/store.(*storeImpl).Fetch(0xc000eed200, {0x22548c70?, 0xc001182000?}, {0x2251ea10, 0x27263570}, {0x272259c0, 0x6, 0x6}) /go/src/github.com/openshift/installer/pkg/asset/store/store.go:77 +0x4e github.com/openshift/installer/pkg/asset/store.(*fetcher).FetchAndPersist(0xc00119a3e0, {0x22548c70, 0xc001182000}, {0x272259c0, 0x6, 0x6}) /go/src/github.com/openshift/installer/pkg/asset/store/assetsfetcher.go:47 +0x16b main.newCreateCmd.runTargetCmd.func3({0x7ffcc595a72a?, 0xe?}) /go/src/github.com/openshift/installer/cmd/openshift-install/create.go:321 +0x6a main.newCreateCmd.runTargetCmd.func4(0x27231000, {0xc00119a1d0?, 0x4?, 0x8a5d385?}) /go/src/github.com/openshift/installer/cmd/openshift-install/create.go:335 +0x102 github.com/spf13/cobra.(*Command).execute(0x27231000, {0xc00119a1b0, 0x1, 0x1}) /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:989 +0xa91 github.com/spf13/cobra.(*Command).ExecuteC(0xc000ee0f08) /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:1117 +0x3ff github.com/spf13/cobra.(*Command).Execute(...) /go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:1041 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
Expected results:
No panic and provide error messages.
Additional info:
Slack link: https://redhat-internal.slack.com/archives/C01V1DP387R/p1738888488097589
- blocks
-
OCPBUGS-50840 Installer azure panics if there's insufficient permissions
-
- New
-
- is cloned by
-
OCPBUGS-50840 Installer azure panics if there's insufficient permissions
-
- New
-
- links to