-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure CLI version 2.24.0 has a bug when deploying a container group (ACI) from a YAML file #3508
Comments
One way to resolve this is to downgrade Azure CLI to version 2.23.0 in the latest OS images. |
Hello @ramirezalfredo , have you reported this issue to https://github.com/Azure/azure-cli team? |
@maxim-lobanov, Not me but there are 5 different GitHut issues with the same information: Azure/azure-cli#18262 What I'm asking to you is to downgrade the Azure CLI version as this one is buggy. I believe that downgrading is faster than waiting for a solution from Azure CLI, I mean, this is something that you can do without waiting for others. Please find me on teams. Thanks! |
@ramirezalfredo by the way, version 2.24.1 was released yesterday. Could you try upgrading to it and check if the issue persists? |
@miketimofeev I did and I've got the same result. That's why I'm asking the safest option to downgrade. I also made the ACI PM aware of the issue and a bug was filed, but not sure how long would that take. Same reason I'm asking for your help. Customer changed from Windows to Ubuntu as 2.23 is not available in that image but afraid that when it does, Azure DevOps pipeline will brake again. Other options are not feasible like using Docker containers for the pipeline or switching to ARM Template as that would incur in so much job that we introduced by upgrading to a buggy version of the Azure CLI. |
@ramirezalfredo the customer can add this step for Ubuntu to stick to azure-cli 2.23.0 no matter what version is on the image. The installation takes about 40 seconds.
|
According to the release notes of Azure CLI, a hotfix is already available: It would be helpful if this can be pushed to the latest images as soon as available. |
We are having problems with version 2.24.0 of azure cli too. The problem is not the same related by @ramirezalfredo, it is related to appservice and was fixed in release 2.24.1 (release notes), so I think that upgrade az-cli would be nice. |
azure-cli 2.24.2 was released a few hours ago and it fixes the initial issue. |
The following steps are required to update to the latest version:
Windows:
macOS:
|
@miketimofeev 2.24.2 works, how soon can that version be available in the OS images? And also, commands to update the azure cli in Ubuntu, for example, would that work in an Azure DevOps pipeline? |
@ramirezalfredo we're going to start new image deployment on Monday and it will take 3-4 days to propagate the image to all the environments. There is a chance of windows images delay since we need to wait for the new VS release. |
Thank you very much @miketimofeev, this really helps. |
Quick update: macOS and Ubuntu images were updated. Windows image deployments will be finished on Monday. |
@ramirezalfredo all the images were updated with Azure-cli 2.24.2 |
Description
When using Azure CLI version 2.24.0 which is the default in the latest OS image (at least in Windows), Container Group deployment from YAML file fails. Version 2.23.0 has no issues.
Area for Triage: Artifacts
Question, Bug, or Feature?: Bug
Virtual environments affected
Image version
20210525.0
Expected behavior
To deploy a container group (ACI) from an Azure DevOps pipeline using the Azure CLI task with a YAML file.
Actual behavior
Azure CLI task fails with the following message:
Repro steps
The text was updated successfully, but these errors were encountered: