-
Notifications
You must be signed in to change notification settings - Fork 637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Cannot pull awx image from private container registry #819
Comments
Hi @avwede can you provide more info into the k8s secrets that authenticate to your gitlab? This may be a configuration issue. |
Experiencing the same problem with pulling the image from private registry. Custom pod with pull_secret can successfully pull the image but it doesn't work with AWX CRD. |
@rebeccahhh Yes, AWX is installed via AWX-operator on k8s. My AWX install definition looks like below. In AWX Web UI it does show EE image URL reference but its missing pull secret info. When launching some job with the EE image, it fails. kubectl event show
|
Can confirm this for my setup here as well. I configured everything according to the specs but the default awx-ee will always use quay.io instead of my private registry only for the execution image. But this causes the deployment to stall. No secrets in use since it is all public for testing. Totally Air gaped setup.
|
Same issue here |
For what its worth: adding the "control_plane_ee_image: " key and pointing it to the awx-ee image in my private registry, did the trick. |
Hello, another workaround is to
Pod spec example:
|
Same issues here, why the init image can not be overridden. |
|
@avwede It looks like you were running in to a bug which was fixed by this PR: In summary, we added a new variable This fix became available in awx-operator 0.20.1: @sunshine69 The init container image can be overwritten: I will close this issue for now. Please open a new issue if you are still experiencing an issue on the latest release. Thanks! |
@rooftopcellist I found it yesterday after reading the source code, commented on other ticket for some others. What I see is a lack of documentation, or in accurate. The information is not easily shown in the first README.md or reference. Otherwise I do not need to start reading source code (remember trace everything from the architecture of the operator sdk and then ansible operator then the ansible role ... If we can improve documentation then it would be a lot of time savers. Thanks |
ISSUE TYPE
SUMMARY
I cannot pull the awx image from my Gitlab private container registry, yet the other image dependencies are pulling fine.
ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
Successfully running AWX Instance that is correctly pulling all images from private registry.
ACTUAL RESULTS
Failed to pull awx image from private container registry.
ADDITIONAL INFORMATION
AWX Instance Configuration YAML
Docker secret
AWX-OPERATOR LOGS
The text was updated successfully, but these errors were encountered: