ImagePullBackOff on custom execution environment image

581 views
Skip to first unread message

gregor...@gmail.com

unread,
May 6, 2021, 5:00:27 PM5/6/21
to AWX Project
Hi,

I used ansible-builder to create a custom execution environment image.
This docker image is hosted on an on-premise Gitlab registry.

I created a "Container Registry" credential in AWX, and created a new "Execution Environment" and linked it to this credential.

When running a template that is set to use this EE, the job pod remains in the ImagePullBackOff state.
Pod logs:

Pulling image "git.masked:4567/gregory/awx-ee:test"
Failed to pull image "git.masked:4567/gregory/awx-ee:test": rpc error: code = Unknown desc = Error response from daemon: Head https://git.masked:4567/v2/gregory/awx-ee/manifests/test: denied: access forbidden

When I try to manually login and pull the image, this works fine:

docker login -u gitlab+deploy-token-67 -p xxx https://git.masked:4567/gregory/awx-ee
Login Succeeded
docker pull git.masked:4567/gregory/awx-ee:test
test: Pulling from gregory/awx-ee
...

What am I missing here?

Gregory Storme

unread,
May 6, 2021, 5:12:00 PM5/6/21
to AWX Project
Ok, found the reason.
This is not supported according to https://github.com/ansible/awx/issues/10114

--
You received this message because you are subscribed to a topic in the Google Groups "AWX Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/awx-project/rWHgJrpZdso/unsubscribe.
To unsubscribe from this group and all its topics, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/b9763044-8efa-4c4f-a05e-adc31ce8ba6en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages