azure-cli
azure-cli copied to clipboard
Instance mix create returns NoneType exception
This is autogenerated. Please review and update as needed.
Describe the bug
Trying to create vmss with instance mix
Command Name
az vmss create
Errors:
'NoneType' object has no attribute 'get'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here...
-
az vmss create --resource-group {} --name {} --image {} --instance-count {} --vm-sku {} --skuprofile-vmsizes {} {} {} --skuprofile-allocation-strategy {} --zones {} {} {} --orchestration-mode {} --platform-fault-domain-count {} --admin-username {} --generate-ssh-keys --output {}
Expected Behavior
successful create of vmss
Environment Summary
Windows-11-10.0.26100-SP0
Python 3.12.10
Installer: MSI
azure-cli 2.74.0
Extensions:
kusto 0.5.0
Dependencies:
msal 1.32.3
azure-mgmt-resource 23.3.0
Additional Context
Thank you for opening this issue, we will look into it.
It seems like it is only an issue when I specify vmss with instance mix with zones. This command worked, for example:
az vmss create --resource-group testdel --name vmss-zone-test-3 --image Ubuntu2204 --vm-sku Mix --skuprofile-vmsizes Standard_D2s_v3 Standard_D2s_v5 Standard_D2as_v4
@brittanyrowe FYI