bug(test): supervisors_spread_evenly_across_gateways does not converge on kind

Offen
#5,969 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
15/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
kubernetes, rust

Rechercherichtung

Start with the e2e test supervisors_spread_evenly_across_gateways and the e2e:kubernetes:shared-supervisor-ha lane, then read the gateway spread logic referenced in #5436 to see why redirects do not change supervisor_pool_member placement. Reproduce on a local kind cluster with rootless podman. Done when the test converges within 180s on kind or the root cause is documented and fixed.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

state:triage-needed

supervisors_spread_evenly_across_gateways fails on a local kind cluster (rootless podman): after restarting the supervisor pods one at a time, both members end up streaming to the same gateway replica and stay there past the 180s deadline.

Reproduced 3 of 3 runs in the e2e:kubernetes:shared-supervisor-ha lane and once on a fresh single-test deployment, with server behavior identical to main (the exec-wait branch changes no server placement code). The gateway logs show the spread mechanism firing, each replica redirecting one member to its peer, but the supervisor_pool_member records still converge on one gateway:

supervisor restarts: supervisors did not spread across gateways within 180s: {
    "openshell-supervisor-8597b47796-k8jn8": "openshell-fbc9c9f7f-xpmq4",
    "openshell-supervisor-8597b47796-pzpv4": "openshell-fbc9c9f7f-xpmq4",
}

The lane had no CI wiring before the exec-wait PR, so this test has little run history anywhere; it may also fail differently on the CI kind clusters.

  • the test passes, or the non-convergence is root-caused and fixed in the spread logic from #5436
Vorherrschende Sprache
Rust
Sterne
21.5k
Forks
2.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus NVIDIA/OpenShell

Alle Issues in NVIDIA/OpenShell

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.