-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
nginx fails to start on OKD 3.11 #5205
Comments
I'm experiencing the same issue with AWX Was not an issue with AWX ENVIRONMENT
|
@shanemcd do you think this is related to our CentOS 8 move or @wenottingham's recent nginx config change? |
Snap, same issue when using CRC |
This is an /etc/nginx/nginx.conf problem. 8.0.0 has the default server using port 8052 |
Best I can tell, this change has resulted in published awx_web 9.0.0 image having the default nginx.conf instead of the awx repository's nginx.conf. |
AWX web gets served as expected for me in my kubernetes cluster if take the awx_web:9.0.0 release image and copy in an |
Yes, I agree. The nginx.conf was taken out of the image_build role and only put in the local_docker and docker-compose. This leaves image build for k8s and OKD with default nginx.conf and an unusable awx_web container. |
Oops, apologies for not catching this. Going to work on a patch today or tomorrow. |
Related: ansible#5205 The following commit introduced this bug: ansible@712b07c#diff-a2ef2d6347894a92a6b882e3793fb06c
Related: ansible#5205 The following commit introduced this bug: ansible@712b07c#diff-a2ef2d6347894a92a6b882e3793fb06c
This should be fixed in 9.0.1. |
Yes, I can confirm that now it's working properly. Thanks @ryanpetrello and @shanemcd for your support! |
I'm experiencing the same issue with an image ansible/awx_web:9.0.1 from DockerHub |
Same issue with version 9.1.1 of the image. Wasn’t it supposed to be fixed? |
I think the main issue is that now the If you're using a non-standard install process, you're probably gonna have to inject the A simple This is the
|
Apparently, the Ansible Tower author failed to provide a working nginx.conf out-of-the-box in the Docker image; one has to do it manually.
Apparently, the Ansible Tower author failed to provide a working nginx.conf out-of-the-box in the Docker image; one has to do it manually.
ISSUE TYPE
SUMMARY
When AWX is deployed on OKD, it seems like its nginx web server can't start due to permissions denied error on port 80.
The StatefulSet-dedicated pod is still marked as running, yet you cannot reach the login mask through the route as OpenShift returns the "Application not available" error.
I attached the log of awx-web container where you can see the error.
ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
Reach the login screen.
ACTUAL RESULTS
OKD returns the error "Application is not available".
ADDITIONAL INFORMATION
awx-0.log
The text was updated successfully, but these errors were encountered: