Skip to content
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

Failed to reconcile resource could not reconcile istio #873

Open
stephanie-tavares opened this issue Oct 22, 2022 · 5 comments
Open

Failed to reconcile resource could not reconcile istio #873

stephanie-tavares opened this issue Oct 22, 2022 · 5 comments

Comments

@stephanie-tavares
Copy link

Hello guys,

I have a problem with istio using ingressgateway. I received this error log:

"timed out waiting for the condition\ncould not execute AfterUpdate func\ngithub.com/banzaicloud/istio-operator/pkg/k8sutil.Reconcile\n\t/go/src/github.com/banzaicloud/istio-operator/pkg/k8sutil/resource.go:153\ngithub.com/banzaicloud/istio-operator/pkg/resources/istiod.(*Reconciler).Reconcile\n\t/go/src/github.com/banzaicloud/istio-operator/pkg/resources/istiod/istiod.go:113\ngithub.com/banzaicloud/istio-operator/pkg/controller/istio.(*ReconcileIstio).reconcile\n\t/go/src/github.com/banzaicloud/istio-operator/pkg/controller/istio/istio_controller.go:355\ngithub.com/banzaicloud/istio-operator/pkg/controller/istio.(*ReconcileIstio).Reconcile\n\t/go/src/github.com/banzaicloud/istio-operator/pkg/controller/istio/istio_controller.go:239\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.2/pkg/internal/controller/controller.go:235\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.2/pkg/internal/controller/controller.go:209\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.2/pkg/internal/controller/controller.go:188\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\t/go/pkg/mod/k8s.io/apimachinery@v0.18.6/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\t/go/pkg/mod/k8s.io/apimachinery@v0.18.6/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/pkg/mod/k8s.io/apimachinery@v0.18.6/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/go/pkg/mod/k8s.io/apimachinery@v0.18.6/pkg/util/wait/wait.go:90\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1357\nfailed to reconcile resource\ncould not reconcile istio"

EKS version: 21
istio version: 1.7.8

The pods was in looping shutdown less than 2 minutes: "failed to reconcile resource could not reconcile istio"

Troubleshooting:
We change the HPA config
reboot all the pods
disable and enable the ingress-gateway / istio-gateway

Could you please, help me about it?

@Laci21
Copy link
Member

Laci21 commented Oct 23, 2022

Hi!

What's your Istio operator version? How did you enable an ingressgateway, through the Istio CR or the MeshGateway CR? Could you pls share your Istio and/or MeshGateway CR yamls as well?

Thanks!

@stephanie-tavares
Copy link
Author

@Laci21 hello,

istio version: 1.7.8, using CR.

I've attached the file here because it’s too large:

istio-operator.yml.zip

@Laci21
Copy link
Member

Laci21 commented Oct 24, 2022

Hi,

I'm looking for the Istio operator's version, not the Istio version. So docker image version of the istio-operator pod.

CR status looks good, ingress gw pods are up and running fine?

@stephanie-tavares
Copy link
Author

Sure,

Istio operator's version: /banzaicloud/istio-operator:0.7.8

At the moment yes, are running fine. I'm try to understand what's happening.

@Laci21
Copy link
Member

Laci21 commented Oct 26, 2022

Based on the error log it seems to be related to istiod deployment/pods. Please check that the istiod deployment and pods are up successfully as they should when you see this error.

There should be a program argument as well for the Istio operator to enable debug logging. With that you might see more (devel-mode=true maybe).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants