-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Setup on Azure failing since 0.9.0-beta.4 #758
Comments
There's definitely something going on in |
@Globegitter @andor44 please update the image to |
You are right, this new feature introduced undesired behaviors in the controller. This issues were fixed in beta.5 |
@aledbf sorry, I should have been more accurate. We actually jumped from beta 3 to beta 5 straight away, and we noticed the issue in beta 5. So it is present in beta 5 too. We then downgraded to beta 4, which displayed the same symptoms. Going back to beta 3 made it go away. I will give your own fork a try and see how it goes. |
With the
I assume this image is using newer API versions? |
@andor44 @Globegitter the error messages are related to the library we use (client-go). I hope this will be fixed before the end of the day |
@andor44 @Globegitter please update the image to |
Thanks @aledbf , this is fixed with the latest beta 6. |
I am following this example here: https://blogs.technet.microsoft.com/livedevopsinjapan/2017/02/28/configure-nginx-ingress-controller-for-tls-termination-on-kubernetes-on-azure-2/ for an nginx ingress controller setup on Azure. The example just sets up the nginx ingress controller exposed via a LoadBalancer and an ingress to forward to the example http-svc provided in this repo. It is uses nginx-ingress controller v0.9.0-beta.2 and works fine with that, as well as v0.9.0-beta.3 but fails once I upgrade to beta.4 and beta.5. When trying to curl the service after setting everything up I get the same error on beta.4 and beta.5:
If I open up port 80 as well on the LoadBalancer I do manage to make a curl request but get as a response:
Also looking at the logs of the ingress controller (this is beta.4 here), it does look like it is setting up correctly:
So not quite sure what exactly changed between beta.3 and beta.4 what causes now the issue and how to modify the setup to fix it (or of it is a bug?). Any insight on this would be great - and let me know if there are any more details I can provide.
Edit: Just seeing there is #643, which seems related.
Edit2:
Just tried the setup again (with beta.5) and now seeing in the logs:
Whenever i make a curl. So I suppose this unset variable is the cause of the issue?
Edit3: Out of curiosity I just tried the latest test version of t he image:
quay.io/aledbf/nginx-ingress-controller:0.124
and while I do get an error in the logs I can actually curl the service and get the expected response from it.In case it might be useful, this is the error I am seeing in the logs:
The text was updated successfully, but these errors were encountered: