microsoft / azure-container-apps

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

Container App - Image pull failure #1201

Closed nikhilbharathesh closed 3 months ago

nikhilbharathesh commented 3 months ago

Please provide us with the following information:

This issue is a: (mark with an x)

Issue description

I have a internal container app which uses admin credentials to connect to ACR deployed via Azure Pipelines. Deploying appears to go successful using Bicep template "Microsoft.App/containerApps@2023-05-01". However, during activation stage, it reports failure on "Container 'testservice' was terminated with exit code '' and reason 'ImagePullFailure'"

Steps to reproduce

  1. Create an ACR with public access
  2. Create container app environment with consumption profile attached to a vnet
  3. Deploy Container App throug Bicep using "Microsoft.App/containerApps@2023-05-01" with UserName / Password for registry access

Expected behavior Revision to have gone in to running state

Actual behavior Revision reported as "Activation failed"

Screenshots
Screenshot from log: containerapprevisionerror

Additional context

Happens on initial revision deployed through bicep and also when any further revisions deployed through AzureContainerApps@1

nikhilbharathesh commented 3 months ago

This was routing configuration issue. Not an issue anymore.