Cannot create or start container instance (service unavailable)

Octavian Cismasu 26 Reputation points
2022-08-30T15:29:59.523+00:00

Hi,

Since this morning we are having trouble starting our container instances in 'canadacentral', using a 1 CPU, 1.5 GB configuration (Linux), getting the following error:

(ServiceUnavailable) The requested resource is not available in the location 'canadacentral' at this moment. Please retry with a different resource request or in another location. Resource requested: '1' CPU '1.5' GB memory 'Linux' OS virtual network  
Code: ServiceUnavailable  

Manually restarting the container instances did not work, so I tried deleting the resource in order to re-create it manually.
However, I get the same error message when attempting to create the resource. Below is an example of the command used to attempt creating the container:

az container create \  
    --name aci-$APP_NAME-cc \  
    --resource-group $ACI_RES_GROUP \  
    --image $ACR_LOGIN_SERVER/$APP_GROUP/$APP_NAME:$APP_VERSION \  
    --registry-login-server $ACR_LOGIN_SERVER \  
    --registry-username $(az keyvault secret show --vault-name $AKV_NAME -n $ACR_NAME-prod-pull-usr --query value -o tsv) \  
    --registry-password $(az keyvault secret show --vault-name $AKV_NAME -n $ACR_NAME-prod-pull-pwd --query value -o tsv) \  
    --vnet $(az network vnet show --resource-group $APP_RES_GROUP --name $VNET_NAME --query id -o tsv) \  
    --subnet $(az network vnet subnet show --resource-group $APP_RES_GROUP --vnet-name $VNET_NAME --name $ACI_SNET_NAME --query id -o tsv) \  
    --ports 8080 \  
    --query ipAddress.ip  

We were able to do this with no issues since November 2021, and we are having difficulty pinpointing the reason why this failed today. I tried diagnosing the problem using available Azure troubleshooting tools - no quotas are being exceeded in our subscription. Also, the suggested mitigations for this type of issue did not work, and deploying the container to a different region is not an appropriate option, given the complexity of the required configuration changes across our setup.

Are we doing something wrong?

Thank you for your help,
Octavian

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
757 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 38,021 Reputation points Microsoft Employee Moderator
    2022-08-30T20:21:22.187+00:00

    @Octavian Cismasu

    I understand you are facing the above error when trying to create your container. This error indicates that due to heavy load in the region in which you are attempting to deploy, the resources specified for your container can't be allocated at that time. Use one or more of the following mitigation steps to help resolve your issue.

    • Verify your container deployment settings fall within the parameters defined in Region availability for Azure Container Instances
    • Specify lower CPU and memory settings for the container
    • Deploy to a different Azure region
    • Deploy at a later time

    It is also possible that the ability to launch container instances is impacted by the ongoing service outage. You can read about this issue on our status page.

    https://status.azure.com/en-us/status/

    236311-image.png

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


1 additional answer

Sort by: Most helpful
  1. Octavian Cismasu 26 Reputation points
    2022-08-30T20:56:12.083+00:00

    Thank you @deherman-MSFT for this information.

    I will continue to monitor the Azure services status page and try the deployment at a later time. I'm afraid those are our only viable options at the moment.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.