Closed elaurijssens closed 6 years ago
For the sake of completeness, except for one, all versions are default dependencies when installing azure==2.0.0. The exception is azure-mgmt-compute==2.1.0 (needed for a custom module for capturing an image of the managed VM):
# pip freeze | grep azure
azure==2.0.0
azure-batch==3.0.0
azure-common==1.1.8
azure-datalake-store==0.0.15
azure-graphrbac==0.30.0
azure-keyvault==0.3.6
azure-mgmt==1.0.0
azure-mgmt-authorization==0.30.0
azure-mgmt-batch==4.0.0
azure-mgmt-cdn==0.30.3
azure-mgmt-cognitiveservices==1.0.0
azure-mgmt-compute==2.1.0
azure-mgmt-containerregistry==0.2.1
azure-mgmt-containerservice==1.0.0
azure-mgmt-datalake-analytics==0.1.6
azure-mgmt-datalake-nspkg==2.0.0
azure-mgmt-datalake-store==0.1.6
azure-mgmt-devtestlabs==2.0.0
azure-mgmt-dns==1.0.1
azure-mgmt-documentdb==0.1.3
azure-mgmt-iothub==0.2.2
azure-mgmt-keyvault==0.31.0
azure-mgmt-logic==2.1.0
azure-mgmt-monitor==0.2.1
azure-mgmt-network==1.0.0
azure-mgmt-nspkg==2.0.0
azure-mgmt-rdbms==0.1.0
azure-mgmt-redis==4.1.0
azure-mgmt-resource==1.1.0
azure-mgmt-scheduler==1.1.2
azure-mgmt-sql==0.5.3
azure-mgmt-storage==1.0.0
azure-mgmt-trafficmanager==0.30.0
azure-mgmt-web==0.32.0
azure-nspkg==2.0.0
azure-servicebus==0.21.1
azure-servicefabric==5.6.130
azure-servicemanagement-legacy==0.20.6
azure-storage==0.34.3
msrestazure==0.4.13
cc @haroldwongms @nitzmahone @tstringer click here for bot help
Hrm, I'd searched before filing #30194 but didn't see this. Yeah, it's a legit issue: managed disks are in a different place in the storage profile and have to be deleted in a different way. Fix incoming, should be in place for 2.4.0rc4 this weekend. I also hit the extraneous requirement for vm_size
- planning on nuking that too.
ISSUE TYPE
COMPONENT NAME
azure_rm_virtualmachine
ANSIBLE VERSION
CONFIGURATION
None
OS / ENVIRONMENT
CentOS 7.3 - N/A
SUMMARY
Running azure_rm_virtualmachine fails if the VM has managed disks
STEPS TO REPRODUCE
EXPECTED RESULTS
VM "win2016" and associated resources are deleted from the resource group
ACTUAL RESULTS
REMARKS