Skip to content
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

Pushing EE images failed due to missing nginx conf for pulp_container #74

Closed
kurokobo opened this issue Mar 2, 2024 · 0 comments · Fixed by #75
Closed

Pushing EE images failed due to missing nginx conf for pulp_container #74

kurokobo opened this issue Mar 2, 2024 · 0 comments · Fixed by #75

Comments

@kurokobo
Copy link
Contributor

kurokobo commented Mar 2, 2024

Version

  • Operator: 2024.02.29
  • Galaxy: 5d56bddb
  • Galaxy UI: 59cf7798

Describe the bug

docker push to Galaxy NG that deployed via this Operator failed with unknown blob:

$ docker push galaxy.example.com/ansible/awx-operator:latest
The push refers to repository [galaxy.example.com/ansible/awx-operator]
8a781877ae2d: Pushing [==================================================>]   5.12kB
50249f417f60: Pushing [==================================================>]  311.3kB
308817e4fc18: Pushing [==================================================>]  3.584kB
159f14b224e2: Pushing [==================================================>]  2.859MB
d4a2fce0f4ab: Pushing [==================================================>]  3.072kB
5be6a5d3fc93: Waiting 
e611347a452f: Waiting 
5f70bf18a086: Waiting 
2f9e60689d2b: Waiting 
70df77fd1c09: Waiting 
4db72d16bb63: Waiting 
d7082a8129ea: Waiting 
6615b78892ea: Waiting 
64042e60a2a6: Waiting 
62329031ba4e: Waiting 
86426b9e591d: Waiting 
unknown blob   ✅

To Reproduce

  • Deploy Galaxy NG using Operator with pulp_settings.token_auth_disabled: "True"
  • Try to push any images to Galaxy NG by docker push

Expected behavior
Images are pushed.

Additional context
Current configmap for nginx.conf does not contain required snippets for pulp_container: https://github.com/pulp/pulp_container/blob/9c0919fcd09bd0c4d156959cbbcf1e3b8d49a46a/pulp_container/app/webserver_snippets/nginx.conf

At least following two location have to be configured:

  • location /v2/ with client_max_body_size 0;
  • location /pulp/container/ with proxy_pass http://galaxy-content;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant