microsoft / azure-container-apps

Roadmap and issues for Azure Container Apps
MIT License
368 stars 29 forks source link

ManagedEnvironmentNoAvailableCapacityInRegion exception during creation of container apps environment #1272

Open jscheeres opened 2 months ago

jscheeres commented 2 months ago

This issue is a:

Issue description

During creation of a Container Apps Environment we get the following exception:

"No capacity available in this region for provisioning an environment, please try again in another region. (Code: ManagedEnvironmentNoAvailableCapacityInRegion)"

We deploy in region westeurope. We have een quota of 50 managed environments in this subscription. Currently 0 managed environments are deployed into the subscription.

Steps to reproduce

  1. Create container app via Azure Portal of via BICEP

Expected behavior

New container app environment.

Actual behavior

See error in screenshot.

Screenshots

image

apsi15 commented 2 months ago

Same issue here for west europe: Managed Environment Name: "xxxx"): performing CreateOrUpdate: unexpected status 409 (409 Conflict) with error: ManagedEnvironmentNoAvailableCapacityInRegion: No capacity available in this region for provisioning an environment, please try again in another region.

Yuvaraj-Devaraj commented 2 months ago

I also experience this problem from yesterday. Would be good if Microsoft can fix this soon.

jscheeres commented 2 months ago

We don't have a workaround because our VNETs are also in West Europe. It's not possible to create a container app environment in north europe and use a VNET from west europe.

rokcarl commented 2 months ago

Same problem here in west Europe:

Managed Environment Name: "[redacted]"): performing CreateOrUpdate: unexpected status 409 (409 Conflict) with error: ManagedEnvironmentNoAvailableCapacityInRegion: No capacity available in this region for provisioning an environment, please try again in another region.

This happened on a Terraform apply that needed to recreate the Container App Environment, so it destroyed and tried creating it and the above error happened.

scipbe commented 2 months ago

Microsoft, when will it this be fixed? It is blocking the creation of our new environments

yuliyansamuilov commented 2 months ago

image It's pretty strange. I have two different types of subscriptions. The Pay-As-You-Go subscription is showing this error, but on my other subscription, I was able to create container apps yesterday and tested everything without any issues. Now, I'm getting this error on the Pay-As-You-Go subscription today for West Europe.

Yuvaraj-Devaraj commented 2 months ago

I have checked with Microsoft support. They said that they are running out of capacity in west europe region and are working on increase the capacity. They suggested to go with other closer regions.

The impact is only for the subscriptions where we deploy container app environment for the first time. If you already have an existing app environment, they allow you to deploy another environment. We got to wait to deploy in west europe or go with alternation location.

IanBrown-OAG commented 2 months ago

Same here, we can create in Poland Central, but not West Europe. I am waiting on MS support to confirm the issue though.

rokcarl commented 2 months ago

What's the situation with this? What space can I monitor to know when this will be resolved?

The deployment of our app is currently blocked because of this. I wouldn't want to migrate to another region as we have loads of resources in this one already.

Sebastianbuus commented 2 months ago

We are blocked as well.

We need a status update on this issue.

MarcoP9 commented 2 months ago

Hello, experiencing the same problem, Is there any update on this?

iwijnen commented 2 months ago

Hello, experiencing the same problem, Is there any update on this?

karimatwa commented 2 months ago

Hello, We're also experiencing the same problem here. Similar to everyone in here, we can deploy container apps environments in other regions, but not Europe west.

HuiNextSense commented 2 months ago

Is there a chance the capacity will be increased in WestEurope region? I honestly don't prefer to deploy a set of resources in a different region.

mjpraxis commented 2 months ago

Does MS / Azure have a status page of these kind of limits. Would be nice to see if it is possible to create environments in West euro again. And not to get the error while trying to create them.

rokcarl commented 2 months ago

I'm pretty sure it's not a limit this time. See, I already had an ACA environment, then my deployment using Terraform needed to re-create (meaning delete and create) the ACA environment. It was able to delete, but creation failed. And it's not like we already have loads of ACA environments created, this specific subscription has none actually.

WakaToa commented 1 month ago

Capacity is increased. I was able to deploy a new Consumption Only Environment few minutes ago.

jscheeres commented 1 month ago

Still same issue here. I think it's only an issue if it's the first container app environment in a new subscription.

yakonstantine commented 1 month ago

I've just faced with same issue. I've accidentally deleted ACA env, now I can't re-deploy it via Terraform.

EricCpy commented 1 month ago

Still the same issue. The capacity is not increased and this problem only affects the first environment of a subscription.

WakaToa commented 1 month ago

Well, for me it was not working for around a week until today. It was the first environment of a subscription. Maybe i was just lucky.

grafik

Gert-Jan2AT commented 1 month ago

Just tried it same problem.

rokcarl commented 1 month ago

Still happening here.

akakaule commented 1 month ago

Have not been able to create it in West Europe region the last week. Still get this error

image

dernat71 commented 1 month ago

Same as well here .. We are really relying on Container Apps for our runtimes so this is quite urgent

ribboncake94 commented 1 month ago

Still the same issue. The capacity is not increased and this problem only affects the first environment of a subscription.

Well, this is not entirely true in my case. I have tried to deploy a new environment in a subscription where I already have an ACA env, and it did not work.

Shadikho commented 1 month ago

Same problem here. I even checked and I have "quota" for the resource on my subscription, but no capacity...

antgustech commented 1 month ago

Come on Microsoft..

SYA6161 commented 1 month ago

same problem here

BartHuls commented 1 month ago

same problem here "details": [ { "code": "ManagedEnvironmentNoAvailableCapacityInRegion", "message": "No capacity available in this region for provisioning an environment, please try again in another region." } ]

romanrabodzei commented 1 month ago

I also have the same error: "ManagedEnvironmentNoAvailableCapacityInRegion." West Europe region

ribboncake94 commented 1 month ago

Still the same issue. The capacity is not increased and this problem only affects the first environment of a subscription.

Well, this is not entirely true in my case. I have tried to deploy a new environment in a subscription where I already have an ACA env, and it did not work.

Ok now I have managed to deploy ACA ENV just this morning via terraform. Has capacity been increased in West Europe now?

JennyLawrance commented 1 month ago

We have been actively working to resolve the issue. Yes, creates on West Europe should succeed now.

romanrabodzei commented 1 month ago

We have been actively working to resolve the issue. Yes, creates on West Europe should succeed now.

Just tested. It works for West Europe. Thanks!

juicd commented 1 month ago

I just tried to create one via the portal in West Europe but receiving the same error:

{"code":"InvalidTemplateDeployment","message":"The template deployment 'Microsoft.Web-FunctionApp-Portal-564de879-b4eb' is not valid according to the validation procedure. The tracking id is 'df75e3c7-7a1e-403c-90b1-d57070a83525'. See inner errors for details.","details":[{"code":"ValidationForResourceFailed","message":"Validation failed for a resource. Check 'Error.Details[0]' for more information.","details":[{"code":"ManagedEnvironmentNoAvailableCapacityInRegion","message":"No capacity available in this region for provisioning an environment, please try again in another region."}]}]}

simonjj commented 1 month ago

We recommend to choose a different region, contact your account executive, or file a support ticket if you're experiencing issues of this kind.