You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OCPBUGS-33234: azure: bump profile used for network
It seems Azure has added support for multiple address prefixes for a
subnet. This means that getting subnet details might return only
`addressPrefixes` while `addressPrefix` is `nil`. In such cases, the
Installer will fail with a SIGSEGV:
```
$ ../openshift-install create manifests --dir .
INFO Credentials loaded from file "/root/.azure/osServicePrincipal.json"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2f7d2e9]
goroutine 1 [running]:
github.com/openshift/installer/pkg/asset/installconfig/azure.validateSubnet({0xc000e1ade8?, 0x237b46b8?}, 0xc000122018?, 0xc000abee40, {0xc000e29d40, 0x28}, {0xc000001080, 0x1, 0x4})
/go/src/github.com/openshift/installer/pkg/asset/installconfig/azure/validation.go:529 +0x69
github.com/openshift/installer/pkg/asset/installconfig/azure.validateNetworks({0x237e1268, 0xc000015f78}, 0xc0000ced00, {0xc000001080, 0x1, 0x4}, 0xc000a4cde0)
/go/src/github.com/openshift/installer/pkg/asset/installconfig/azure/validation.go:512 +0x2ff
[...]
```
Let's bump the profile version used from 2018-03-01 to 2020-09-01 so we
can have access to both properties and select the appropriate one.
0 commit comments