ingress-nginx: NGINX 0.10.2 not starting
Is this a BUG REPORT or FEATURE REQUEST? Probably a BUG 😉
NGINX Ingress controller version: 0.10.2
Kubernetes version (use kubectl version
): 1.7.11
Environment: Linux (CoreOS)
- Cloud provider or hardware configuration: Baremetal
What happened: After upgrading to Ingress 0.10.2, NGINX process doesn’t starts
It hangs in the following line:
docker[29605]: -------------------------------------------------------------------------------
docker[29605]: NGINX Ingress controller
docker[29605]: Release: 0.10.2
docker[29605]: Build: git-fd7253a
docker[29605]: Repository: https://github.com/kubernetes/ingress-nginx
docker[29605]: -------------------------------------------------------------------------------
docker[29605]: I0201 21:53:07.306529 7 main.go:181] Creating API client for https://master.estaleiro.serpro
docker[29605]: I0201 21:53:07.343448 7 main.go:193] Running in Kubernetes Cluster version v1.7+ (v1.7.11+coreos.0) - git (clean) commit 90636164328fc267b9457fa619872ce4f3432f39 - platform linux/amd64
docker[29605]: I0201 21:53:07.348590 7 main.go:84] validated estaleiro/ingress-default-backend as the default backend
docker[29605]: I0201 21:53:08.383786 7 stat_collector.go:77] starting new nginx stats collector for Ingress controller running in namespace (class nginx)
docker[29605]: I0201 21:53:08.383939 7 stat_collector.go:78] collector extracting information from port 18080
docker[29605]: W0201 21:53:08.386734 7 nginx.go:151] Update of ingress status is disabled (flag --update-status=false was specified)
docker[29605]: I0201 21:53:08.394316 7 nginx.go:244] starting Ingress controller
When running with verbose9, the following is the last message:
I0201 21:54:27.680207 47 round_trippers.go:417] curl -k -v -XGET -H "Accept: application/vnd.kubernetes.protobuf, */*" -H "User-Agent: nginx-ingress-controller/v0.0.0 (linux/amd64) kubernetes/$Format" https://master.lab/api/v1/secrets?resourceVersion=303975323&timeoutSeconds=562&watch=true
I0201 21:54:27.683935 47 round_trippers.go:436] GET https://master.lab/api/v1/secrets?resourceVersion=303975323&timeoutSeconds=562&watch=true 200 OK in 3 milliseconds
I0201 21:54:27.684005 47 round_trippers.go:442] Response Headers:
I0201 21:54:27.684023 47 round_trippers.go:445] Date: Thu, 01 Feb 2018 21:54:27 GMT
I0201 21:54:27.684034 47 round_trippers.go:445] Content-Type: application/vnd.kubernetes.protobuf;stream=watch
I0201 21:59:31.487661 47 reflector.go:428] k8s.io/ingress-nginx/internal/ingress/controller/store/store.go:145: Watch close - *v1.ConfigMap total 0 items received
I0201 21:59:31.488433 47 round_trippers.go:417] curl -k -v -XGET -H "Accept: application/vnd.kubernetes.protobuf, */*" -H "User-Agent: nginx-ingress-controller/v0.0.0 (linux/amd64) kubernetes/$Format" https://master.lab/api/v1/configmaps?resourceVersion=301217851&timeoutSeconds=579&watch=true
I0201 21:59:31.491045 47 round_trippers.go:436] GET https://master.lab/api/v1/configmaps?resourceVersion=301217851&timeoutSeconds=579&watch=true 200 OK in 2 milliseconds
I0201 21:59:31.491181 47 round_trippers.go:442] Response Headers:
I0201 21:59:31.491713 47 round_trippers.go:445] Content-Type: application/vnd.kubernetes.protobuf;stream=watch
I0201 21:59:31.491831 47 round_trippers.go:445] Date: Thu, 01 Feb 2018 21:59:31 GMT
When running with -v10 it seems to download a lot of SSL Certificates, but none appears in the ssl directory.
How to reproduce it (as minimally and precisely as possible): Don’t know if this is a secret with problem, or anything else. But in fact, NGINX process used to start in 0.9.0 and it’s not starting in 0.10.2 (or is doing something in the last 30 minutes that didn’t allowed it to start).
Thanks!!
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (7 by maintainers)
@aledbf : New image fixed it; Nginx now starts correctly. Thank you very much!
Also as requested by @rikatz
@mrrandrade Can you please take a look in the image provided by @aledbf to see if this solves our problem?
Also, please make a count of number of ingress, services and endpoints that we have in our environment 😃
Thanks!!