cilium: agent does not start on Linux 7.2, FnSetRetval probe fails in the verifier
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
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:
- Bump the vendored chart to 1.19.8.
- 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
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de cozystack/cozystack
-
triage/needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
cozystack/cozystack#4787 · 1 réaction ·
Les mainteneurs répondent en général sous 3 jours
-
kubernetes-nodes: raising minReplicas does not raise the MachineDeployment's replicas on upgradeOuvertetriage/needs-triage
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
cozystack/cozystack#4786 · 1 réaction ·
Les mainteneurs répondent en général sous 3 jours
-
triage/needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
cozystack/cozystack#4785 · 1 réaction ·
Les mainteneurs répondent en général sous 3 jours
-
triage/needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
cozystack/cozystack#4777 · 1 réaction ·
Les mainteneurs répondent en général sous 3 jours
-
triage/needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
cozystack/cozystack#4773 · 1 réaction ·
Les mainteneurs répondent en général sous 3 jours
Toutes les issues de cozystack/cozystack
Issues similaires
-
automation models
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
Bug pulumi/pulumi
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
stripe/stripe-cli#2130 ·
Les mainteneurs répondent en général sous 1 jour
-
Linux notifications: the default action's ' ' label shows as a blank button in xfce4-notifydOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
kovidgoyal/kitty#10625 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 6 jours