azure-cli: Azure CLI failing to finish/return from `az vm start ...` command
This is autogenerated. Please review and update as needed.
Describe the bug
I have an Azure DevOps Release Pipeline with the Azure CLI task wherein I have this command run:
az vm start --resource-group GROUP --name NAME
Last week (the second week of August) the command had been running fine. As of around August 17th, the command began being stuck in the in progress
state for up to >90 minutes before I manually canceled it. I repeated it several times, and noticed that the VM was indeed being started, just that the command never finished. I am able to reproduce this locally on my laptop with Azure CLI 2.10.1 as well. I have also tried this command on the Azure Portal cloud shell, where it works fine and finishes quickly. The similar az vm stop
works fine on all locations, too.
Command Name
az vm start
Errors:
Command never finishes, seems stuck as in progress
, although the VM is started.
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 vm start --resource-group {} --name {} --debug
Expected Behavior
The command completes after VM is started, allowing either the Azure CLI release pipeline task to continue or the CLI command prompt to return to user.
Environment Summary
Windows-10-10.0.14393-SP0
Python 3.6.8
Installer: MSI
azure-cli 2.10.1
Additional Context
azurecli1.txt Including output of --debug command after letting it run for several minutes. azurecliPipeline.txt Including output of release pipeline task with debug setting. Release pipeline is on Azure DevOps online, a la https://dev.azure.com/COMPANY
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20 (4 by maintainers)
The issue no longer appears present after removing the
SqlIaasExtension
. I will create a new issue and reference this one if I re-encounter this issue. I appreciate your help, @avirishuv . I wish you a pleasant weekend!