-
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 crashes - conditions: unable to find real backend for alternative backend while using canary feature and duplicate ingress objects exist in cluster. #5537
Comments
@christianjoun what version of the ingress controller are you using? |
release 0.24.1 last commit approx april 23 2019
|
Update to the latest version, 0.32.0. Too many changes. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle-rotten |
Closing. Please reopen if the issue persists after updating to the latest version 0.35.0 |
NGINX Ingress controller version:
Kubernetes version (use
kubectl version
):$ kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.6", GitCommit:"72c30166b2105cd7d3350f2c28a219e6abcd79eb", GitTreeState:"clean", BuildDate:"2020-01-18T23:31:31Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.8", GitCommit:"ec6eb119b81be488b030e849b9e64fda4caaf33c", GitTreeState:"clean", BuildDate:"2020-03-12T20:52:22Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
Environment:
uname -a
): Linux nginx-ingress-internal-ieng-controller-7f74f45cc9-5n6d4 4.15.0-70-generic make test-e2e fails on push #79~16.04.1-Ubuntu SMP Tue Nov 12 14:01:10 UTC 2019 x86_64 GNU/LinuxWhat happened:
in ns ieng-training, an ingress with 0% canary pointing to a working backend
in ns scancloud-ci, an ingress with 0% canary pointing to a working backend
in ns scancloud-ci, an ingress pointing to a backend with no endpoints
nginx crashed.
please include exact error messages if you can:
What you expected to happen:
What do you think went wrong?:
nil check is not in place and duplicate ingresses in two namespaces, related to canary feature.
How to reproduce it:
We have had difficulty reproducing this issue on another cluster, and believe it is order dependent. However, I have included the process and yamls we expected to reproduce the issue but could not:
in ns ieng-training, an ingress with 0% canary pointing to a working backend
in ns scancloud-ci, an ingress with 0% canary pointing to a working backend
in ns scancloud-ci, an ingress pointing to a backend with no endpoints
Create two namespaces "development" & "production"
Run kubectl apply -f ./reproduce-nginx-bug.yaml.txt & Scale down the deployment in production to 0 to replicate no endpoints.
note: You will need to supply an container image that can respond to https traffic on port 8443.
/kind bug
reproduce-nginx-bug.yaml.txt
The text was updated successfully, but these errors were encountered: