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

Aberta
#5,970 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
15/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
kubernetes, postgresql, rust

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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
Linguagem predominante
Rust
Estrelas
21.5k
Forks
2.1k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de NVIDIA/OpenShell

Todas as issues de NVIDIA/OpenShell

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.