-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
kubelet sending invalid grpc header during plugin registration #109081
Comments
@travisghansen: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/sig storage |
@travisghansen I ran into this error in my use-case and debugged what's going on. I think the problem goes away with a recent enough I though I could start working on fixing this in kubelet. |
That would be awesome! Then I can finally do away with all the crazy workarounds. |
The nomad issue link you gave tried the approach I was talking about without luck it seems. I need take a closer look what's wrong... |
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 currently planning to use |
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 fix PR is pending approval |
What happened?
When registering a new
csi
driver thegrpc
client is sending the filepath of theuds
socket as thehost
/authority
header instead oflocalhost
. In practice almost allgrpc
/http2
servers outright reject this as invalid. Given that thegrpc-go
client was updated years ago I'm unclear why this problem still persists to this day :(kubelet logs look like this:
csi server logs look like this:
What did you expect to happen?
Registration to move along happily.
How can we reproduce it (as minimally and precisely as possible)?
simple instructions here: k3s-io/k3s#5346
Anything else we need to know?
Most
csi
drivers are written ingo
and thego
grpc
server simply ignores this non-compliant header, otherwise the issue would be far more prevalent.Kubernetes version
Every version up until current AFAIK.
Cloud provider
OS version
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered: