Hi Chris,
I followed the instructions too. I am on. awx 19. I am experiencing a different kind of error as outlined here:
https://github.com/ansible/awx/issues/9917
What image are yoy using? Latest one? I get the same error as I described in the issue above. very curious if you empty the local image and start again, and see if it works for you. I will give it a go again aS things may have changed since the last time I tried. Many thanks
You are using a different image. I followed the steps at https://www.linkedin.com/pulse/creating-custom-ee-awx-phil-griffiths/ exactly, using Phil’s image. I then tagged the image with my username in order to push it to Dockerhub.
Are you referring to this one?
ansible-builder build --tag quay.io/philgriffiths/awx-custom-ee:latest --context ./context --container-runtime
That's the only command. That I can see is using the image being built. That's not an image when he is using a tag. That's not using his image. The tag is referring to is tagging the image that we are building. The image is still using awx-ee:0.2.0. Unless you are saying that there is something else....
What do you mean different image?
ansible-builder build --tag [quay.io/philgriffiths/awx-custom-ee:latest](http://quay.io/philgriffiths/awx-custom-ee:latest) --context ./context --container-runti
The tag here is --tag quay.io/philgriffiths/awx-custom-ee:latest is just renaming the local image that is compiled on the local machine.
In the background it is pulling the latest version of the runner and such.
I tried using that exact line to build image
ansible-builder build --tag quay.io/philgriffiths/awx-custom-ee:latest --context ./context --container-runtime docker
I still get this error message:
Traceback (most recent call last): File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/tasks.py”, line 1397, in run res = receptor_job.run() File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/tasks.py”, line 2957, in run return self._run_internal(receptor_ctl) File “/var/lib/awx/venv/awx/lib64/python3.8/site-packages/awx/main/tasks.py”, line 3008, in _run_internal raise RuntimeError(detail) RuntimeError: Pod Running
Yes I used awx-custom-ee, it worked right off the bat for me. I modified requirements.yml to include my collections, that’s it.
Ok that’s not actually using that image. That -t is a tag that you will name the image that is built from this project:
awx-ee/Containerfile at devel · ansible/awx-ee (github.com)
if you use verbose you can see its pulling down those images from here. And its the latest ones. if we use a different image then we can use the buildargs parameter and replace
these with our own.
ARG ANSIBLE_RUNNER_IMAGE.
I am using AWX19 …what about you? Just trying to track the differences. Thanks!