awx-demo use the quay.io and not the edited image (rancher/k8s)

725 views
Skip to first unread message

migo

unread,
Nov 2, 2021, 7:06:56 PM11/2/21
to AWX Project
Hi there 
Hope there is somebody who can help me understand. 
I needed to change the image in the repository, from quay.io to another path throw artifactory. 
In the repository i got from github, i change all the files with the docker.io, quay.io and grc.io. - i did search with something like this: 
grep -rnw 'path' -e 'quay.io'
And there is right now, nothing with quay.io when i search, because i have change it all - have dobbelt checked it. 

awx-operator-controller-manager 2/2 running  

but when i try run kubectl apply -f awx-demo.yml, and its does create the pod, its only redis that is green. 
The 3 others : awx-demo-web awx-demo-task awx-demo-ee cannot get through to the internet, because they still pointing to quay.io - but there is nowhere i seem i can edit that. 
If i do it in the container yml, then something overwrite it. 

I get the : 
Back-off pulling image "quay.io/ansible/awx:19.4.0"
Imagepullbackoff
And i know that is because it cant get through , but why doesnt iuse the settings i made in DockerFile, MakeFile ect. ? 




Andrew C

unread,
Nov 3, 2021, 2:18:31 AM11/3/21
to AWX Project
I had a similar problem and found that if I downloaded the kubernetes file. E.g. (kubectl apply -f https://raw.githubusercontent.com/ansible/awx-operator/0.13.0/deploy/awx-operator.yaml) becomes:

Edit the file to point to the new image and then run:
kubectl apply -f awxoperator.yaml

I could then pull my own images. This process can be a pain in the *** because you have to remember what you changed and repeat it for every new version.

migo

unread,
Nov 3, 2021, 4:56:15 AM11/3/21
to AWX Project
Hmm 
Now i had tried it.. but it still wont work, i do still have the default image, and still cant change it. : 
waiting:
        message: Back-off pulling image "quay.io/ansible/awx:19.4.0"
        reason: ImagePullBackOff
  - containerID: containerd://eea0ccce21d6d71268a430ded75763b00a48456a629b5c82c985e39480e8db04

Andrew C

unread,
Nov 3, 2021, 6:14:58 AM11/3/21
to AWX Project
Have you logged in to quay as there could be a number of pulls/day restriction unless you have authenticated?

Brian W.

unread,
Nov 3, 2021, 10:01:39 AM11/3/21
to Andrew C, AWX Project
I have seen this before and just waiting till an overnight slowdown in attempts was enough, for docker and kuber things at least.

--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/1fb277af-f4e9-4b6a-8dfb-bd6c3d10fe71n%40googlegroups.com.

migo

unread,
Nov 4, 2021, 6:40:17 AM11/4/21
to AWX Project
didn't work over night. 
But i just found out, that its possible to overwrite, when writing the image in the demo file. 
---
kind: AWX
metadata:
  name: my-awx
spec:
  service_type: nodeport
  image: xxx.xx/ansible/awx


But only for 2 of them : 
cls-awx-task cls-awx-web

so for this (cls-awx-ee) it wont work.. So maybe its possible to add the last image somehow. 
Reply all
Reply to author
Forward
0 new messages