Overriding the AWX EE Image with the instance group Image

,

Hi Team,

I am running AWX 21.4.0 version with a custom AWX EE(built from latest stable runner image). In AWX in EE, I created a new one and provided this new AWX EE image. In the instance groups window, I created a Container group, where I gave in a different pod spec with a different image. I was thinking that the pod spec image will override the image configured in EE. But I observe that this is not happening. Can you please let me know whether there is a provision to override the EE image?

Thanks and Regards,
Mani

Mani,

Ultimately, the EE that is used to run your job is the one set at the Job Template level.

Changing the image on the podspec only changes the pod that is started when launching the job.

So here is what it all looks like,

Pod > podspecimage > ansible-runner > podman > your_custom_ee (this is where your job runs)

You need you create an EE with your_custom_ee and assign it to the JT

Hope that helps,

AWX Team

Thanks, but what I observe is that the EE field is not a mandatory field. If I do not give any in this field, AWX picks up the global EE image. To clarify, in the instance group, I was pulling the AWX EE image

containers:

  • name: worker
    image: /custom-awx-ee
    env:

and I had not given any EE image in my JT. I assumed it would have picked up the image I had provided in the Instance group. But that did not happen.

Thanks and Regards,
Mani

Hi, were you able to resolve this? Why not create a EE in the awx UI with that custom-awx-ee, and attach that EE to your JT?

AWX Team