-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.20
-
Quality / Stability / Reliability
-
False
-
-
None
-
Moderate
-
None
-
None
-
None
-
OpenShift SPLAT - Sprint 276, OpenShift SPLAT - Sprint 277, OpenShift SPLAT - Sprint 278
-
3
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
Found some issues when setting dataDisks.managedDisk under controlPlane and compute section in install-config In install-config.yaml, specify fields under dataDisks.managedDisk except storageAccountType =========== compute: - architecture: amd64 hyperthreading: Enabled name: worker platform: azure: type: Standard_DC4ads_v5 dataDisks: - cachingType: ReadWrite diskSizeGB: 256 lun: 1 nameSuffix: vardisk managedDisk: diskEncryptionSet: id: /subscriptions/53b8f551-f0fc-4bea-8cba-6d1fefd54c8a/resourceGroups/jima-test-rg/providers/Microsoft.Compute/diskEncryptionSets/jima-test-des securityProfile: securityEncryptionType: VMGuestStateOnly diskSetup: - type: user-defined userDefined: platformDiskID: vardisk mountPath: /var replicas: 3 controlPlane: architecture: amd64 hyperthreading: Enabled name: master platform: azure: type: Standard_DC4ads_v5 dataDisks: - cachingType: ReadWrite diskSizeGB: 256 lun: 1 nameSuffix: uddisk managedDisk: diskEncryptionSet: id: /subscriptions/53b8f551-f0fc-4bea-8cba-6d1fefd54c8a/resourceGroups/jima-test-rg/providers/Microsoft.Compute/diskEncryptionSets/jima-test-des securityProfile: securityEncryptionType: VMGuestStateOnly diskSetup: - type: user-defined userDefined: platformDiskID: uddisk mountPath: /var/lib/containers replicas: 3 create cluster, installation fails to create control plane machines due to empty storageAccountType ERROR failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to create control-plane manifest: admission webhook "validation.azuremachine.infrastructure.cluster.x-k8s.io" denied the request: AzureMachine.infrastructure.cluster.x-k8s.io "jimadisk-9wbww-master-0" is invalid: dataDisks.managedDisk.StorageAccountType: Required value: the Storage Account Type for Managed Disk cannot be empty If not specifying managedDisk under dataDisks object, I see storage account type for new created disk is "Premium_LRS"
Version-Release number of selected component (if applicable):
built from PR https://github.com/openshift/installer/pull/9706
How reproducible:
Always
Steps to Reproduce:
1. Configure dataDisks with managedDisk settings under both controlaPlane and compute sections 2. Create cluster 3.
Actual results:
Installation failed
Expected results:
Installation succeeded
Additional info: