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

jagger-operator 1.32.0 fails to start successfully #351

Closed
ayaranga opened this issue Apr 11, 2022 · 24 comments · Fixed by adfinis/helm-charts#733
Closed

jagger-operator 1.32.0 fails to start successfully #351

ayaranga opened this issue Apr 11, 2022 · 24 comments · Fixed by adfinis/helm-charts#733
Labels
bug Something isn't working

Comments

@ayaranga
Copy link

Describe the bug
Trying to install jagger-operator 1.32.0 using jaeger-operator-2.30.0 helm chart. Following error is seen in the jaeger-operator POD logs:

2022-04-11T01:33:17.406Z	ERROR	controller-runtime.manager.controller.jaeger	Could not wait for Cache to sync	{"reconciler group": "jaegertracing.io", "reconciler kind": "Jaeger", "error": "failed to wait for jaeger caches to sync: timed out waiting for cache to be synced"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:195
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:221
sigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startRunnable.func1
	/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/manager/internal.go:696
2022-04-11T01:33:17.408Z	ERROR	controller-runtime.manager	error received after stop sequence was engaged	{"error": "failed to wait for deployment caches to sync: timed out waiting for cache to be synced"}
2022-04-11T01:33:17.408Z	ERROR	controller-runtime.manager	error received after stop sequence was engaged	{"error": "failed to wait for jaeger caches to sync: timed out waiting for cache to be synced"}
time="2022-04-11T01:33:17Z" level=fatal msg="open /tmp/k8s-webhook-server/serving-certs/tls.crt: no such file or directoryManager exited non-zero"

To Reproduce
Steps to reproduce the behavior:

  1. Install jaeger-operator using helm
     git checkout jaeger-operator-2.30.0
     cd charts/jaeger-operator
     helm install jaeger-operator .  --set rbac.clusterRole=true
    
  2. Check the jaeger-operator logs
  export POD=$(kubectl get pods -l app.kubernetes.io/instance=jaeger-operator -lapp.kubernetes.io/name=jaeger-operator --namespace default --output name)
  kubectl logs $POD --namespace=default

Expected behavior
Expected to see no errors in the jaeger-operator logs.

Screenshots
NA

Version (please complete the following information):

  • OS: [e.g. Linux] Linux
  • Jaeger version: [e.g. 1.8] NA
  • Deployment: [e.g. bare metal, Docker, Kubernetes, ...] Kubernetes (kind version v0.11.1 go1.16.4 linux/amd64)

What troubleshooting steps did you try?
Not found any relevant troubleshooting steps in https://www.jaegertracing.io/docs/latest/troubleshooting/ for the error seen above.
Tried to install using jaeger-operator.yaml file specified at https://www.jaegertracing.io/docs/1.32/operator/#installing-the-operator-on-kubernetes. The operator comes up successfully. Issue is seen only when using the helm chart.

Additional context
The same steps work for installing jaeger-operator 1.30.0 using jaeger-operator-2.29.0 helm chart.

@ayaranga ayaranga added the bug Something isn't working label Apr 11, 2022
@ayaranga ayaranga changed the title jagger-operator 1.32.0 failing to start successfully jagger-operator 1.32.0 fails to start successfully Apr 11, 2022
@ayaranga
Copy link
Author

@LP0101, checking with you as you updated the helm chart for 1.32.0. Did you face the above issue? If so, can you please share the steps for resolution.

@LP0101
Copy link
Contributor

LP0101 commented Apr 11, 2022

Looks like there was an issue when I tested the upgrade, it appears to be broken for me as well.

I'll try and resolve the issues, see if I can spot what's actually going wrong. Will update the thread if I figure it out

@ayaranga
Copy link
Author

Thanks @LP0101 . Hope the templates also would be updated to have certmanager and webhook changes required for 1.32.0

@ayaranga
Copy link
Author

@LP0101 Any update on this?

@AlKapkone
Copy link

Hello, I've got the same issue. Any updates on this?

@stevehipwell
Copy link
Contributor

The CRD in the chart is very old and the chart hasn't been updated to use cert-manager, as is required by the new CRD. I don't get who approved this release?

@NicolasKarnick
Copy link

Any news on this @LP0101 ?

@rafilkmp3
Copy link

+1

@AlKapkone
Copy link

Any updates?

@bhargavmg
Copy link

Still facing this issue. Any updates or anyone managed to resolve this ?

ayaranga added a commit to verrazzano/verrazzano that referenced this issue Apr 21, 2022
- Add helm chart for Jaeger Operator
- Add Jaeger Operator to Verrazzano custom resource
- Add install/upgrade/uninstall of Jaeger Operator
- Add Jaeger Operator as an optional component and disabled by default
- Add acceptance tests for Jaeger Operator

Note that jaeger-operator does not come up successfully due to
jaegertracing/helm-charts#351. Also
jaeager-operator image is not yet available in ghcr.io/verrazzano repo.
@daniltreshchev
Copy link

any update? I've got the same issue

@dimitarshenkov
Copy link

dimitarshenkov commented May 10, 2022

same, its broken

@JohnFrampton
Copy link

Same for me.

@scDisorder
Copy link

Same

@avishefi
Copy link

Same for me. Is there an expected update schedule? Looks like the kustomize manifests are up to date due to Kubebuilder but the Helm chart for jaeger-operator fell behind.

@djsly
Copy link

djsly commented May 27, 2022

any maintainer for this chart ? have we reached a point that this chart just reached its end of life ?

@Oceanswave
Copy link

Any update? Is Jaeger dead?

@avishefi
Copy link

avishefi commented Jun 6, 2022

@Oceanswave work is under way:

@czomo
Copy link
Contributor

czomo commented Jun 13, 2022

This should be resolved now. Check 2.32.2 version of the helm chart. Before that look at prerequisites. Additional compability matrix here

@Oceanswave
Copy link

@czomo Thank you!

@ayaranga
Copy link
Author

Thanks @czomo. It is working fine now. I have a question regarding the compatibility. Can we use the 2.32.2 helm chart for installing jaeger-operator 1.32.0 as well? I tried the following and it seemed to work fine. Looking for a confirmation for the same.

helm install jaeger-operator jaegertracing/jaeger-operator --set rbac.clusterRole=true --set image.tag=1.32.0

@czomo
Copy link
Contributor

czomo commented Jun 16, 2022

@ayaranga Despite fact it may work i don’t recommend it. It is untestested and you would need to match CRD to corresponding version of operator. If you want to do it or your own please adapt it to Crd whatever version you want.

@ayaranga
Copy link
Author

@czomo Got it, thanks. So, there is no helm-chart version currently available that supports jaeger-operator 1.32.0. Are there any plans to patch 2.31.0 to make it work with 1.32.0?

@czomo
Copy link
Contributor

czomo commented Jun 23, 2022

@czomo Got it, thanks. So, there is no helm-chart version currently available that supports jaeger-operator 1.32.0. Are there any plans to patch 2.31.0 to make it work with 1.32.0?

This is question for maintainers tho, in my opinion there is no sense to patch it when 1.35 is out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.