# AWX EE Image from Azure Container Registry

**URL:** <https://forum.ansible.com/t/awx-ee-image-from-azure-container-registry/37302>\
**Category:** AWX Project\
**Tags:** azure, awx, ee\
**Created:** [November 3, 2022, 5:56pm UTC](https://forum.ansible.com/t/awx-ee-image-from-azure-container-registry/37302 "2022-11-03T17:56:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugene\_Reader](https://avatars.discourse-cdn.com/v4/letter/e/aeb1de/32.png) [@Eugene\_Reader](https://forum.ansible.com/u/Eugene_Reader)\
**Post date:** [November 3, 2022, 5:56pm UTC](https://forum.ansible.com/t/awx-ee-image-from-azure-container-registry/37302/1 "2022-11-03T17:56:23Z")

</div>

Hello,  
I am attempting to use an EE from our Azure Container Registry and I am getting this failure message:

“Error creating pod: container failed to start, ImagePullBackOff”

Which I am assuming means it is not actually downloading the image.

1. I have configured a container registry credential with my user/password
2. I have configured an Execution Environment pointing to the image in my acr
  1. I tried with v1 which is the only tag currently existing
  2. I tried with latest tag
  3. I tried without a tag at all

3. I configured a basic “hello world” template that literally just has a debug task but uses this EE

Is there any documentation of ACR being used? I haven’t been successful in my searching.

When I run from docker on my local computer I have to login to azure via the azure cli before I can download the image, so I assume the core of the issue is getting access to the image registry.

---

<div class="post-metadata">

**Author:** ![mani3887](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@mani3887](https://forum.ansible.com/u/mani3887)\
**Post date:** [November 3, 2022, 8:05pm UTC](https://forum.ansible.com/t/awx-ee-image-from-azure-container-registry/37302/2 "2022-11-03T20:05:11Z")

</div>

Can you check whether you can run any application on your cluster by pulling a docker image? I suspect the interfacing between your cluster and the ACR is broken and it is not able to pull any image. If you are running AKS cluster, please check whether you are able to access the container registry( there is some az ACR command that you can run with managed identity for this).

Regards,  
Mani

---

<div class="post-metadata">

**Author:** ![howardjones](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/howardjones/32/4169_2.png) [@howardjones](https://forum.ansible.com/u/howardjones)\
**Post date:** [November 3, 2022, 8:52pm UTC](https://forum.ansible.com/t/awx-ee-image-from-azure-container-registry/37302/3 "2022-11-03T20:52:24Z")

</div>

For what it's worth, this is how I configure mine. I use the ansible awx.awx collection to configure awx itself - that way we get the same config for any dev/test instances.

- name: mycompany ACR (for EEs)  
awx.awx.tower\_credential:  
name: mycompany-acr  
credential\_type: "Container Registry"  
state: present  
organization: "mycompany"  
description: "ACR for pulling EE images"  
inputs:  
host: "mycompany.azurecr.io"  
password: "{{ awx\_acr\_password }}"  
username: "mycompany"  
verify\_ssl: true

- name: Create Execution Environment  
awx.awx.execution\_environment:  
name: "mycompany awx-ee"  
image: "mycompany.azurecr.io/awx-mycompany-ee-prod:7997"  
credential: "mycompany-acr"  
organization: "mycompany"  
pull: always  
description: "Standard awx-ee + az cli, winrm, opentelemetry and netaddr"

---

<div class="post-metadata">

**Author:** ![Eugene\_Reader](https://avatars.discourse-cdn.com/v4/letter/e/aeb1de/32.png) [@Eugene\_Reader](https://forum.ansible.com/u/Eugene_Reader)\
**Post date:** [November 3, 2022, 9:30pm UTC](https://forum.ansible.com/t/awx-ee-image-from-azure-container-registry/37302/4 "2022-11-03T21:30:56Z")

</div>

What I figured out was it was an issue with logging in to the registry. I was using my user account, but I think the login process was the issue. I changed it to using a generated access token and it seems to work exactly as expected.

Thanks for the attempted help!
