Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
384 stars 1.25k forks source link

`containerapp up` erroneously reported error creating Container App Env #5567

Open charris-msft opened 1 year ago

charris-msft commented 1 year ago

Related command

az containerapp up

Extension name (the extension in question)

container app up

Description of issue (in as much detail as possible)

You can see in the screenshots below, but I ran the command once and got an error that the container app environment 'has not been provisioned successfully'. However, I checked the new resource group in the portal and found the container apps env. So I ran the command again, without any other changes and it completed successfully.

It looks like there was either a problem with timing out the request to create the container app env too soon, or a misinterpretation of the response from that request.

Command image

1st attempt output image

Container Apps Env in the Portal

image

2nd attempt output image


charris-msft commented 1 year ago

FYI - was trying another deployment and reproduced the problem again. Only difference is I was watching it closer, so it failed a 2nd time before continuing on.

image

yonzhan commented 1 year ago

route to CXP team

ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @calvinsID.

Issue Details
### Related command `az containerapp up` ### Extension name (the extension in question) `container app up` ### Description of issue (in as much detail as possible) You can see in the screenshots below, but I ran the command once and got an error that the container app environment 'has not been provisioned successfully'. However, I checked the new resource group in the portal and found the container apps env. So I ran the command again, without any other changes and it completed successfully. It looks like there was either a problem with timing out the request to create the container app env too soon, or a misinterpretation of the response from that request. **Command** ![image](https://user-images.githubusercontent.com/74415662/203143669-68557e12-ea03-43af-8ab1-7f0e7658fae9.png) **1st attempt output** ![image](https://user-images.githubusercontent.com/74415662/203143802-4cf55b24-3d5f-4f0a-8efa-5f0528fdfe20.png) **Container Apps Env in the Portal** image **2nd attempt output** ![image](https://user-images.githubusercontent.com/74415662/203143880-316b3c6f-414e-4d63-bdcf-d91d54181fb5.png) -----
Author: charris-msft
Assignees: -
Labels: `Service Attention`, `Auto-Assign`, `ContainerApp`
Milestone: -
navba-MSFT commented 1 year ago

Adding Service team to look into this.

@calvinsID Could you please look into this once you get a chance ?