You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are aware of a nil pointer issue in v1.3.2. This bug was actually fixed in #434 but did not make it into the 1.3 release branch. Since this nil pointer crashes the controller, the issue is not surfaced to users other than Ingresses not being synced.
The current workaround is to delete the Ingress which is not being synced and recreate it. A fix will be coming in the next 1.3 patch release (v1.3.3)
Is there a way to verify whether this is occurring in a GKE cluster? Since I don't think we have access to the logs, we can't check for the exception listed in #434, but we'd like to make sure this is the issue before recreating Ingresses.
Unfortunately, no. If you are able to update your Ingress and see the changes reflected in GCP, then you should be fine. Otherwise, you are most likely hitting this issue. Also note that this is only happening is GKE clusters above version 1.10.6
I'm pulling my hair out trying to figure out why our ingresses suddenly stopped being fulfilled by the ingress controllers. Normally I've found a very reasonable explanation (Quotas, etc.), but this time I'm relatively sure we're running into this bug.
kubernetes master version: 1.10.6-gke.2
We've tried deleting every ingress and recreating them, to no avail. Is there a time period I should wait before recreating the ingresses? I waited roughly 5 minutes this first time.
@poor-bob Email me your project name, cluster name and location of the cluster and I'll take a look. If you deleted and recreated every ingress I would think that you would not be running into this specific issue.
I believe I have a fix and in the process uncovered a possible bug with the yaml manifests.
Since I don't have access to the masters (GKE) I can't be completely sure, but it appears there is a conflict between the Addon-manager running on the master and the annotations on the objects within deploy/glbc/yaml/default-http-backend.yaml. By changing the annotations to addonmanager.kubernetes.io/mode: EnsureExists from addonmanager.kubernetes.io/mode: Reconcile, the Addon-manager does not delete these objects.
@addisonbair We are in the process of building a patch with the fix and pushing it out. This will enable you to start testing the fix. Keep in mind that this does not mean it is released in GKE. You will still have to wait for an official GKE rollout and upgrade your cluster to get the fix.
Will let you know when the patch is ready to pull down.
I managed to build an image from master and have successfully deployed to GKE (1.10.6-gke.2) without seeing the dreaded NPE. All ingresses are back up and operational.
I'm happy to test a more formal image when it is ready. Thanks so much for the help!
@rramkumar1 Are you sure this fix is live with 1.10.7-gke.2? I got this response from GCP Support last week:
This is to provide you an update that I checked with the product team on whether GKE version (1.10.7-gke.2) have the ingress fix and I came to know that it won't.
@ericuldall I'm not sure why GCP support told you that. They may have gotten confused about something else. Do you not see 1.10.7-gke.2 as a viable version?
@rramkumar1 I have a cluster running on 1.10.6-gke.2 and I replaced one of the ingresses, then it got stuck in 'creating ingress'. I just found this thread this morning, and accordingly, deleted and then re-created the ingress but it's still showing up as 'creating ingress' in the GCP dashboard. Any ideas?
@bschwartz757 Upgrading is the only supported way to get these kinds of fixes. If you don't want to upgrade, you can also run the script we have in deploy/. Note that this script is somewhat dangerous to run in production (and as a result, we don't officially support it) but it does allow you to modify the version of your ingress-gce controller without having to depend on GKE for upgrades
@rramkumar1 just letting you know that I also am running into this issue on 1.11.5-gke.5. The creating ingress is stuck and I have deleted and recreated the ingress. Should I delete node and cluster and recreate at 1.10.7.gke.2?
@rramkumar1 I'm having a similar issue to the one you have described in #605. I have sent you an e-mail with my setup but I'm also happy to continue the conversation online.
Activity
rramkumar1 commentedon Sep 11, 2018
/kind bug
abstrctn commentedon Sep 12, 2018
Is there a way to verify whether this is occurring in a GKE cluster? Since I don't think we have access to the logs, we can't check for the exception listed in #434, but we'd like to make sure this is the issue before recreating Ingresses.
rramkumar1 commentedon Sep 12, 2018
Unfortunately, no. If you are able to update your Ingress and see the changes reflected in GCP, then you should be fine. Otherwise, you are most likely hitting this issue. Also note that this is only happening is GKE clusters above version 1.10.6
poor-bob commentedon Sep 13, 2018
I'm pulling my hair out trying to figure out why our ingresses suddenly stopped being fulfilled by the ingress controllers. Normally I've found a very reasonable explanation (Quotas, etc.), but this time I'm relatively sure we're running into this bug.
kubernetes master version: 1.10.6-gke.2
We've tried deleting every ingress and recreating them, to no avail. Is there a time period I should wait before recreating the ingresses? I waited roughly 5 minutes this first time.
rramkumar1 commentedon Sep 13, 2018
@poor-bob Email me your project name, cluster name and location of the cluster and I'll take a look. If you deleted and recreated every ingress I would think that you would not be running into this specific issue.
addisonbair commentedon Sep 13, 2018
@rramkumar1
I'm experiencing the same issue with 1.10.6-gke.2
I have disabled the default GKE loadbalancer-controller and installed this version JUST to see logs. Indeed I am experiencing this issue:
If I delete and recreate each and every ingress from my project, can I expect to get past this nil pointer dereference issue?
rramkumar1 commentedon Sep 13, 2018
@addisonbair Theoretically yes. Since you installed another instance to get logs, you should be able to find out if that indeed works for you.
addisonbair commentedon Sep 13, 2018
Not related to the nil pointer issue, but my default backend disappears (both the service and deployment) without a trace:
Is there any way I can debug this?
rramkumar1 commentedon Sep 13, 2018
@addisonbair Can you file a separate issue for that and explain how exactly you are using the script in deploy/glbc?
addisonbair commentedon Sep 13, 2018
Will do. ð
I believe I have a fix and in the process uncovered a possible bug with the yaml manifests.
Since I don't have access to the masters (GKE) I can't be completely sure, but it appears there is a conflict between the Addon-manager running on the master and the annotations on the objects within
deploy/glbc/yaml/default-http-backend.yaml. By changing the annotations toaddonmanager.kubernetes.io/mode: EnsureExistsfromaddonmanager.kubernetes.io/mode: Reconcile, the Addon-manager does not delete these objects.addisonbair commentedon Sep 13, 2018
@rramkumar1
After deleting all my Ingresses, I am unfortunately still seeing the NPE.
Is there a known working pre-release image that I can use?
Thank you!!
rramkumar1 commentedon Sep 13, 2018
@addisonbair We are in the process of building a patch with the fix and pushing it out. This will enable you to start testing the fix. Keep in mind that this does not mean it is released in GKE. You will still have to wait for an official GKE rollout and upgrade your cluster to get the fix.
Will let you know when the patch is ready to pull down.
addisonbair commentedon Sep 13, 2018
Awesome. Thank you!
addisonbair commentedon Sep 13, 2018
Just a quick update:
I managed to build an image from
masterand have successfully deployed to GKE (1.10.6-gke.2) without seeing the dreaded NPE. All ingresses are back up and operational.I'm happy to test a more formal image when it is ready. Thanks so much for the help!
8 remaining items
ericuldall commentedon Sep 24, 2018
@rramkumar1 Are you sure this fix is live with 1.10.7-gke.2? I got this response from GCP Support last week:
rramkumar1 commentedon Sep 24, 2018
@ericuldall I'm not sure why GCP support told you that. They may have gotten confused about something else. Do you not see 1.10.7-gke.2 as a viable version?
ericuldall commentedon Sep 24, 2018
I see it available, just unclear if the fix is actually deployed to that version or not.
rramkumar1 commentedon Sep 24, 2018
Yes, the fix is available in that version.
ericuldall commentedon Sep 24, 2018
Yes, I deployed it and my ingress was updated :D thanks for confirming!
bschwartz757 commentedon Sep 26, 2018
@rramkumar1 I have a cluster running on 1.10.6-gke.2 and I replaced one of the ingresses, then it got stuck in 'creating ingress'. I just found this thread this morning, and accordingly, deleted and then re-created the ingress but it's still showing up as 'creating ingress' in the GCP dashboard. Any ideas?
rramkumar1 commentedon Sep 26, 2018
@bschwartz757 You can upgrade to 1.10.7-gke.2. See above discussion
bschwartz757 commentedon Sep 26, 2018
@rramkumar1 ok..... anything that doesn't involve upgrading?
rramkumar1 commentedon Sep 26, 2018
@bschwartz757 Upgrading is the only supported way to get these kinds of fixes. If you don't want to upgrade, you can also run the script we have in deploy/. Note that this script is somewhat dangerous to run in production (and as a result, we don't officially support it) but it does allow you to modify the version of your ingress-gce controller without having to depend on GKE for upgrades
Arconapalus commentedon Jan 11, 2019
@rramkumar1 just letting you know that I also am running into this issue on 1.11.5-gke.5. The creating ingress is stuck and I have deleted and recreated the ingress. Should I delete node and cluster and recreate at 1.10.7.gke.2?
rramkumar1 commentedon Jan 11, 2019
@Arconapalus This issue is already fixed for that version so you might be running into a separate issue.
Can you please file a separate issue for this?
Arconapalus commentedon Jan 11, 2019
@rramkumar1 Yes I can.
#605
kdeng commentedon Jan 16, 2019
@rramkumar1 I am also experiencing this issue on 1.11.6-gke.2. When I look at events of ingress details, there is no message at all.
My ingress file is pretty simple as below.
rramkumar1 commentedon Jan 16, 2019
@kdeng Did you take a look at #605?
surykatka commentedon Jan 21, 2019
@rramkumar1 I'm having a similar issue to the one you have described in #605. I have sent you an e-mail with my setup but I'm also happy to continue the conversation online.