microsoftfeedback / aci-issues

Issue reporting and tracking for the Azure Container Instances service
Creative Commons Attribution 4.0 International
7 stars 0 forks source link

ACI deployment to virtual network fails (region: westeurope) #38

Open DereMann opened 4 years ago

DereMann commented 4 years ago

Hello,

my ACI deployment to a virtual network stopped working over the week-end with a strange error message:

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Conflict","message":"{\r\n \"error\": {\r\n \"code\": \"ServiceUnavailable\",\r\n \"message\": \"The requested resource is not available in the location 'westeurope' 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\"\r\n }\r\n}"}]}

Here is the deployment script:

az container create --resource-group $(resourceGroupName) --name $(containerName) --image $(image) --cpu 1 --memory 1 --registry-login-server $(registryServer) --registry-username $(registryUsername) --registry-password $(registryPassword) --ports $(port) --vnet $(vnet) --subnet $(subnet) --command-line "..."

Leaving out the --vnet and --subnet options makes the deployment work but cannot be considered as solution as I need the container deployed within the specified subnet

According to the docs deployment to virtual networks should work fine for ACIs in westeurope. May you please help? Many thanks in advance.