Open rolandas-rimkus opened 4 years ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc
I just ran into this in the portal. I am guessing something with the API on the backend.
20 months since creating this issue and seems this got no acknowledgement or info back from Microsoft. Ouch. Forgot that I created it until someone commented.
devtestlab service team should look into this
I'm having the same issue right now, so this seems to still be an issue. VM is stuck in deleting state for >30 minutes now.
Our current workflows use Azure DevOps pipelines to create and delete VMs stored on a Azure DevTest Lab. For the the delete action we use az lab vm delete which normally works, but it sometimes returns an error:
call az lab vm delete --lab-name "xxxx" --name "xxxx" --resource-group "xxxx" Command group 'lab' is in preview. It may be changed/removed in a future release. ERROR: The resource 'xxxx' of type 'microsoft.devtestlab/labs/virtualmachines' is not yet ready for the requested operation.
The VM deletion still gets triggered and seems to work as expected so this seems like a false error coming from the Azure CLI command.