[Bug] strataqwen38iq4xsv3 0.0.11 — engine executed ~15 s after reaching ready on every post-upgrade boot; market shows "Evicted"; reproduced on two Olares One units

オープン
#4,110 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

この issue はまだ評価されていません。

説明

bug

Please Provide the basic information of the app

App name (Required) strataqwen38iq4xsv3 (Qwen3.8-Flash-Next (Strata)) — installed version 0.0.11 (llm-init v1.7.26, engine docker.io/beclab/niko1221-strata:0.2.23-cuda13). Family strataqwen38swift / stratallmbasev3 share the same 0.0.11-wave llm-init v1.7.26 "prepare again" flow and are expected to behave the same on first boot after upgrade.

App URL in Olares Market (Required) https://market.olares.com/app/market.olares/strataqwen38iq4xsv3
Environment

  • Olares OS 1.12.8, Olares One (RTX 5090 Laptop 24 GB, 96 GB RAM), single node (olares).
  • Model: UD-IQ4_XS v31, four GGUF shards pinned to d96201194f103c906994f283f504209dc8d2a10c, 93,672,359,738 bytes — downloaded/intact since Nov 21, never re-fetched.
  • A second Olares One unit running the same app exhibits the same failure signature (same symptom onset after the 0.0.11 update; details on request).

Describe the bug

After the app was updated to 0.0.11 while it had a healthy week of runtime history, every app start ends the same way: the engine completes its (long) load, the pod reaches 3/3 Ready, and ~15 seconds later the Deployment is scaled down — with no crash, no OOM, no probe failure, restarts staying 0. The market record shows the death as "Evicted", implying preemption, although the kill is unmanned (no other app was starting).

What it is NOT (each exclusion is evidence-backed)

Candidate Excluded by
OOM / memory pressure pod restarts = 0, no OOMKilled ever recorded; engine load completes and serves
k8s probe death chart ships startupProbe.failureThreshold: 8640, WAIT_TIMEOUT: "86400" (24 h); restarts 0 rules out kubelet
Model files / weights the pinned v31 shards on disk since Nov 21 are byte-complete (size_checked full, phase complete); the app ran a healthy week on them
Another app preempting it ("Evicted") the instrumented Dec 6 kill happened with no user action and no incoming app; the 27B app was started at 12:51:23, after the 12:49:15 death, as a consequence
Hardware same machine served a full healthy week before, and has served continuously since Dec 6 17:23

To Reproduce

Timeline (instrumented unit, all UTC)

When Event Source
Nov 21 17:57:27–22:33 app (re)installed; pinned v31 four-shard d9620119… downloaded complete snapshot symlink mtimes (ls --full-time)
Nov 22 00:43:31 supervisor confirms engine healthy — engine_restart_state.last_confirmed_generation 1795308204565241225 /run/llm-init/progress_state.json
Nov 22 → Nov 29 healthy week of daily use user experience
Dec 3 14:59:46 0.0.11 lands: engine_restart generation 1796309986857725006 requested; model-spec.json rewritten 15:01 same state file
Dec 3 → Dec 6 17:23 generation never confirmed; every session dies at engine-load-complete + seconds; market records "Evicted" state file + market history + user log
Dec 6 11:54:32 host power-cycles (unrelated incident) kernel uptime
Dec 6 ~11:56 auto-resumed cold (empty page cache) → 53-min silent load engine logs captured
Dec 6 12:46:06 Deployment condition: ReplicaSet "…-6c9468c569" has successfully progressed Deployment status
Dec 6 12:46:27 re-verification completes: last_verify_at … ok=true (digest_checked: 0, size-level, seconds to run) state file
Dec 6 12:49:01 state flips to phase: ready (engine_cold_start_ms 4258430) state file
Dec 6 12:49:15.967 state file final shutdown flush; app-service writes an Update to the strata Deployment at the same second (managedFields time: 2026-12-06T12:49:15Z**)**; Deployment Available condition flips 12:49:16 → pod evicted state file mtime + Deployment managedFields/conditions
Dec 6 17:23:25 app resumed manually: model_download_finish at second zero (healed state survived on disk); ready in ~2–3 min; born-ready — the state file was NOT rewritten (mtime remains 12:49:15) llminit files
Dec 6 17:23 → now continuous service, 0 restarts, 3/3 Ready (verified every minute by external watchdog log) survival monitor log

Expected behavior

Mechanism (INFERRED — please confirm; offered with its evidence, not as fact)

  1. 0.0.11's own notes: "The first start after the upgrade prepares the model again*"*, *"*Rejects stale snapshot handoffs before preparation", "Moves runtime state to Common… existing Common configuration takes priority". OBSERVED: the upgrade issued an engine_restart generation that no engine start in the next three days ever confirmed.
  2. INFERRED: the upgrade left the live run-state inconsistent with the new supervisor's expectations, so every boot had to earn readiness through a prepare/verify flip; the flip (informer-driven — faster than the ~2-min app reconcile cycle) armed a fixed ~15 s fuse whose execution is the app-service Deployment scale-down stamped above. The market then records the death as "Evicted" even though it is unmanned.
  3. OBSERVED decisive control: the noon pod that died and the evening pod that lives are the same ReplicaSet / revision / byte-identical template. The only difference is that the state file had reached phase: ready in between — the evening pod was born ready, never flipped, and has never been touched since. Same template, different state, opposite fates.
  4. Consequence: each poisoning event (an upgrade) costs at least one sacrificial boot — the killed boot leaves behind the healed state that saves the next one.

⠀Why this may be widely experienced but rarely reported
The failure self-cures (first death leaves healed state; reinstall/update also re-triggers verification), and the app-service log window is only ~10 minutes, so the decision line that explains the kill is gone before any user can collect it. Users reinstall, and the trail disappears.

Additional context

Workaround currently in place

  • Simply: once started, do not disturb the app. No stop/start cycles, no launching another model app alongside — the long silent load (cold: up to ~75 min for 94 GB) is not death, and every disturbance during it restarts the toll from zero. A boot that is left alone reaches first answer and stays up.
  • This is why the failure survives in the wild: the app works only if nobody touches it, which users read as flakiness rather than as a bug with a fixed mechanism.

⠀Asks

  1. Confirm the mechanism and fix the loop: an engine_restart generation issued by an upgrade should be confirmed by the first successful engine load (or be made non-lethal). First-boot-after-upgrade should not end at ready + ~15 s.
  2. Make the kill diagnosable: persist the decision string on the app record (today only "Evicted", which misleads toward preemption), and preserve app-service decision logs for kill/stop events beyond the ~10-minute retention.
  3. Expose load progress of the post-upgrade re-prepare in the GUI/Model Console so a 1-hour silent load is not mistaken for a dead app.
  4. Second affected Olares One unit and full monitor logs (survival ticks, controller drains, progress_state.json history) available on request.
主要言語
Go Template
スター
56
フォーク
44
平均マージ
10時間 45分
マージ済み PR(30日)
209

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

beclab/apps のほかの issue

beclab/apps の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。