Mirantis / Mirantis/cri-dockerd

error reading server preface: http2: frame too large

Open
#422 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.4k
Forks
356
Avg merge
4d 4h
Merged PRs (30d)
3

Description

kubelet v 1.31.4

[root@test164 src]# docker version
Client: Docker Engine - Community
Version: 26.1.3
API version: 1.45
Go version: go1.21.10
Git commit: b72abbb
Built: Thu May 16 08:34:39 2024
OS/Arch: linux/amd64
Context: default

[root@test164 src]# cri-dockerd --version
cri-dockerd 0.3.15 (c1c566e)

when i start kubelet , the error is like this :

c 16 22:17:27 test164 systemd[1]: Started Kubernetes Kubelet.
Dec 16 22:17:27 test164 kubelet[5261]: Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Dec 16 22:17:27 test164 kubelet[5261]: I1216 22:17:27.392625 5261 server.go:491] "Kubelet version" kubeletVersion="v1.31.4"
Dec 16 22:17:27 test164 kubelet[5261]: I1216 22:17:27.392830 5261 server.go:493] "Golang settings" GOGC="" GOMAXPROCS="" GOTRACEBACK=""
Dec 16 22:17:27 test164 kubelet[5261]: I1216 22:17:27.393057 5261 server.go:934] "Client rotation is on, will bootstrap in background"
Dec 16 22:17:27 test164 kubelet[5261]: I1216 22:17:27.394211 5261 certificate_store.go:143] Loading cert/key pair from ("/var/lib/kubelet/pki/kubelet.crt", "/var/lib/kubelet/pki/kubelet.key").
Dec 16 22:17:27 test164 kubelet[5261]: I1216 22:17:27.396270 5261 dynamic_cafile_content.go:160] "Starting controller" name="client-ca-bundle::/etc/kubernetes/pki/ca.pem"
Dec 16 22:17:27 test164 kubelet[5261]: W1216 22:17:27.397307 5261 logging.go:55] [core] [Channel #1 SubChannel #2]grpc: addrConn.createTransport failed to connect to {Addr: "/var/run/docker.sock", ServerName: "localhost", }. Err: connection error: desc = "error reading server preface: http2: frame too large"
Dec 16 22:17:27 test164 kubelet[5261]: E1216 22:17:27.397472 5261 run.go:72] "command failed" err="failed to run Kubelet: validate service connection: validate CRI v1 runtime API for endpoint "unix:///var/run/docker.sock": rpc error: code = Unavailable desc = connection error: desc = "error reading server preface: http2: frame too large""
Dec 16 22:17:27 test164 systemd[1]: kubelet.service: Main process exited, code=exited, status=1/FAILURE
Dec 16 22:17:27 test164 systemd[1]: kubelet.service: Failed with result 'exit-code'.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file, test, or entry point is identified in the report. Start by reproducing the kubelet startup failure with kubelet v1.31.4, cri-dockerd 0.3.15, Docker 26.1.3, and the /var/run/docker.sock endpoint. Done means identifying the cause of the CRI connection failure and verifying a fix or documented compatible configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go, kubernetes
Domain
infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.