Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

cilium: agent does not start on Linux 7.2, FnSetRetval probe fails in the verifier

Ouverte Adaptée aux débutants
#4,776 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 3 jours

Personne n'a encore pris cette issue.

Évaluation

Difficulté
2/5
Temps estimé
1-3 heures
Accessibilité débutants
67/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
helm, kubernetes, linux
Domaine
infrastructure

Piste de recherche

Commencez par packages/system/cilium/charts/cilium/Chart.yaml (ligne 95 au 9620be0), qui fige le chart Cilium vendored à 1.19.5, et vérifiez comment les versions sont mises à jour dans packages/system/cilium avant d'éditer. Option 1 : passer le chart à 1.19.8 (backport de cilium/cilium#48376), où la probe FnSetRetval CGroupSock disparaît de probes.go. C'est terminé lorsque l'agent vendored ne charge plus cette probe et démarre sur le kernel 7.2. L'option 2 consiste à intégrer la branche existante #3343 (1.20.2), mais pesez d'abord la réserve ouverte cilium/cilium#48778 concernant socket-LB/BTF.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

triage/needs-triage

Cilium 1.19.5 does not start on Linux 7.2, and that is the version main and v1.7.0-alpha.3 ship (packages/system/cilium/charts/cilium/Chart.yaml:95 at 9620be0). The agent dies during feature probing:

level=fatal msg="failed to probe helper" error="detect support for FnSetRetval for program type CGroupSock: load program: invalid argument: 0: (85) call bpf_set_retval#187: R1 is not a scalar" progType=CGroupSock helper=FnSetRetval

The probe loads a small CGroupSock program that calls bpf_set_retval. Since torvalds/linux@b1f7f67b74c2e the verifier requires a scalar in that argument, so the load fails. The agent treats a failed probe as fatal, and the node never gets a CNI. At v1.19.5 the probe is in pkg/datapath/linux/probes/probes.go, lines 526 and 543. Upstream issue: cilium/cilium#48016.

Upstream dropped the probe and checks the enum with bpf_core_enum_value_exists() instead (part of cilium/cilium#47737). The backports are cilium/cilium#48376 for v1.19 and cilium/cilium#48213 for v1.20. By the compare API, the v1.19 commit is in v1.19.8 and not in v1.19.7, and the v1.20 commit is in v1.20.2 and not in v1.20.1. In v1.19.8 the FnSetRetval probe is gone from probes.go.

Reproduced on Kairos Hadron v0.5.3 (kernel 7.2.6, arm64) with v1.7.0-alpha.3. On the same node, an image built from the #3343 branch (Cilium 1.20.2) came up.

There are two ways to fix it:

  1. Bump the vendored chart to 1.19.8.
  2. Land #3343, which moves to 1.20.2.

For the second one, cilium/cilium#48778 is still open: on 1.20.2, socket-LB programs fail CO-RE relocation on kernels without BTF, and new pods get no networking. It is labelled for v1.20 and main, not for v1.19.

One more thing from the same install. After the failed upgrade, the cilium HelmRelease was stuck in pending-upgrade. It only moved after the Helm release secret of the stuck revision was deleted by hand.

Langage dominant
Go
Étoiles
2.2k
Forks
209
Merge moyen
3 j 18 h
PR mergées (30 j)
241

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de cozystack/cozystack

Toutes les issues de cozystack/cozystack

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.