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
Use of outdated OpenTelemetry Go package #106536
Comments
/sig instrumentation |
/area dependency |
This depends on etcd being bumped to a version that includes etcd-io/etcd#13361 (funnily enough, this issue was mentioned on etcd-io/etcd#13361 (comment)). |
/area code-organization I believe this is by design due to API incompatibilities and limitations; we cannot use the latest version of the package. |
/triage accepted |
@ehashman I would like to collaborate to change the OpenTelemetry package to a stable version in k8s.io/apiserver and k8s.io/component-base Could you please give me some direction what steps can I take to find out what will be appropriate version to use at place of |
This needs a release of etcd before we can update the opentelemetry dependency. See etcd-io/etcd#13361 (comment) |
@NikhilSharmaWe as @dashpole mentioned, please update |
/assign |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
Hi developers Is this work still on going? |
@ityuhui This is still not fixed; it is blocked by upgrading the etcd version to the 3.6.x series |
Thank you @mx-psi ! May I know the etcd upgrade progress ? ( e.g. an issue or PR link ) I'd like to contribute since I need this upgrade for OpenTelemetry in Kubernetes repo to resolve some security vulnerabilities. |
I am afraid my knowledge ends here :) Maybe @dashpole can help answer that? |
etcd-io/etcd#13538 tracks the release, and references "data inconsistency" as blocking the release, which I believe is etcd-io/etcd#14039. That is part of etcd-io/etcd#14138, which is (I think) where work is being done right now |
any workaround ? |
It seems etcd just backported and merged otel 1.x support in 3.5 : etcd-io/etcd#14312 I believe we can try and make this work without waiting for etcd 3.6! |
Oh thank you, I was already head down on the same track. I'll try and help with the PR if I can. |
What happened?
Importing Kubernetes'
k8s.io/apiserver
module together with the latest version ofgo.opentelemetry.io/otel
results in a failed build due to breaking changes in the OpenTelemetry Go library. This also happens withk8s.io/component-base
.The solution is to bump the opentelemetry dependencies to a stable version.
What did you expect to happen?
k8s.io/apiserver
should be usable in a module that uses a stable version ofgo.opentelemetry.io/otel
How can we reproduce it (as minimally and precisely as possible)?
A simple way to reproduce it is to create a new Go module via
go mod init example.com/kube-issue
that depends on the latest version of bothk8s.io/apiserver
and some newgo.opentelemetry.io/otel
module, e.g.go.opentelemetry.io/otel/exporters/otlptrace/otlptracegrpc
.main.go contents
If you try to do
go mod tidy
you can see a bunch of errors (which come from breaking changes on the OpenTelemetry Go libraries).go mod tidy
outputAnything else we need to know?
Probably @dashpole is the right person to address this (but I am happy to help with it!)
Kubernetes version
Any version that includes #94942, that is,
v0.22.0
or later.Cloud provider
n/a
OS version
n/a
Install tools
Container runtime (CRI) and and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered: