bug(server): a sandbox ends up Stopped after a supervisor pool rollout

Offen
#5,970 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
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
kubernetes, postgresql, rust

Rechercherichtung

The report is a suspected root cause, not a confirmed one: a sandbox ends up Stopped after a supervisor pool rollout, and the write path is not yet identified. Start from the expired-route recovery chain described in the body and the takeover logs from the e2e:kubernetes:shared-supervisor-ha lane, then reproduce with the psql record tree. Done means the writer is identified and guarded, which depends on the unresolved dependency on #4960 and the criterion c work in #5659.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

state:triage-needed

In the scale test behind #5659, one sandbox ended up permanently Stopped after a rolling restart of the supervisor pool. This is criterion c of #5659; the cause is not confirmed yet.

Strongest lead: the expired-route recovery chain. A delayed or capacity-blocked takeover leaves the route with a dead owner; after pool_recovery_timeout_secs (60s default) plus MEMBER_TTL the route expires, the runtime terminates the frozen workload, and the workload controller reports Suspended, which the gateway records as Stopped. That chain needs about 75s at default timings against the roughly 20s window in the report, so #4960 (supervisors reporting ready before they attach to the gateway) may compound it.

The rollout scenario in the exec-wait PR reports a known-Stopped sandbox separately instead of failing the test, so the lane doubles as a detector for this.

  • reproduce: psql record tree plus gateway takeover and expired-route logs from the e2e:kubernetes:shared-supervisor-ha lane
  • root-cause the writer and guard it
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.