Repository navigation
Run ipfs/kubo v0.43.2 on every content and bootstrap node - #47
Conversation
v0.43.2 is v0.43.1 on go-libp2p v0.52.0, which fixes the inbound-slot leak. It replaces our own v0.43.1 rebuild on v0.52.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude reviewThis is a three-file change: it swaps the kubo image for content and bootstrap from the hand-built I did not verify that No issues found. claude-sonnet-5-5 at high effort · requested by TakGN · re-run with |
Part of libp2p/go-libp2p#3564. Closes the loop on ipfs/kubo#11480. Follows #41.
Why
kubo v0.43.2 (2026-11-24) is the release we asked for in ipfs/kubo#11480: v0.43.1 moved to go-libp2p v0.52.0, which fixes the inbound-slot leak. Its
go.modhas noreplacefor go-libp2p any more, and the release notes describe our leak ("Nodes no longer stop accepting inbound connections").Since #41 every content and bootstrap kubo has run our own rebuild of v0.43.1 on v0.52.0 (
ghcr.io/ipni/kubo@sha256:71d7b748…, amd64, pushed by hand). At about 23 h on it (2026-11-18 10:14 UTC), all seven read 0–1 leaked slots. Before the fix, they leaked 270–470 a day on the bootstrappers and ~750 on content, at the same traffic, CPU and goroutines. This moves us back to the official image, so we no longer depend on a hand-built one.What changes for the nodes
The same go-libp2p (v0.52.0), quic-go (0.64.1) and Go (1.26.5). Against our build, v0.43.2's
go.modalso raises some indirect dependencies that ourgo mod tidyleft alone. The largest are the pion WebRTC libraries (ice 4.0 → 4.4, dtls 3.1.5 → 3.1.16), behind webrtc-direct, which carries 0–40 connections per node. The rest are golang.org/x/* and small bumps. The kubo code is the same apart from tests and the changelog.Change
roles/content/defaults/main.yml:content_kubo_image→ipfs/kubov0.43.2, multi-arch indexsha256:31b965f2…. The comment records what ran before it.roles/bootstrap/defaults/main.yml:bootstrap_default_kubo_image→ the same digest.README.md: the Images note and the pinned-version note say v0.43.2.Checked
ipfs/kubo:v0.43.2index on Docker Hub (amd64, arm64, arm/v7), fromdocker buildx imagetools inspect. The image was not pulled or run locally.scripts/render-manifests.ymlpluskubectl kustomize: bothk8s/contentandk8s/bootstraprenderimage: ipfs/kubo@sha256:31b965f2…. Nokubo_imageoverride is left inhost_varsorgroup_vars.--syntax-checkoncontent.ymlandbootstrap.yml,yamllint .,ansible-linton both defaults files.After merging
Merging deploys nothing; CI does not run
content.ymlorbootstrap.yml. Each run restarts that box's kubo(s). Both playbooks go one box at a time (production_rollout), so:Then check with the hub Prometheus that every kubo is on the new image and the leak gauge stays at 0–1. The
*InboundSlotsLeakingalerts in ipni/infra stay as a guard.Rollback: set both defaults back to
ghcr.io/ipni/kubosha256:71d7b748…and re-run.Not in this PR: the release notes say raised
System.ConnsInboundlimits can go. Ours (content 65536 from #10, bootstrap 262144 from #11) are left as they are; lowering them is a separate decision.🤖 Generated with Claude Code