Help, AWX install trying to pull redis:latest from the internet in an airgap install

,

Hi,

I’ve loaded the images for: (docker load -i filename)

quay.io/ansible/awx (all tags)
quay.io/ansible/awx-operator (all tags)
quay.io/ansible/awx-ee (all tags)
redis:latest
redis:6.2.1
postgres:12

And modified deploy/awx-operator.yaml with imagePullPolicy: “Always” on line 457 to “Never”.

I’ve also tried editing the roles/installer/defaults/main.yml to change “redis:latest” to “redis:6.2.1”.

However, everything gets installed and running except for redis. Which still tries to pull redis:latest regardless of what I set in main.yml.

Here’s a kubectl describe showing the problem line:

Warning Failed 63s kubelet Failed to pull image “redis:latest”: rpc error: code = Unknown desc = Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp 54.156.198.233:443: connect: network is unreachable
Warning Failed 48s (x4 over 105s) kubelet Error: ImagePullBackOff

Does anyone have any ideas on how to resolve this? I’ve been pulling my hair for a bit now. I want it to use the local redis I’ve loaded up like I have done with awx, awx-operator, awx-ee & postgres.

As you can see, redis is the last one preventing this from fully working:

kubectl get pods
NAME READY STATUS RESTARTS AGE
awx-b5f6cf4d4-mhlgc 3/4 ImagePullBackOff 0 11m
awx-operator-779747fb97-7dk9f 1/1 Running 0 19m
awx-postgres-0 1/1 Running 0 12m

Thanks.

Mark.