azure-cli-extensions: aks create fails when not specifying --node-osdisk-diskencryptionset-id
- If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli
aks-preview 0.4.26
aks create fails when not specifying --node-osdisk-diskencryptionset-id
az aks create -g $RG -n $XXX --node-count 1 --generate-ssh-keys
fails with error:
Property id ‘’ at path ‘properties.diskEncryptionSetID’ is invalid. Expect fully qualified resource Id that start with ‘/subscriptions/{subscriptionId}’ or ‘/providers/{resourceProviderNamespace}/’.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 7
- Comments: 23 (4 by maintainers)
Commits related to this issue
- Workaround azure-cli cluster creation bug Azure-cli 2.11.0 fails to create any cluster with the following error: ``` Property id '' at path 'properties.diskEncryptionSetID' is invalid. Expect fully ... — committed to elastic/cloud-on-k8s by sebgl 4 years ago
- Workaround azure-cli cluster creation bug (#3672) Azure-cli 2.11.0 fails to create any cluster with the following error: ``` Property id '' at path 'properties.diskEncryptionSetID' is invalid. Ex... — committed to elastic/cloud-on-k8s by sebgl 4 years ago
As a workaround I rolled back to the previous version:
this bug is back and I’m not using preview.
az extension list { “experimental”: false, “extensionType”: “whl”, “preview”: false, “version”: “0.8.0” }
latest Azure CLI 2.11.1 works now
I am also experiencing this problem. Updated az cli to latest 2.0.79 but it had no effect.
My scripts have not changed since mid December, at which time all commands worked fine to create my cluster.