# Intermittent Error creating pod: container failed to start, ImagePullBackOff

**URL:** <https://forum.ansible.com/t/intermittent-error-creating-pod-container-failed-to-start-imagepullbackoff/2385>\
**Category:** Get Help\
**Tags:** awx-operator, awx, collections, kubernetes\
**Created:** [November 14, 2023, 9:31pm UTC](https://forum.ansible.com/t/intermittent-error-creating-pod-container-failed-to-start-imagepullbackoff/2385 "2023-11-14T21:31:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![russellcecalabp](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/russellcecalabp/32/1544_2.png) [@russellcecalabp](https://forum.ansible.com/u/russellcecalabp)\
**Post date:** [November 14, 2023, 9:31pm UTC](https://forum.ansible.com/t/intermittent-error-creating-pod-container-failed-to-start-imagepullbackoff/2385/1 "2023-11-14T21:31:50Z")

</div>

Has anyone ever run into this error with AWX-operator? It just started happening to me today intermittently. I launch my Job Templates and sometimes they fail with this error:

```auto
Error creating pod: container failed to start, ImagePullBackOff

```

I am running AWX-operator on a K3 kubernetes cluster.  
On froom k8 dashboard I see this error:

```auto
Failed to pull image "quay.io/ansible/awx-ee:latest": rpc error: code = Unknown desc = failed to pull and unpack image "quay.io/ansible/awx-ee:latest": failed to resolve reference "quay.io/ansible/awx-ee:latest": pulling from host quay.io failed with status code [manifests latest]: 502 Bad Gateway

```

Is there something up with [quay.io](http://quay.io)?

Thanks

---

<div class="post-metadata">

**Author:** ![russellcecalabp](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/russellcecalabp/32/1544_2.png) [@russellcecalabp](https://forum.ansible.com/u/russellcecalabp)\
**Post date:** [November 14, 2023, 9:44pm UTC](https://forum.ansible.com/t/intermittent-error-creating-pod-container-failed-to-start-imagepullbackoff/2385/2 "2023-11-14T21:44:54Z")

</div>

Apologizes for answering my own question and not checking before posting but [quay.io](http://quay.io) is having an major outage.

 ![Screenshot 2023-11-14 at 1.44.42 PM](https://us1.discourse-cdn.com/ansible/original/2X/8/8a400c6503eb96434dbcb7db12fe8726f7a95f51.png)

---

<div class="post-metadata">

**Author:** ![TheRealHaoLiu](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/therealhaoliu/32/100_2.png) [@TheRealHaoLiu](https://forum.ansible.com/u/TheRealHaoLiu)\
**Post date:** [November 15, 2023, 7:57pm UTC](https://forum.ansible.com/t/intermittent-error-creating-pod-container-failed-to-start-imagepullbackoff/2385/3 "2023-11-15T19:57:09Z")

</div>

yep…

would u mind marking this topic solved

---

<div class="post-metadata">

**Author:** ![russellcecalabp](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/russellcecalabp/32/1544_2.png) [@russellcecalabp](https://forum.ansible.com/u/russellcecalabp)\
**Post date:** [November 16, 2023, 6:45pm UTC](https://forum.ansible.com/t/intermittent-error-creating-pod-container-failed-to-start-imagepullbackoff/2385/4 "2023-11-16T18:45:30Z")

</div>

Would using something like OpenShift have helped with reliable access to containers?

---

<div class="post-metadata">

**Author:** ![TheRealHaoLiu](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/therealhaoliu/32/100_2.png) [@TheRealHaoLiu](https://forum.ansible.com/u/TheRealHaoLiu)\
**Post date:** [November 16, 2023, 6:56pm UTC](https://forum.ansible.com/t/intermittent-error-creating-pod-container-failed-to-start-imagepullbackoff/2385/5 "2023-11-16T18:56:13Z")

</div>

For AWX not really since we host image on Quay.

---

<div class="post-metadata">

**Author:** ![russellcecalabp](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/russellcecalabp/32/1544_2.png) [@russellcecalabp](https://forum.ansible.com/u/russellcecalabp)\
**Post date:** [November 16, 2023, 7:05pm UTC](https://forum.ansible.com/t/intermittent-error-creating-pod-container-failed-to-start-imagepullbackoff/2385/6 "2023-11-16T19:05:33Z")

</div>

Thanks. I understand. Quay did fix the problem pretty quickly, but can you recommend a course of action that could make my AWX more resilient to such outages?

---

<div class="post-metadata">

**Author:** ![TheRealHaoLiu](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/therealhaoliu/32/100_2.png) [@TheRealHaoLiu](https://forum.ansible.com/u/TheRealHaoLiu)\
**Post date:** [November 16, 2023, 7:07pm UTC](https://forum.ansible.com/t/intermittent-error-creating-pod-container-failed-to-start-imagepullbackoff/2385/7 "2023-11-16T19:07:21Z")

</div>

Mirroring to a private image registry and deploy using private image registry would probably work.

---

<div class="post-metadata">

**Author:** ![TheRealHaoLiu](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/therealhaoliu/32/100_2.png) [@TheRealHaoLiu](https://forum.ansible.com/u/TheRealHaoLiu)\
**Post date:** [November 16, 2023, 7:08pm UTC](https://forum.ansible.com/t/intermittent-error-creating-pod-container-failed-to-start-imagepullbackoff/2385/8 "2023-11-16T19:08:05Z")

</div>

Also we have the image in [ghcr.io/ansible](http://ghcr.io/ansible) as well. This is our staging image registry

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [December 16, 2023, 7:09pm UTC](https://forum.ansible.com/t/intermittent-error-creating-pod-container-failed-to-start-imagepullbackoff/2385/9 "2023-12-16T19:09:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
